<dd><code><ahref="AnimalTamer.html"title="interface in org.bukkit.entity">AnimalTamer</a></code>, <code><ahref="../attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></code>, <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code>, <code><ahref="Damageable.html"title="interface in org.bukkit.entity">Damageable</a></code>, <code><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code>, <code><ahref="../../../io/papermc/paper/entity/Frictional.html"title="interface in io.papermc.paper.entity">Frictional</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>></code>, <code><ahref="../inventory/InventoryHolder.html"title="interface in org.bukkit.inventory">InventoryHolder</a></code>, <code><ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></code>, <code><ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></code>, <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></code>, <code><ahref="../projectiles/ProjectileSource.html"title="interface in org.bukkit.projectiles">ProjectileSource</a></code>, <code><ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/sound/Sound.Emitter.html"title="class or interface in net.kyori.adventure.sound"class="external-link">Sound.Emitter</a></code></dd>
extends <ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a>, <ahref="AnimalTamer.html"title="interface in org.bukkit.entity">AnimalTamer</a>, <ahref="../inventory/InventoryHolder.html"title="interface in org.bukkit.inventory">InventoryHolder</a></span></div>
<divclass="block">Represents a human entity, such as an NPC or a player</div>
<h2id="nested-classes-inherited-from-class-org.bukkit.entity.Entity">Nested classes/interfaces inherited from interface org.bukkit.entity.<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></h2>
<code><ahref="Entity.Spigot.html"title="class in org.bukkit.entity">Entity.Spigot</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#closeInventory(org.bukkit.event.inventory.InventoryCloseEvent.Reason)"class="member-name-link">closeInventory</a><wbr>(<ahref="../event/inventory/InventoryCloseEvent.Reason.html"title="enum class in org.bukkit.event.inventory">InventoryCloseEvent.Reason</a> reason)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#discoverRecipe(org.bukkit.NamespacedKey)"class="member-name-link">discoverRecipe</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> recipe)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#discoverRecipes(java.util.Collection)"class="member-name-link">discoverRecipes</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a>> recipes)</code></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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Firework.html"title="interface in org.bukkit.entity">Firework</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#fireworkBoost(org.bukkit.inventory.ItemStack)"class="member-name-link">fireworkBoost</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> fireworkItemStack)</code></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="../Location.html"title="class in org.bukkit">Location</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getCooldown(org.bukkit.Material)"class="member-name-link">getCooldown</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-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a>></code></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="../inventory/Inventory.html"title="interface in org.bukkit.inventory">Inventory</a></code></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="../inventory/EntityEquipment.html"title="interface in org.bukkit.inventory">EntityEquipment</a></code></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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="FishHook.html"title="interface in org.bukkit.entity">FishHook</a></code></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="../GameMode.html"title="enum class in org.bukkit">GameMode</a></code></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="../inventory/PlayerInventory.html"title="interface in org.bukkit.inventory">PlayerInventory</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://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></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://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></code></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="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></code></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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></code></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="../inventory/MainHand.html"title="enum class in org.bukkit.inventory">MainHand</a></code></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="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="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</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://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</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="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#hasCooldown(org.bukkit.Material)"class="member-name-link">hasCooldown</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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#hasDiscoveredRecipe(org.bukkit.NamespacedKey)"class="member-name-link">hasDiscoveredRecipe</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> recipe)</code></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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openAnvil(org.bukkit.Location,boolean)"class="member-name-link">openAnvil</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openCartographyTable(org.bukkit.Location,boolean)"class="member-name-link">openCartographyTable</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openEnchanting(org.bukkit.Location,boolean)"class="member-name-link">openEnchanting</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openGrindstone(org.bukkit.Location,boolean)"class="member-name-link">openGrindstone</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openInventory(org.bukkit.inventory.Inventory)"class="member-name-link">openInventory</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/Inventory.html"title="interface in org.bukkit.inventory">Inventory</a> inventory)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openInventory(org.bukkit.inventory.InventoryView)"class="member-name-link">openInventory</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/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a> inventory)</code></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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openLoom(org.bukkit.Location,boolean)"class="member-name-link">openLoom</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openMerchant(org.bukkit.entity.Villager,boolean)"class="member-name-link">openMerchant</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="Villager.html"title="interface in org.bukkit.entity">Villager</a> trader,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openMerchant(org.bukkit.inventory.Merchant,boolean)"class="member-name-link">openMerchant</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/Merchant.html"title="interface in org.bukkit.inventory">Merchant</a> merchant,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openSmithingTable(org.bukkit.Location,boolean)"class="member-name-link">openSmithingTable</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openStonecutter(org.bukkit.Location,boolean)"class="member-name-link">openStonecutter</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#openWorkbench(org.bukkit.Location,boolean)"class="member-name-link">openWorkbench</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code></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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setCooldown(org.bukkit.Material,int)"class="member-name-link">setCooldown</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,
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setGameMode(org.bukkit.GameMode)"class="member-name-link">setGameMode</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="../GameMode.html"title="enum class in org.bukkit">GameMode</a> mode)</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="#setItemInHand(org.bukkit.inventory.ItemStack)"class="member-name-link">setItemInHand</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> item)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setItemOnCursor(org.bukkit.inventory.ItemStack)"class="member-name-link">setItemOnCursor</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> item)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setLastDeathLocation(org.bukkit.Location)"class="member-name-link">setLastDeathLocation</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</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="#setShoulderEntityLeft(org.bukkit.entity.Entity)"class="member-name-link">setShoulderEntityLeft</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</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="#setShoulderEntityRight(org.bukkit.entity.Entity)"class="member-name-link">setShoulderEntityRight</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setWindowProperty(org.bukkit.inventory.InventoryView.Property,int)"class="member-name-link">setWindowProperty</a><wbr>(<ahref="../inventory/InventoryView.Property.html"title="enum class in org.bukkit.inventory">InventoryView.Property</a> prop,
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#sleep(org.bukkit.Location,boolean)"class="member-name-link">sleep</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="../Location.html"title="class in org.bukkit">Location</a> location,
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#undiscoverRecipe(org.bukkit.NamespacedKey)"class="member-name-link">undiscoverRecipe</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> recipe)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#undiscoverRecipes(java.util.Collection)"class="member-name-link">undiscoverRecipes</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a>> recipes)</code></div>
<divclass="block">Causes the player to wakeup if they are currently sleeping.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.entity.AnimalTamer">Methods inherited from interface org.bukkit.entity.<ahref="AnimalTamer.html"title="interface in org.bukkit.entity">AnimalTamer</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.attribute.Attributable">Methods inherited from interface org.bukkit.attribute.<ahref="../attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.audience.Audience">Methods inherited from interface net.kyori.adventure.audience.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#clearTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">clearTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#deleteMessage(net.kyori.adventure.chat.SignedMessage)"title="class or interface in net.kyori.adventure.audience"class="external-link">deleteMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#deleteMessage(net.kyori.adventure.chat.SignedMessage.Signature)"title="class or interface in net.kyori.adventure.audience"class="external-link">deleteMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#filterAudience(java.util.function.Predicate)"title="class or interface in net.kyori.adventure.audience"class="external-link">filterAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#forEachAudience(java.util.function.Consumer)"title="class or interface in net.kyori.adventure.audience"class="external-link">forEachAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#hideBossBar(net.kyori.adventure.bossbar.BossBar)"title="class or interface in net.kyori.adventure.audience"class="external-link">hideBossBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book.Builder)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,double,double,double)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,net.kyori.adventure.sound.Sound.Emitter)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#resetTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">resetTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.ComponentLike)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.chat.SignedMessage,net.kyori.adventure.chat.ChatType.Bound)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified
<h3id="methods-inherited-from-class-org.bukkit.command.CommandSender">Methods inherited from interface org.bukkit.command.<ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.entity.Damageable">Methods inherited from interface org.bukkit.entity.<ahref="Damageable.html"title="interface in org.bukkit.entity">Damageable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.entity.Entity">Methods inherited from interface org.bukkit.entity.<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></h3>
<h3id="methods-inherited-from-class-io.papermc.paper.entity.Frictional">Methods inherited from interface io.papermc.paper.entity.<ahref="../../../io/papermc/paper/entity/Frictional.html"title="interface in io.papermc.paper.entity">Frictional</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.text.event.HoverEventSource">Methods inherited from interface net.kyori.adventure.text.event.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html#asHoverEvent()"title="class or interface in net.kyori.adventure.text.event"class="external-link">asHoverEvent</a></code></div>
<h3id="methods-inherited-from-class-org.bukkit.entity.LivingEntity">Methods inherited from interface org.bukkit.entity.<ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.Nameable">Methods inherited from interface org.bukkit.<ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.permissions.Permissible">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.persistence.PersistentDataHolder">Methods inherited from interface org.bukkit.persistence.<ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.pointer.Pointered">Methods inherited from interface net.kyori.adventure.pointer.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#get(net.kyori.adventure.pointer.Pointer)"title="class or interface in net.kyori.adventure.pointer"class="external-link">get</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#getOrDefault(net.kyori.adventure.pointer.Pointer,T)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefault</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#getOrDefaultFrom(net.kyori.adventure.pointer.Pointer,java.util.function.Supplier)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefaultFrom</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#pointers()"title="class or interface in net.kyori.adventure.pointer"class="external-link">pointers</a></code></div>
<h3id="methods-inherited-from-class-org.bukkit.projectiles.ProjectileSource">Methods inherited from interface org.bukkit.projectiles.<ahref="../projectiles/ProjectileSource.html"title="interface in org.bukkit.projectiles">ProjectileSource</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.permissions.ServerOperator">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></h3>
<divclass="member-signature"><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="../inventory/EntityEquipment.html"title="interface in org.bukkit.inventory">EntityEquipment</a></span> <spanclass="element-name">getEquipment</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="LivingEntity.html#getEquipment()">LivingEntity</a></code></span></div>
<divclass="block">Gets the inventory with the equipment worn by the living entity.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="LivingEntity.html#getEquipment()">getEquipment</a></code> in interface <code><ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></code></dd>
<dt>Returns:</dt>
<dd>the living entity's inventory</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getName()">
<h3>getName</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">getName</span>()</div>
<divclass="block">Returns the name of this player</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="AnimalTamer.html#getName()">getName</a></code> in interface <code><ahref="AnimalTamer.html"title="interface in org.bukkit.entity">AnimalTamer</a></code></dd>
<dt>Specified by:</dt>
<dd><code><ahref="../command/CommandSender.html#getName()">getName</a></code> in interface <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code></dd>
<dt>Returns:</dt>
<dd>Player name</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getInventory()">
<h3>getInventory</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="../inventory/PlayerInventory.html"title="interface in org.bukkit.inventory">PlayerInventory</a></span> <spanclass="element-name">getInventory</span>()</div>
<divclass="block">Get the player's inventory.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../inventory/InventoryHolder.html#getInventory()">getInventory</a></code> in interface <code><ahref="../inventory/InventoryHolder.html"title="interface in org.bukkit.inventory">InventoryHolder</a></code></dd>
<dt>Returns:</dt>
<dd>The inventory of the player, this also contains the armor
slots.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getEnderChest()">
<h3>getEnderChest</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="../inventory/Inventory.html"title="interface in org.bukkit.inventory">Inventory</a></span> <spanclass="element-name">getEnderChest</span>()</div>
<divclass="block">Get the player's EnderChest inventory</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The EnderChest of the player</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getMainHand()">
<h3>getMainHand</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="../inventory/MainHand.html"title="enum class in org.bukkit.inventory">MainHand</a></span> <spanclass="element-name">getMainHand</span>()</div>
<divclass="block">Gets the player's selected main hand</div>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">setWindowProperty</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="../inventory/InventoryView.Property.html"title="enum class in org.bukkit.inventory">InventoryView.Property</a> prop,
int value)</span></div>
<divclass="block">If the player currently has an inventory window open, this method will
set a property of that window, such as the state of a progress bar.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>prop</code> - The property.</dd>
<dd><code>value</code> - The value to set the property to.</dd>
<dt>Returns:</dt>
<dd>True if the property was successfully set.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getOpenInventory()">
<h3>getOpenInventory</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="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">getOpenInventory</span>()</div>
<divclass="block">Gets the inventory view the player is currently viewing. If they do not
have an inventory window open, it returns their internal crafting view.</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openInventory</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/Inventory.html"title="interface in org.bukkit.inventory">Inventory</a> inventory)</span></div>
<divclass="block">Opens an inventory window with the specified inventory on the top and
the player's inventory on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>inventory</code> - The inventory to open</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openWorkbench</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty workbench inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no workbench block at the location,
no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openEnchanting</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty enchanting inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no enchanting table at the
location, no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">openInventory</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/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a> inventory)</span></div>
<divclass="block">Opens an inventory window to the specified inventory view.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>inventory</code> - The view to open</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openMerchant</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="Villager.html"title="interface in org.bukkit.entity">Villager</a> trader,
boolean force)</span></div>
<divclass="block">Starts a trade between the player and the villager.
Note that only one player may trade with a villager at once. You must use
the force parameter for this.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>trader</code> - The merchant to trade with. Cannot be null.</dd>
<dd><code>force</code> - whether to force the trade even if another player is trading</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openMerchant</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/Merchant.html"title="interface in org.bukkit.inventory">Merchant</a> merchant,
boolean force)</span></div>
<divclass="block">Starts a trade between the player and the merchant.
Note that only one player may trade with a merchant at once. You must use
the force parameter for this.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>merchant</code> - The merchant to trade with. Cannot be null.</dd>
<dd><code>force</code> - whether to force the trade even if another player is trading</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openAnvil</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty anvil inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no anvil block at the location,
no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openCartographyTable</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty cartography table inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no cartography table block at the location,
no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openGrindstone</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty grindstone inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no grindstone block at the location,
no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openLoom</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty loom inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no loom block at the location,
no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openSmithingTable</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty smithing table inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no smithing table block at the location,
no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/InventoryView.html"title="class in org.bukkit.inventory">InventoryView</a></span> <spanclass="element-name">openStonecutter</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Opens an empty stonecutter inventory window with the player's inventory
on the bottom.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to attach it to. If null, the player's
location is used.</dd>
<dd><code>force</code> - If false, and there is no stonecutter block at the location,
no inventory will be opened and null will be returned.</dd>
<dt>Returns:</dt>
<dd>The newly opened inventory view, or null if it could not be
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">closeInventory</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="../event/inventory/InventoryCloseEvent.Reason.html"title="enum class in org.bukkit.event.inventory">InventoryCloseEvent.Reason</a> reason)</span></div>
<divclass="block">Force-closes the currently open inventory view for this player, if any.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>reason</code> - why the inventory is closing</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getItemInHand()">
<h3>getItemInHand</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://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="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></span> <spanclass="element-name">getItemInHand</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>
</span><spanclass="return-type">void</span> <spanclass="element-name">setItemInHand</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> item)</span></div>
<divclass="deprecation-comment">Humans may now dual wield in their off hand, use explicit
methods in <ahref="../inventory/PlayerInventory.html"title="interface in org.bukkit.inventory"><code>PlayerInventory</code></a>.</div>
</div>
<divclass="block">Sets the item to the given ItemStack, this will replace whatever the
user was holding.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - The ItemStack which will end up in the hand</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getItemOnCursor()">
<h3>getItemOnCursor</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="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></span> <spanclass="element-name">getItemOnCursor</span>()</div>
<divclass="block">Returns the ItemStack currently on your cursor, can be empty. Will
always be empty if the player currently has no open window.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The ItemStack of the item you are currently moving around.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setItemOnCursor</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> item)</span></div>
<divclass="block">Sets the item to the given ItemStack, this will replace whatever the
user was moving. Will always be empty if the player currently has no
open window.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - The ItemStack which will end up in the hand</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasCooldown</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">Check whether a cooldown is active on the specified material.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>material</code> - the material to check</dd>
<dt>Returns:</dt>
<dd>if a cooldown is active on the material</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 material is not an item</dd>
<divclass="member-signature"><spanclass="return-type">int</span> <spanclass="element-name">getCooldown</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">Get the cooldown time in ticks remaining for the specified material.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>material</code> - the material to check</dd>
<dt>Returns:</dt>
<dd>the remaining cooldown time in ticks</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 material is not an item</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setCooldown</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,
int ticks)</span></div>
<divclass="block">Set a cooldown on the specified material for a certain amount of ticks.
ticks. 0 ticks will result in the removal of the cooldown.
<p>
Cooldowns are used by the server for items such as ender pearls and
shields to prevent them from being used repeatedly.
<p>
Note that cooldowns will not by themselves stop an item from being used
for attacking.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>material</code> - the material to set the cooldown for</dd>
<dd><code>ticks</code> - the amount of ticks to set or 0 to remove</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 material is not an item</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getPotentialBedLocation</span>()</div>
<divclass="block">Gets the Location of the player's bed, null if they have not slept
in one. This method will not attempt to validate if the current bed
is still valid.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>Bed Location if has slept in one, otherwise null.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getFishHook()">
<h3>getFishHook</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="FishHook.html"title="interface in org.bukkit.entity">FishHook</a></span> <spanclass="element-name">getFishHook</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the player's fishing hook if they are fishing</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">sleep</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="../Location.html"title="class in org.bukkit">Location</a> location,
boolean force)</span></div>
<divclass="block">Attempts to make the entity sleep at the given location.
<br>
The location must be in the current world and have a bed placed at the
location. The game may also enforce other requirements such as proximity
to bed, monsters, and dimension type if force is not set.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - the location of the bed</dd>
<dd><code>force</code> - whether to try and sleep at the location even if not
<divclass="block">Causes the player to wakeup if they are currently sleeping.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>setSpawnLocation</code> - whether to set their spawn location to the bed
they are currently sleeping in</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 not sleeping</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getBedLocation()">
<h3>getBedLocation</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="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getBedLocation</span>()</div>
<divclass="block">Gets the location of the bed the player is currently sleeping in</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>location</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 not sleeping</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getGameMode()">
<h3>getGameMode</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="../GameMode.html"title="enum class in org.bukkit">GameMode</a></span> <spanclass="element-name">getGameMode</span>()</div>
<divclass="block">Gets this human's current <ahref="../GameMode.html"title="enum class in org.bukkit"><code>GameMode</code></a></div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setGameMode</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="../GameMode.html"title="enum class in org.bukkit">GameMode</a> mode)</span></div>
<divclass="block">Sets this human's current <ahref="../GameMode.html"title="enum class in org.bukkit"><code>GameMode</code></a></div>
<divclass="block">Check if the player currently has their hand raised (ie about to begin
blocking).</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="LivingEntity.html#isHandRaised()">isHandRaised</a></code> in interface <code><ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></code></dd>
<dt>Returns:</dt>
<dd>Whether their hand is raised</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getItemInUse()">
<h3>getItemInUse</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://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></span> <spanclass="element-name">getItemInUse</span>()</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">releaseLeftShoulderEntity</span>()</div>
<divclass="block">If there is an Entity on this entities left shoulder, it will be released to the world and returned.
If no Entity is released, null will be returned.</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">releaseRightShoulderEntity</span>()</div>
<divclass="block">If there is an Entity on this entities left shoulder, it will be released to the world and returned.
If no Entity is released, null will be returned.</div>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">discoverRecipe</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> recipe)</span></div>
<divclass="block">Discover a recipe for this player such that it has not already been
discovered. This method will add the key's associated recipe to the
player's recipe book.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>recipe</code> - the key of the recipe to discover</dd>
<dt>Returns:</dt>
<dd>whether or not the recipe was newly discovered</dd>
<divclass="member-signature"><spanclass="return-type">int</span> <spanclass="element-name">discoverRecipes</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a>> recipes)</span></div>
<divclass="block">Discover a collection of recipes for this player such that they have not
already been discovered. This method will add the keys' associated
recipes to the player's recipe book. If a recipe in the provided
collection has already been discovered, it will be silently ignored.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>recipes</code> - the keys of the recipes to discover</dd>
<dt>Returns:</dt>
<dd>the amount of newly discovered recipes where 0 indicates that
none were newly discovered and a number equal to <code>recipes.size()</code>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">undiscoverRecipe</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> recipe)</span></div>
<divclass="block">Undiscover a recipe for this player such that it has already been
discovered. This method will remove the key's associated recipe from the
player's recipe book.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>recipe</code> - the key of the recipe to undiscover</dd>
<dt>Returns:</dt>
<dd>whether or not the recipe was successfully undiscovered (i.e. it
<divclass="member-signature"><spanclass="return-type">int</span> <spanclass="element-name">undiscoverRecipes</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a>> recipes)</span></div>
<divclass="block">Undiscover a collection of recipes for this player such that they have
already been discovered. This method will remove the keys' associated
recipes from the player's recipe book. If a recipe in the provided
collection has not yet been discovered, it will be silently ignored.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>recipes</code> - the keys of the recipes to undiscover</dd>
<dt>Returns:</dt>
<dd>the amount of undiscovered recipes where 0 indicates that none
were undiscovered and a number equal to <code>recipes.size()</code> indicates
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasDiscoveredRecipe</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> recipe)</span></div>
<divclass="block">Check whether or not this entity has discovered the specified recipe.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>recipe</code> - the key of the recipe to check</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a>></span> <spanclass="element-name">getDiscoveredRecipes</span>()</div>
<divclass="block">Get an immutable set of recipes this entity has discovered.</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://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">getShoulderEntityLeft</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>
</span><spanclass="return-type">void</span> <spanclass="element-name">setShoulderEntityLeft</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</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://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">getShoulderEntityRight</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>
</span><spanclass="return-type">void</span> <spanclass="element-name">setShoulderEntityRight</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</span></div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">openSign</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="../block/Sign.html"title="interface in org.bukkit.block">Sign</a> sign)</span></div>
<divclass="block">Opens an editor window for the specified sign</div>
<divclass="block">Make the entity drop the item in their hand.
<br>
This will force the entity to drop the item they are holding with
an option to drop the entire <ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory"><code>ItemStack</code></a> or just 1 of the items.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>dropAll</code> - True to drop entire stack, false to drop 1 of the stack</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getLastDeathLocation</span>()</div>
<divclass="block">Gets the player's last death location.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the last death location if it exists, otherwise null.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setLastDeathLocation</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</span></div>
<divclass="block">Sets the player's last death location.
<br>
<b>Note:</b> This data is updated in the player's client only when the
player respawns.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - where to set the last death player location</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Firework.html"title="interface in org.bukkit.entity">Firework</a></span> <spanclass="element-name">fireworkBoost</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> fireworkItemStack)</span></div>
<divclass="block">Perform a firework boost.
<p>
This method will only work such that <ahref="LivingEntity.html#isGliding()"><code>LivingEntity.isGliding()</code></a> is true and
the entity is actively gliding with an elytra. Additionally, the supplied
<code>fireworkItemStack</code> must be a firework rocket. The power of the boost
will directly correlate to <ahref="../inventory/meta/FireworkMeta.html#getPower()"><code>FireworkMeta.getPower()</code></a>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>fireworkItemStack</code> - the firework item stack to use to glide</dd>
<dt>Returns:</dt>
<dd>the attached <ahref="Firework.html"title="interface in org.bukkit.entity"><code>Firework</code></a>, or null if the entity could not
be boosted</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 fireworkItemStack is not a firework</dd>