<divclass="type-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>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></code></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://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/flattener/ComponentFlattener.html"title="class or interface in net.kyori.adventure.text.flattener"class="external-link">ComponentFlattener</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="Material.html"title="enum class in org.bukkit">Material</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#fromLegacy(org.bukkit.Material)"class="member-name-link">fromLegacy</a><wbr>(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="Material.html"title="enum class in org.bukkit">Material</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#fromLegacy(org.bukkit.material.MaterialData)"class="member-name-link">fromLegacy</a><wbr>(<ahref="material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a> material)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="Material.html"title="enum class in org.bukkit">Material</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#fromLegacy(org.bukkit.material.MaterialData,boolean)"class="member-name-link">fromLegacy</a><wbr>(<ahref="material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a> material,
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="block/data/BlockData.html"title="interface in org.bukkit.block.data">BlockData</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#fromLegacy(org.bukkit.Material,byte)"class="member-name-link">fromLegacy</a><wbr>(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material,
<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="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getBiomeKey(org.bukkit.RegionAccessor,int,int,int)"class="member-name-link">getBiomeKey</a><wbr>(<ahref="RegionAccessor.html"title="interface in org.bukkit">RegionAccessor</a> accessor,
<divclass="block">Gets the <ahref="NamespacedKey.html"title="class in org.bukkit"><code>NamespacedKey</code></a> for the biome at the given location.</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="inventory/CreativeCategory.html"title="enum class in org.bukkit.inventory">CreativeCategory</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getCreativeCategory(org.bukkit.Material)"class="member-name-link">getCreativeCategory</a><wbr>(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</code></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://guava.dev/releases/31.0.1-jre/api/docs/com/google/common/collect/Multimap.html"title="class or interface in com.google.common.collect"class="external-link">Multimap</a><<ahref="attribute/Attribute.html"title="enum class in org.bukkit.attribute">Attribute</a>,<wbr><ahref="attribute/AttributeModifier.html"title="class in org.bukkit.attribute">AttributeModifier</a>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getDefaultAttributeModifiers(org.bukkit.Material,org.bukkit.inventory.EquipmentSlot)"class="member-name-link">getDefaultAttributeModifiers</a><wbr>(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material,
<ahref="inventory/EquipmentSlot.html"title="enum class in org.bukkit.inventory">EquipmentSlot</a> slot)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getDefaultEntityAttributes(org.bukkit.NamespacedKey)"class="member-name-link">getDefaultEntityAttributes</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="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> entityKey)</code></div>
<divclass="block">Gets the default attributes for the entity represented by the namespaced key.</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://guava.dev/releases/31.0.1-jre/api/docs/com/google/common/collect/Multimap.html"title="class or interface in com.google.common.collect"class="external-link">Multimap</a><<ahref="attribute/Attribute.html"title="enum class in org.bukkit.attribute">Attribute</a>,<wbr><ahref="attribute/AttributeModifier.html"title="class in org.bukkit.attribute">AttributeModifier</a>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getItemAttributes(org.bukkit.Material,org.bukkit.inventory.EquipmentSlot)"class="member-name-link">getItemAttributes</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="Material.html"title="enum class in org.bukkit">Material</a> material,
<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="inventory/EquipmentSlot.html"title="enum class in org.bukkit.inventory">EquipmentSlot</a> equipmentSlot)</code></div>
<divclass="block">Returns an immutable multimap of attributes for the material and slot.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="../../io/papermc/paper/inventory/ItemRarity.html"title="enum class in io.papermc.paper.inventory">ItemRarity</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getItemRarity(org.bukkit.Material)"class="member-name-link">getItemRarity</a><wbr>(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</code></div>
<divclass="block">Gets the item rarity of a material.</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="../../io/papermc/paper/inventory/ItemRarity.html"title="enum class in io.papermc.paper.inventory">ItemRarity</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getItemStackRarity(org.bukkit.inventory.ItemStack)"class="member-name-link">getItemStackRarity</a><wbr>(<ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> itemStack)</code></div>
<divclass="block">Gets the item rarity of the itemstack.</div>
</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="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="Material.html"title="enum class in org.bukkit">Material</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getMaterial(java.lang.String,int)"class="member-name-link">getMaterial</a><wbr>(<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> material,
<divclass="block">Returns the server's protocol version.</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://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">Server name to report to timings v2</div>
</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://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="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getTranslationKey(org.bukkit.block.Block)"class="member-name-link">getTranslationKey</a><wbr>(<ahref="block/Block.html"title="interface in org.bukkit.block">Block</a> block)</code></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.</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://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="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getTranslationKey(org.bukkit.entity.EntityType)"class="member-name-link">getTranslationKey</a><wbr>(<ahref="entity/EntityType.html"title="enum class in org.bukkit.entity">EntityType</a> type)</code></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.<br>
This is <code>null</code>, when the EntityType isn't known to NMS (custom entities)</div>
</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://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="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getTranslationKey(org.bukkit.inventory.ItemStack)"class="member-name-link">getTranslationKey</a><wbr>(<ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> itemStack)</code></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.<br></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://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="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#getTranslationKey(org.bukkit.Material)"class="member-name-link">getTranslationKey</a><wbr>(<ahref="Material.html"title="enum class in org.bukkit">Material</a> mat)</code></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.</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://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#hasDefaultEntityAttributes(org.bukkit.NamespacedKey)"class="member-name-link">hasDefaultEntityAttributes</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="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> entityKey)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#isCollidable(org.bukkit.Material)"class="member-name-link">isCollidable</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="Material.html"title="enum class in org.bukkit">Material</a> material)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#isSupportedApiVersion(java.lang.String)"class="member-name-link">isSupportedApiVersion</a><wbr>(<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> apiVersion)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#isValidRepairItemStack(org.bukkit.inventory.ItemStack,org.bukkit.inventory.ItemStack)"class="member-name-link">isValidRepairItemStack</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="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> itemToBeRepaired,
<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="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> repairMaterial)</code></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://jd.adventure.kyori.net/text-serializer-legacy/4.12.0/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.legacy"class="external-link">LegacyComponentSerializer</a></code></div>
<divclass="block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="advancement/Advancement.html"title="interface in org.bukkit.advancement">Advancement</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#loadAdvancement(org.bukkit.NamespacedKey,java.lang.String)"class="member-name-link">loadAdvancement</a><wbr>(<ahref="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> key,
<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> advancement)</code></div>
<divclass="block">Load an advancement represented by the specified string into the server.</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="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#modifyItemStack(org.bukkit.inventory.ItemStack,java.lang.String)"class="member-name-link">modifyItemStack</a><wbr>(<ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> stack,
<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> arguments)</code></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://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainComponentSerializer</a></code></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://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainTextComponentSerializer</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#processClass(org.bukkit.plugin.PluginDescriptionFile,java.lang.String,byte%5B%5D)"class="member-name-link">processClass</a><wbr>(<ahref="plugin/PluginDescriptionFile.html"title="class in org.bukkit.plugin">PluginDescriptionFile</a> pdf,
<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> path,
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><T extends <ahref="Keyed.html"title="interface in org.bukkit">Keyed</a>><br><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="Registry.html"title="interface in org.bukkit">Registry</a><T></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#registryFor(java.lang.Class)"class="member-name-link">registryFor</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html"title="class or interface in java.lang"class="external-link">Class</a><T> classOfT)</code></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://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#resolveWithContext(net.kyori.adventure.text.Component,org.bukkit.command.CommandSender,org.bukkit.entity.Entity,boolean)"class="member-name-link">resolveWithContext</a><wbr>(<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> component,
<ahref="command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a> context,
<ahref="entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> scoreboardSubject,
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="Material.html"title="enum class in org.bukkit">Material</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#toLegacy(org.bukkit.Material)"class="member-name-link">toLegacy</a><wbr>(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</code></div>
<divclass="member-signature"><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/flattener/ComponentFlattener.html"title="class or interface in net.kyori.adventure.text.flattener"class="external-link">ComponentFlattener</a></span> <spanclass="element-name">componentFlattener</span>()</div>
<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://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
</span><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainComponentSerializer</a></span> <spanclass="element-name">plainComponentSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
</section>
</li>
<li>
<sectionclass="detail"id="plainTextSerializer()">
<h3>plainTextSerializer</h3>
<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://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
</span><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainTextComponentSerializer</a></span> <spanclass="element-name">plainTextSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<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://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
</span><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></span> <spanclass="element-name">gsonComponentSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<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://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
</span><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></span> <spanclass="element-name">colorDownsamplingGsonComponentSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<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://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
</span><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/text-serializer-legacy/4.12.0/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.legacy"class="external-link">LegacyComponentSerializer</a></span> <spanclass="element-name">legacyComponentSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/api/4.12.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">resolveWithContext</span><wbr><spanclass="parameters">(<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> component,
<ahref="command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a> context,
<ahref="entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> scoreboardSubject,
boolean bypassPermissions)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<divclass="member-signature"><spanclass="return-type"><ahref="Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">toLegacy</span><wbr><spanclass="parameters">(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">fromLegacy</span><wbr><spanclass="parameters">(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">fromLegacy</span><wbr><spanclass="parameters">(<ahref="material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a> material)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">fromLegacy</span><wbr><spanclass="parameters">(<ahref="material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a> material,
<divclass="member-signature"><spanclass="return-type"><ahref="block/data/BlockData.html"title="interface in org.bukkit.block.data">BlockData</a></span> <spanclass="element-name">fromLegacy</span><wbr><spanclass="parameters">(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material,
<divclass="member-signature"><spanclass="return-type"><ahref="Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">getMaterial</span><wbr><spanclass="parameters">(<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> material,
<divclass="member-signature"><spanclass="return-type"><ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></span> <spanclass="element-name">modifyItemStack</span><wbr><spanclass="parameters">(<ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> stack,
<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> arguments)</span></div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">checkSupported</span><wbr><spanclass="parameters">(<ahref="plugin/PluginDescriptionFile.html"title="class in org.bukkit.plugin">PluginDescriptionFile</a> pdf)</span>
throws <spanclass="exceptions"><ahref="plugin/InvalidPluginException.html"title="class in org.bukkit.plugin">InvalidPluginException</a></span></div>
<divclass="member-signature"><spanclass="return-type">byte[]</span> <spanclass="element-name">processClass</span><wbr><spanclass="parameters">(<ahref="plugin/PluginDescriptionFile.html"title="class in org.bukkit.plugin">PluginDescriptionFile</a> pdf,
<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> path,
<divclass="member-signature"><spanclass="return-type"><ahref="advancement/Advancement.html"title="interface in org.bukkit.advancement">Advancement</a></span> <spanclass="element-name">loadAdvancement</span><wbr><spanclass="parameters">(<ahref="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> key,
<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> advancement)</span></div>
<divclass="block">Load an advancement represented by the specified string into the server.
The advancement format is governed by Minecraft and has no specified
layout.
<br>
It is currently a JSON object, as described by the Minecraft Wiki:
http://minecraft.gamepedia.com/Advancements
<br>
Loaded advancements will be stored and persisted across server restarts
and reloads.
<br>
Callers should be prepared for <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html"title="class or interface in java.lang"class="external-link"><code>Exception</code></a> to be thrown.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>key</code> - the unique advancement key</dd>
<dd><code>advancement</code> - representation of the advancement</dd>
<dt>Returns:</dt>
<dd>the loaded advancement or null if an error occurred</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">removeAdvancement</span><wbr><spanclass="parameters">(<ahref="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> key)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="https://guava.dev/releases/31.0.1-jre/api/docs/com/google/common/collect/Multimap.html"title="class or interface in com.google.common.collect"class="external-link">Multimap</a><<ahref="attribute/Attribute.html"title="enum class in org.bukkit.attribute">Attribute</a>,<wbr><ahref="attribute/AttributeModifier.html"title="class in org.bukkit.attribute">AttributeModifier</a>></span> <spanclass="element-name">getDefaultAttributeModifiers</span><wbr><spanclass="parameters">(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material,
<ahref="inventory/EquipmentSlot.html"title="enum class in org.bukkit.inventory">EquipmentSlot</a> slot)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="inventory/CreativeCategory.html"title="enum class in org.bukkit.inventory">CreativeCategory</a></span> <spanclass="element-name">getCreativeCategory</span><wbr><spanclass="parameters">(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</span></div>
<divclass="member-signature"><spanclass="return-type"><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">getTimingsServerName</span>()</div>
<divclass="block">Server name to report to timings v2</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>name</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getVersionFetcher()">
<h3>getVersionFetcher</h3>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="../../com/destroystokyo/paper/util/VersionFetcher.html"title="interface in com.destroystokyo.paper.util">VersionFetcher</a></span> <spanclass="element-name">getVersionFetcher</span>()</div>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">isSupportedApiVersion</span><wbr><spanclass="parameters">(<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> apiVersion)</span></div>
<divclass="member-signature"><spanclass="modifiers">static</span> <spanclass="return-type">boolean</span> <spanclass="element-name">isLegacyPlugin</span><wbr><spanclass="parameters">(<ahref="plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin)</span></div>
<divclass="member-signature"><spanclass="return-type">byte[]</span> <spanclass="element-name">serializeItem</span><wbr><spanclass="parameters">(<ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> item)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></span> <spanclass="element-name">deserializeItem</span><wbr><spanclass="parameters">(byte[] data)</span></div>
<divclass="member-signature"><spanclass="return-type">byte[]</span> <spanclass="element-name">serializeEntity</span><wbr><spanclass="parameters">(<ahref="entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</span></div>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="entity/Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">deserializeEntity</span><wbr><spanclass="parameters">(byte[] data,
<ahref="World.html"title="interface in org.bukkit">World</a> world)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="entity/Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">deserializeEntity</span><wbr><spanclass="parameters">(byte[] data,
<ahref="World.html"title="interface in org.bukkit">World</a> world,
<divclass="member-signature"><spanclass="return-type"><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">getTranslationKey</span><wbr><spanclass="parameters">(<ahref="Material.html"title="enum class in org.bukkit">Material</a> mat)</span></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.</div>
<divclass="member-signature"><spanclass="return-type"><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">getTranslationKey</span><wbr><spanclass="parameters">(<ahref="block/Block.html"title="interface in org.bukkit.block">Block</a> block)</span></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.</div>
<divclass="member-signature"><spanclass="return-type"><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">getTranslationKey</span><wbr><spanclass="parameters">(<ahref="entity/EntityType.html"title="enum class in org.bukkit.entity">EntityType</a> type)</span></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.<br>
<divclass="member-signature"><spanclass="return-type"><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">getTranslationKey</span><wbr><spanclass="parameters">(<ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> itemStack)</span></div>
locale when using a <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>.<br></div>
<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="type-parameters"><T extends <ahref="Keyed.html"title="interface in org.bukkit">Keyed</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="Registry.html"title="interface in org.bukkit">Registry</a><T></span> <spanclass="element-name">registryFor</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html"title="class or interface in java.lang"class="external-link">Class</a><T> classOfT)</span></div>
<divclass="block">Gets the server-backed registry for a type.</div>
<dlclass="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - type</dd>
<dt>Parameters:</dt>
<dd><code>classOfT</code> - type</dd>
<dt>Returns:</dt>
<dd>the server-backed registry</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 there isn't a registry for that type</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getMainLevelName()">
<h3>getMainLevelName</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">getMainLevelName</span>()</div>
<divclass="member-signature"><spanclass="return-type"><ahref="../../io/papermc/paper/inventory/ItemRarity.html"title="enum class in io.papermc.paper.inventory">ItemRarity</a></span> <spanclass="element-name">getItemRarity</span><wbr><spanclass="parameters">(<ahref="Material.html"title="enum class in org.bukkit">Material</a> material)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="../../io/papermc/paper/inventory/ItemRarity.html"title="enum class in io.papermc.paper.inventory">ItemRarity</a></span> <spanclass="element-name">getItemStackRarity</span><wbr><spanclass="parameters">(<ahref="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> itemStack)</span></div>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">isValidRepairItemStack</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="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> itemToBeRepaired,
<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="inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> repairMaterial)</span></div>
<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://guava.dev/releases/31.0.1-jre/api/docs/com/google/common/collect/Multimap.html"title="class or interface in com.google.common.collect"class="external-link">Multimap</a><<ahref="attribute/Attribute.html"title="enum class in org.bukkit.attribute">Attribute</a>,<wbr><ahref="attribute/AttributeModifier.html"title="class in org.bukkit.attribute">AttributeModifier</a>></span> <spanclass="element-name">getItemAttributes</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="Material.html"title="enum class in org.bukkit">Material</a> material,
<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="inventory/EquipmentSlot.html"title="enum class in org.bukkit.inventory">EquipmentSlot</a> equipmentSlot)</span></div>
<divclass="block">Returns an immutable multimap of attributes for the material and slot.
<ahref="Material.html#isItem()"><code>Material.isItem()</code></a> must be true for this material.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>material</code> - the material</dd>
<dd><code>equipmentSlot</code> - the slot to get the attributes for</dd>
<dt>Returns:</dt>
<dd>an immutable multimap of attributes</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 <ahref="Material.html#isItem()"><code>Material.isItem()</code></a> is false</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasDefaultEntityAttributes</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="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> entityKey)</span></div>
<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="attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></span> <spanclass="element-name">getDefaultEntityAttributes</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="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> entityKey)</span></div>
<divclass="block">Gets the default attributes for the entity represented by the namespaced key.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>entityKey</code> - the entity's key</dd>
<dt>Returns:</dt>
<dd>an unmodifiable instance of Attributable for reading default attributes.</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 the entity does not exist of have default attributes (use <ahref="#hasDefaultEntityAttributes(org.bukkit.NamespacedKey)"><code>hasDefaultEntityAttributes(NamespacedKey)</code></a> first)</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">isCollidable</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="Material.html"title="enum class in org.bukkit">Material</a> material)</span></div>
<divclass="block">Checks if this material is collidable.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>material</code> - the material to check</dd>
<dt>Returns:</dt>
<dd>true if collidable</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 <ahref="Material.html#isBlock()"><code>Material.isBlock()</code></a> is false</dd>
<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="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a></span> <spanclass="element-name">getBiomeKey</span><wbr><spanclass="parameters">(<ahref="RegionAccessor.html"title="interface in org.bukkit">RegionAccessor</a> accessor,
<divclass="block">Gets the <ahref="NamespacedKey.html"title="class in org.bukkit"><code>NamespacedKey</code></a> for the biome at the given location.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>accessor</code> - The <ahref="RegionAccessor.html"title="interface in org.bukkit"><code>RegionAccessor</code></a> of the provided coordinates</dd>
<dd><code>x</code> - X-coordinate of the block</dd>
<dd><code>y</code> - Y-coordinate of the block</dd>
<dd><code>z</code> - Z-coordinate of the block</dd>
<dt>Returns:</dt>
<dd>the biome's <ahref="NamespacedKey.html"title="class in org.bukkit"><code>NamespacedKey</code></a></dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setBiomeKey</span><wbr><spanclass="parameters">(<ahref="RegionAccessor.html"title="interface in org.bukkit">RegionAccessor</a> accessor,
int x,
int y,
int z,
<ahref="NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> biomeKey)</span></div>
<divclass="block">Sets the biome at the given location to a biome registered
to the given <ahref="NamespacedKey.html"title="class in org.bukkit"><code>NamespacedKey</code></a>. If no biome by the given
<ahref="NamespacedKey.html"title="class in org.bukkit"><code>NamespacedKey</code></a> exists, an <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link"><code>IllegalStateException</code></a>
will be thrown.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>accessor</code> - The <ahref="RegionAccessor.html"title="interface in org.bukkit"><code>RegionAccessor</code></a> of the provided coordinates</dd>
<dd><code>x</code> - X-coordinate of the block</dd>
<dd><code>y</code> - Y-coordinate of the block</dd>
<dd><code>z</code> - Z-coordinate of the block</dd>
<dd><code>biomeKey</code> - Biome key</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - if no biome by the given key is registered.</dd>