<dd><code><ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../Nameable.html"title="interface in org.bukkit">Nameable</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="../Nameable.html"title="interface in org.bukkit">Nameable</a></span></div>
<divclass="block">Represents a captured state of a banner.</div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addPattern(org.bukkit.block.banner.Pattern)"class="member-name-link">addPattern</a><wbr>(<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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a> pattern)</code></div>
<divclass="block">Adds a new pattern on top of the existing
patterns</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="../DyeColor.html"title="enum class in org.bukkit">DyeColor</a></code></div>
<divclass="block">Returns the base color for this banner</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a></code></div>
<divclass="block">Returns the pattern at the specified index</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a>></code></div>
<divclass="block">Returns the number of patterns on this
banner</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setBaseColor(org.bukkit.DyeColor)"class="member-name-link">setBaseColor</a><wbr>(<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="../DyeColor.html"title="enum class in org.bukkit">DyeColor</a> color)</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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a> pattern)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setPatterns(java.util.List)"class="member-name-link">setPatterns</a><wbr>(<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/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a>> patterns)</code></div>
<divclass="block">Sets the patterns used on this banner</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.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.Nameable">Methods inherited from interface org.bukkit.<ahref="../Nameable.html"title="interface in org.bukkit">Nameable</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://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="../DyeColor.html"title="enum class in org.bukkit">DyeColor</a></span> <spanclass="element-name">getBaseColor</span>()</div>
<divclass="block">Returns the base color for this banner</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setBaseColor</span><wbr><spanclass="parameters">(<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="../DyeColor.html"title="enum class in org.bukkit">DyeColor</a> color)</span></div>
<divclass="block">Sets the base color for this banner.
<b>Only valid for shield pseudo banners, otherwise base depends on block
type</b></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>color</code> - the base color</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getPatterns()">
<h3>getPatterns</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://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/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a>></span> <spanclass="element-name">getPatterns</span>()</div>
<divclass="block">Returns a list of patterns on this banner</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setPatterns</span><wbr><spanclass="parameters">(<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/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a>> patterns)</span></div>
<divclass="block">Sets the patterns used on this banner</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>patterns</code> - the new list of patterns</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">addPattern</span><wbr><spanclass="parameters">(<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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a> pattern)</span></div>
<divclass="block">Adds a new pattern on top of the existing
patterns</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>pattern</code> - the new pattern to add</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getPattern(int)">
<h3>getPattern</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://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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a></span> <spanclass="element-name">getPattern</span><wbr><spanclass="parameters">(int i)</span></div>
<divclass="block">Returns the pattern at the specified index</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>i</code> - the index</dd>
<dt>Returns:</dt>
<dd>the pattern</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="removePattern(int)">
<h3>removePattern</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://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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a></span> <spanclass="element-name">removePattern</span><wbr><spanclass="parameters">(int i)</span></div>
<divclass="block">Removes the pattern at the specified index</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://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="banner/Pattern.html"title="class in org.bukkit.block.banner">Pattern</a> pattern)</span></div>
<divclass="block">Sets the pattern at the specified index</div>