<dd><code><ahref="../entity/AbstractArrow.html"title="interface in org.bukkit.entity">AbstractArrow</a></code>, <code><ahref="../entity/AbstractHorse.html"title="interface in org.bukkit.entity">AbstractHorse</a></code>, <code><ahref="../entity/AbstractSkeleton.html"title="interface in org.bukkit.entity">AbstractSkeleton</a></code>, <code><ahref="../entity/AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></code>, <code><ahref="../entity/Ageable.html"title="interface in org.bukkit.entity">Ageable</a></code>, <code><ahref="../entity/Allay.html"title="interface in org.bukkit.entity">Allay</a></code>, <code><ahref="../entity/Ambient.html"title="interface in org.bukkit.entity">Ambient</a></code>, <code><ahref="../entity/Animals.html"title="interface in org.bukkit.entity">Animals</a></code>, <code><ahref="../entity/AreaEffectCloud.html"title="interface in org.bukkit.entity">AreaEffectCloud</a></code>, <code><ahref="../entity/ArmorStand.html"title="interface in org.bukkit.entity">ArmorStand</a></code>, <code><ahref="../entity/Arrow.html"title="interface in org.bukkit.entity">Arrow</a></code>, <code><ahref="../entity/Axolotl.html"title="interface in org.bukkit.entity">Axolotl</a></code>, <code><ahref="../block/Banner.html"title="interface in org.bukkit.block">Banner</a></code>, <code><ahref="../block/Barrel.html"title="interface in org.bukkit.block">Barrel</a></code>, <code><ahref="../entity/Bat.html"title="interface in org.bukkit.entity">Bat</a></code>, <code><ahref="../block/Beacon.html"title="interface in org.bukkit.block">Beacon</a></code>, <code><ahref="../block/Bed.html"title="interface in org.bukkit.block">Bed</a></code>, <code><ahref="../entity/Bee.html"title="interface in org.bukkit.entity">Bee</a></code>, <code><ahref="../block/Beehive.html"title="interface in org.bukkit.block">Beehive</a></code>, <code><ahref="../block/Bell.html"title="interface in org.bukkit.block">Bell</a></code>, <code><ahref="../block/BlastFurnace.html"title="interface in org.bukkit.block">BlastFurnace</a></code>, <code><ahref="../entity/Blaze.html"title="interface in org.bukkit.entity">Blaze</a></code>, <code><ahref="../block/Block.html"title="interface in org.bukkit.block">Block</a></code>, <code><ahref="../block/BlockState.html"title="interface in org.bukkit.block">BlockState</a></code>, <code><ahref="../entity/Boat.html"title="interface in org.bukkit.entity">Boat</a></code>, <code><ahref="../entity/Boss.html"title="interface in org.bukkit.entity">Boss</a></code>, <code><ahref="../entity/Breedable.html"title="interface in org.bukkit.entity">Breedable</a></code>, <code><ahref="../block/BrewingStand.html"title="interface in org.bukkit.block">BrewingStand</a></code>, <code><ahref="../../../io/papermc/paper/entity/Bucketable.html"title="interface in io.papermc.paper.entity">Bucketable</a></code>, <code><ahref="../entity/Camel.html"title="interface in org.bukkit.entity">Camel</a></code>, <code><ahref="../block/Campfire.html"title="interface in org.bukkit.block">Campfire</a></code>, <code><ahref="../entity/Cat.html"title="interface in org.bukkit.entity">Cat</a></code>, <code><ahref="../entity/CaveSpider.html"title="interface in org.bukkit.entity">CaveSpider</a></code>, <code><ahref="../block/Chest.html"title="interface in org.bukkit.block">Chest</a></code>, <code><ahref="../entity/ChestBoat.html"title="interface in org.bukkit.entity">ChestBoat</a></code>, <code><ahref="../entity/ChestedHorse.html"title="interface in org.bukkit.entity">ChestedHorse</a></code>, <code><ahref="../entity/Chicken.html"title="interface in org.bukkit.entity">Chicken</a></code>, <code><ahref="../block/ChiseledBookshelf.html"title="interface in org.bukkit.block">ChiseledBookshelf</a></code>, <code><ahref="../entity/Cod.html"title="interface in org.bukkit.entity">Cod</a></code>, <code><ahref="../../../io/papermc/paper/entity/CollarColorable.html"title="interface in io.papermc.paper.entity">CollarColorable</a></code>, <code><ahref="../block/CommandBlock.html"title="i
<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/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="MetadataValue.html"title="interface in org.bukkit.metadata">MetadataValue</a>></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getMetadata(java.lang.String)"class="member-name-link">getMetadata</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> metadataKey)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#hasMetadata(java.lang.String)"class="member-name-link">hasMetadata</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> metadataKey)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#removeMetadata(java.lang.String,org.bukkit.plugin.Plugin)"class="member-name-link">removeMetadata</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> metadataKey,
<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="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> owningPlugin)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setMetadata(java.lang.String,org.bukkit.metadata.MetadataValue)"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> metadataKey,
<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="MetadataValue.html"title="interface in org.bukkit.metadata">MetadataValue</a> newMetadataValue)</code></div>
<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> metadataKey,
<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="MetadataValue.html"title="interface in org.bukkit.metadata">MetadataValue</a> newMetadataValue)</span></div>
<divclass="block">Sets a metadata value in the implementing object's metadata store.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>metadataKey</code> - A unique key to identify this metadata.</dd>
<dd><code>newMetadataValue</code> - The metadata value to apply.</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - If value is null, or the owning plugin
<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="MetadataValue.html"title="interface in org.bukkit.metadata">MetadataValue</a>></span> <spanclass="element-name">getMetadata</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> metadataKey)</span></div>
<divclass="block">Returns a list of previously set metadata values from the implementing
object's metadata store.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>metadataKey</code> - the unique metadata key being sought.</dd>
<dt>Returns:</dt>
<dd>A list of values, one for each plugin that has set the
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasMetadata</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> metadataKey)</span></div>
<divclass="block">Tests to see whether the implementing object contains the given
metadata value in its metadata store.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>metadataKey</code> - the unique metadata key being queried.</dd>
<dt>Returns:</dt>
<dd>the existence of the metadataKey within subject.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">removeMetadata</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> metadataKey,
<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="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> owningPlugin)</span></div>
<divclass="block">Removes the given metadata value from the implementing object's
metadata store.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>metadataKey</code> - the unique metadata key identifying the metadata to
remove.</dd>
<dd><code>owningPlugin</code> - This plugin's metadata value will be removed. All
other values will be left untouched.</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - If plugin is null</dd>