MCPcopy Create free account
hub / github.com/Teneted/Tenet / setLine

Method setLine

src/main/java/org/bukkit/block/Sign.java:41–41  ·  view source on GitHub ↗

Sets the line of text at the specified index. For example, setLine(0, "Line One") will set the first line of text to "Line One". @param index Line number to set the text at, starting from 0 @param line New text to set at the specified index @throws IndexOutOfBoundsException If the index is out

(int index, @NotNull String line)

Source from the content-addressed store, hash-verified

39 * @throws IndexOutOfBoundsException If the index is out of the range 0..3
40 */
41 public void setLine(int index, @NotNull String line) throws IndexOutOfBoundsException;
42
43 /**
44 * Marks whether this sign can be edited by players.

Callers

nothing calls this directly

Implementers 1

CraftSignsrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected