<dd><code><ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a></code>, <code><ahref="../material/Colorable.html"title="interface in org.bukkit.material">Colorable</a></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><ahref="TileState.html"title="interface in org.bukkit.block">TileState</a></code></dd>
extends <ahref="TileState.html"title="interface in org.bukkit.block">TileState</a>, <ahref="../material/Colorable.html"title="interface in org.bukkit.material">Colorable</a></span></div>
<divclass="block">Represents a captured state of either a SignPost or a WallSign.</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="deprecation-comment">in favour of <ahref="#line(int)"><code>line(int)</code></a></div>
</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[]</code></div>
<divclass="block">Gets whether this sign has glowing text.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> line)</code></div>
<divclass="block">Sets the line of text at the specified index.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a>></code></div>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> line)</code></div>
<divclass="deprecation-comment">in favour of <ahref="#line(int,net.kyori.adventure.text.Component)"><code>line(int, net.kyori.adventure.text.Component)</code></a></div>
</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.block.BlockState">Methods inherited from interface org.bukkit.block.<ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.material.Colorable">Methods inherited from interface org.bukkit.material.<ahref="../material/Colorable.html"title="interface in org.bukkit.material">Colorable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.block.TileState">Methods inherited from interface org.bukkit.block.<ahref="TileState.html"title="interface in org.bukkit.block">TileState</a></h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a>></span> <spanclass="element-name">lines</span>()</div>
<divclass="block">Gets all the lines of text currently on this sign.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>Array of Strings containing each line of text</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="line(int)">
<h3>line</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></span> <spanclass="element-name">line</span><wbr><spanclass="parameters">(int index)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></span></div>
<divclass="block">Gets the line of text at the specified index.
<p>
For example, getLine(0) will return the first line of text.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>index</code> - Line number to get the text from, starting at 0</dd>
<dt>Returns:</dt>
<dd>Text on the given line</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></code> - Thrown when the line does not exist</dd>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> line)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></span></div>
<divclass="block">Sets the line of text at the specified index.
<p>
For example, setLine(0, "Line One") will set the first line of text to
"Line One".</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>index</code> - Line number to set the text at, starting from 0</dd>
<dd><code>line</code> - New text to set at the specified index</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></code> - If the index is out of the range 0..3</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getLines()">
<h3>getLines</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[]</span> <spanclass="element-name">getLines</span>()</div>
<divclass="deprecation-comment">in favour of <ahref="#lines()"><code>lines()</code></a></div>
</div>
<divclass="block">Gets all the lines of text currently on this sign.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>Array of Strings containing each line of text</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getLine(int)">
<h3>getLine</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getLine</span><wbr><spanclass="parameters">(int index)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></span></div>
<divclass="deprecation-comment">in favour of <ahref="#line(int)"><code>line(int)</code></a></div>
</div>
<divclass="block">Gets the line of text at the specified index.
<p>
For example, getLine(0) will return the first line of text.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>index</code> - Line number to get the text from, starting at 0</dd>
<dt>Returns:</dt>
<dd>Text on the given line</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></code> - Thrown when the line does not exist</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> line)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></span></div>
<divclass="deprecation-comment">in favour of <ahref="#line(int,net.kyori.adventure.text.Component)"><code>line(int, net.kyori.adventure.text.Component)</code></a></div>
</div>
<divclass="block">Sets the line of text at the specified index.
<p>
For example, setLine(0, "Line One") will set the first line of text to
"Line One".</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>index</code> - Line number to set the text at, starting from 0</dd>
<dd><code>line</code> - New text to set at the specified index</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IndexOutOfBoundsException.html"title="class or interface in java.lang"class="external-link">IndexOutOfBoundsException</a></code> - If the index is out of the range 0..3</dd>