<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="../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>
<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="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">Get the integrity of this structure.</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="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">Get the metadata function this structure block will perform when
activated.</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="structure/Mirror.html"title="enum class in org.bukkit.block.structure">Mirror</a></code></div>
<divclass="block">How this structure is mirrored.</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a></code></div>
<divclass="block">The relative position of the structure outline based on the position of
the structure block.</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="structure/StructureRotation.html"title="enum class in org.bukkit.block.structure">StructureRotation</a></code></div>
<divclass="block">The seed used to determine how many blocks are removed upon loading of
this structure.</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="block">The name of this structure.</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a></code></div>
<divclass="block">The distance to the opposite corner of this structure.</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="structure/UsageMode.html"title="enum class in org.bukkit.block.structure">UsageMode</a></code></div>
<divclass="block">Get the <ahref="structure/UsageMode.html"title="enum class in org.bukkit.block.structure"><code>UsageMode</code></a> of this structure block.</div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setAuthor(java.lang.String)"class="member-name-link">setAuthor</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> author)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setAuthor(org.bukkit.entity.LivingEntity)"class="member-name-link">setAuthor</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="../entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> livingEntity)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setMetadata(java.lang.String)"class="member-name-link">setMetadata</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> metadata)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setMirror(org.bukkit.block.structure.Mirror)"class="member-name-link">setMirror</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="structure/Mirror.html"title="enum class in org.bukkit.block.structure">Mirror</a> mirror)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setRelativePosition(org.bukkit.util.BlockVector)"class="member-name-link">setRelativePosition</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a> vector)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setRotation(org.bukkit.block.structure.StructureRotation)"class="member-name-link">setRotation</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="structure/StructureRotation.html"title="enum class in org.bukkit.block.structure">StructureRotation</a> rotation)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setStructureName(java.lang.String)"class="member-name-link">setStructureName</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setStructureSize(org.bukkit.util.BlockVector)"class="member-name-link">setStructureSize</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a> vector)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setUsageMode(org.bukkit.block.structure.UsageMode)"class="member-name-link">setUsageMode</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="structure/UsageMode.html"title="enum class in org.bukkit.block.structure">UsageMode</a> mode)</code></div>
<divclass="block">Set the <ahref="structure/UsageMode.html"title="enum class in org.bukkit.block.structure"><code>UsageMode</code></a> of this structure block.</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.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="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">getStructureName</span>()</div>
<divclass="block">The name of this structure.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setStructureName</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</span></div>
<divclass="block">Set the name of this structure. This is case-sensitive. The name of the
structure in the <ahref="structure/UsageMode.html#SAVE"><code>UsageMode.SAVE</code></a> structure block MUST match the
name within the <ahref="structure/UsageMode.html#CORNER"><code>UsageMode.CORNER</code></a> block or the size calculation
will fail.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>name</code> - the case-sensitive name of this structure</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getAuthor()">
<h3>getAuthor</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getAuthor</span>()</div>
<divclass="block">Get the name of who created this structure.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the name of whoever created this structure.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setAuthor</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> author)</span></div>
<divclass="block">Set the name of whoever created this structure.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>author</code> - whoever created this structure (not empty)</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setAuthor</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="../entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> livingEntity)</span></div>
<divclass="block">Set the name of whoever created this structure using a
<ahref="../entity/LivingEntity.html"title="interface in org.bukkit.entity"><code>LivingEntity</code></a>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>livingEntity</code> - the entity who created this structure</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getRelativePosition()">
<h3>getRelativePosition</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a></span> <spanclass="element-name">getRelativePosition</span>()</div>
<divclass="block">The relative position of the structure outline based on the position of
the structure block. Maximum allowed distance is 48 blocks in any
direction.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a Location which contains the relative distance this structure is
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setRelativePosition</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a> vector)</span></div>
<divclass="block">Set the relative position from the structure block. Maximum allowed
distance is 48 blocks in any direction.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>vector</code> - the <ahref="../util/BlockVector.html"title="class in org.bukkit.util"><code>BlockVector</code></a> containing the relative origin
coordinates of this structure.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getStructureSize()">
<h3>getStructureSize</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a></span> <spanclass="element-name">getStructureSize</span>()</div>
<divclass="block">The distance to the opposite corner of this structure. The maximum
structure size is 48x48x48. When a structure has successfully been
calculated (i.e. it is within the maximum allowed distance) a white
border surrounds the structure.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a <ahref="../util/BlockVector.html"title="class in org.bukkit.util"><code>BlockVector</code></a> which contains the total size of the
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setStructureSize</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="../util/BlockVector.html"title="class in org.bukkit.util">BlockVector</a> vector)</span></div>
<divclass="block">Set the maximum size of this structure from the origin point. Maximum
allowed size is 48x48x48.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>vector</code> - the <ahref="../util/BlockVector.html"title="class in org.bukkit.util"><code>BlockVector</code></a> containing the size of this
structure, based off of the origin coordinates.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setMirror</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="structure/Mirror.html"title="enum class in org.bukkit.block.structure">Mirror</a> mirror)</span></div>
<divclass="block">Sets the mirroring of the structure.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>mirror</code> - the new mirroring method</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getMirror()">
<h3>getMirror</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="structure/Mirror.html"title="enum class in org.bukkit.block.structure">Mirror</a></span> <spanclass="element-name">getMirror</span>()</div>
<divclass="block">How this structure is mirrored.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setRotation</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="structure/StructureRotation.html"title="enum class in org.bukkit.block.structure">StructureRotation</a> rotation)</span></div>
<divclass="block">Set how this structure is rotated.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>rotation</code> - the new rotation</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getRotation()">
<h3>getRotation</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="structure/StructureRotation.html"title="enum class in org.bukkit.block.structure">StructureRotation</a></span> <spanclass="element-name">getRotation</span>()</div>
<divclass="block">Get how this structure is rotated.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setUsageMode</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="structure/UsageMode.html"title="enum class in org.bukkit.block.structure">UsageMode</a> mode)</span></div>
<divclass="block">Set the <ahref="structure/UsageMode.html"title="enum class in org.bukkit.block.structure"><code>UsageMode</code></a> of this structure block.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>mode</code> - the new mode to set.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getUsageMode()">
<h3>getUsageMode</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="structure/UsageMode.html"title="enum class in org.bukkit.block.structure">UsageMode</a></span> <spanclass="element-name">getUsageMode</span>()</div>
<divclass="block">Get the <ahref="structure/UsageMode.html"title="enum class in org.bukkit.block.structure"><code>UsageMode</code></a> of this structure block.</div>
<divclass="block">Get if this structure block should ignore entities.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>true if the appropriate <ahref="structure/UsageMode.html"title="enum class in org.bukkit.block.structure"><code>UsageMode</code></a> should ignore entities.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setMetadata</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> metadata)</span></div>
<divclass="block">Only applicable while in <ahref="structure/UsageMode.html#DATA"><code>UsageMode.DATA</code></a>. Metadata are specific
functions that can be applied to the structure location. Consult the
<dd><code>metadata</code> - the function to perform on the selected location</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getMetadata()">
<h3>getMetadata</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getMetadata</span>()</div>
<divclass="block">Get the metadata function this structure block will perform when