Scissors-Website/public/javadoc/1.17.1/org/bukkit/inventory/EntityEquipment.html
2022-07-05 18:33:56 -05:00

1028 lines
81 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>EntityEquipment (Scissors-API 1.17.1-R0.1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.bukkit.inventory, interface: EntityEquipment">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.bukkit.inventory</a></div>
<h1 title="Interface EntityEquipment" class="title">Interface EntityEquipment</h1>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">EntityEquipment</span></div>
<div class="block">An interface to a creatures inventory</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#clear()" class="member-name-link">clear</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Clears the entity of all armor and held items</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>[]</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getArmorContents()" class="member-name-link">getArmorContents</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a copy of all worn armor</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBoots()" class="member-name-link">getBoots</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a copy of the boots currently being worn by the entity</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBootsDropChance()" class="member-name-link">getBootsDropChance</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the chance of the boots being dropped upon this creature's death.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChestplate()" class="member-name-link">getChestplate</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a copy of the chest plate currently being worn by the entity</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChestplateDropChance()" class="member-name-link">getChestplateDropChance</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the chance of the chest plate being dropped upon this creature's
death.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getDropChance(org.bukkit.inventory.EquipmentSlot)" class="member-name-link">getDropChance</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the drop chance of specified slot.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHelmet()" class="member-name-link">getHelmet</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a copy of the helmet currently being worn by the entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHelmetDropChance()" class="member-name-link">getHelmetDropChance</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the chance of the helmet being dropped upon this creature's death.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHolder()" class="member-name-link">getHolder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get the entity this EntityEquipment belongs to</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getItem(org.bukkit.inventory.EquipmentSlot)" class="member-name-link">getItem</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the ItemStack at the given equipment slot in the inventory.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getItemInHand()" class="member-name-link">getItemInHand</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the
specific hand instead</div>
</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getItemInHandDropChance()" class="member-name-link">getItemInHandDropChance</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the specific
hand instead</div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getItemInMainHand()" class="member-name-link">getItemInMainHand</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a copy of the item the entity is currently holding
in their main hand.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getItemInMainHandDropChance()" class="member-name-link">getItemInMainHandDropChance</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the chance of the main hand item being dropped upon this creature's
death.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getItemInOffHand()" class="member-name-link">getItemInOffHand</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a copy of the item the entity is currently holding
in their off hand.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getItemInOffHandDropChance()" class="member-name-link">getItemInOffHandDropChance</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the chance of the off hand item being dropped upon this creature's
death.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeggings()" class="member-name-link">getLeggings</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a copy of the leggings currently being worn by the entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeggingsDropChance()" class="member-name-link">getLeggingsDropChance</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the chance of the leggings being dropped upon this creature's
death.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setArmorContents(org.bukkit.inventory.ItemStack%5B%5D)" class="member-name-link">setArmorContents</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>[]&nbsp;items)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the entities armor to the provided array of ItemStacks</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBoots(org.bukkit.inventory.ItemStack)" class="member-name-link">setBoots</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;boots)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the boots worn by the entity</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBoots(org.bukkit.inventory.ItemStack,boolean)" class="member-name-link">setBoots</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;boots,
boolean&nbsp;silent)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the boots worn by the entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBootsDropChance(float)" class="member-name-link">setBootsDropChance</a><wbr>(float&nbsp;chance)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chance of the boots being dropped upon this creature's death.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setChestplate(org.bukkit.inventory.ItemStack)" class="member-name-link">setChestplate</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;chestplate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chest plate worn by the entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setChestplate(org.bukkit.inventory.ItemStack,boolean)" class="member-name-link">setChestplate</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;chestplate,
boolean&nbsp;silent)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chest plate worn by the entity</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setChestplateDropChance(float)" class="member-name-link">setChestplateDropChance</a><wbr>(float&nbsp;chance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chance of the chest plate being dropped upon this creature's
death.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setDropChance(org.bukkit.inventory.EquipmentSlot,float)" class="member-name-link">setDropChance</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot,
float&nbsp;chance)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the drop chance of the specified slot.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setHelmet(org.bukkit.inventory.ItemStack)" class="member-name-link">setHelmet</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;helmet)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the helmet worn by the entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setHelmet(org.bukkit.inventory.ItemStack,boolean)" class="member-name-link">setHelmet</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;helmet,
boolean&nbsp;silent)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the helmet worn by the entity</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setHelmetDropChance(float)" class="member-name-link">setHelmetDropChance</a><wbr>(float&nbsp;chance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chance of the helmet being dropped upon this creature's death.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItem(org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack)" class="member-name-link">setItem</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Stores the ItemStack at the given equipment slot in the inventory.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItem(org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack,boolean)" class="member-name-link">setItem</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item,
boolean&nbsp;silent)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Stores the ItemStack at the given equipment slot in the inventory.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setItemInHand(org.bukkit.inventory.ItemStack)" class="member-name-link">setItemInHand</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;stack)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the
specific hand instead</div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setItemInHandDropChance(float)" class="member-name-link">setItemInHandDropChance</a><wbr>(float&nbsp;chance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the specific
hand instead</div>
</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItemInMainHand(org.bukkit.inventory.ItemStack)" class="member-name-link">setItemInMainHand</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the item the entity is holding in their main hand.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItemInMainHand(org.bukkit.inventory.ItemStack,boolean)" class="member-name-link">setItemInMainHand</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item,
boolean&nbsp;silent)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the item the entity is holding in their main hand.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItemInMainHandDropChance(float)" class="member-name-link">setItemInMainHandDropChance</a><wbr>(float&nbsp;chance)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chance of the item this creature is currently holding in their
main hand being dropped upon this creature's death.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItemInOffHand(org.bukkit.inventory.ItemStack)" class="member-name-link">setItemInOffHand</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the item the entity is holding in their off hand.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItemInOffHand(org.bukkit.inventory.ItemStack,boolean)" class="member-name-link">setItemInOffHand</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item,
boolean&nbsp;silent)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the item the entity is holding in their off hand.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setItemInOffHandDropChance(float)" class="member-name-link">setItemInOffHandDropChance</a><wbr>(float&nbsp;chance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chance of the off hand item being dropped upon this creature's
death.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLeggings(org.bukkit.inventory.ItemStack)" class="member-name-link">setLeggings</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;leggings)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the leggings worn by the entity</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLeggings(org.bukkit.inventory.ItemStack,boolean)" class="member-name-link">setLeggings</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;leggings,
boolean&nbsp;silent)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the leggings worn by the entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLeggingsDropChance(float)" class="member-name-link">setLeggingsDropChance</a><wbr>(float&nbsp;chance)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chance of the leggings being dropped upon this creature's
death.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="setItem(org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack)">
<h3>setItem</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItem</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item)</span></div>
<div class="block">Stores the ItemStack at the given equipment slot in the inventory.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>slot</code> - the slot to put the ItemStack</dd>
<dd><code>item</code> - the ItemStack to set</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItem(org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack,boolean)">
<h3>setItem</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItem</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item,
boolean&nbsp;silent)</span></div>
<div class="block">Stores the ItemStack at the given equipment slot in the inventory.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>slot</code> - the slot to put the ItemStack</dd>
<dd><code>item</code> - the ItemStack to set</dd>
<dd><code>silent</code> - whether or not the equip sound should be silenced</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getItem(org.bukkit.inventory.EquipmentSlot)">
<h3>getItem</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getItem</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot)</span></div>
<div class="block">Gets the ItemStack at the given equipment slot in the inventory.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>slot</code> - the slot to get the ItemStack</dd>
<dt>Returns:</dt>
<dd>the ItemStack in the given slot</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getItemInMainHand()">
<h3>getItemInMainHand</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getItemInMainHand</span>()</div>
<div class="block">Gets a copy of the item the entity is currently holding
in their main hand.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the currently held item</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInMainHand(org.bukkit.inventory.ItemStack)">
<h3>setItemInMainHand</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInMainHand</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item)</span></div>
<div class="block">Sets the item the entity is holding in their main hand.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - The item to put into the entities hand</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInMainHand(org.bukkit.inventory.ItemStack,boolean)">
<h3>setItemInMainHand</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInMainHand</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item,
boolean&nbsp;silent)</span></div>
<div class="block">Sets the item the entity is holding in their main hand.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - The item to put into the entities hand</dd>
<dd><code>silent</code> - whether or not the equip sound should be silenced</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getItemInOffHand()">
<h3>getItemInOffHand</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getItemInOffHand</span>()</div>
<div class="block">Gets a copy of the item the entity is currently holding
in their off hand.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the currently held item</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInOffHand(org.bukkit.inventory.ItemStack)">
<h3>setItemInOffHand</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInOffHand</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item)</span></div>
<div class="block">Sets the item the entity is holding in their off hand.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - The item to put into the entities hand</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInOffHand(org.bukkit.inventory.ItemStack,boolean)">
<h3>setItemInOffHand</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInOffHand</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;item,
boolean&nbsp;silent)</span></div>
<div class="block">Sets the item the entity is holding in their off hand.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - The item to put into the entities hand</dd>
<dd><code>silent</code> - whether or not the equip sound should be silenced</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getItemInHand()">
<h3>getItemInHand</h3>
<div class="member-signature"><span class="annotations"><a href="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>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getItemInHand</span>()</div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the
specific hand instead</div>
</div>
<div class="block">Gets a copy of the item the entity is currently holding</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the currently held item</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="#getItemInMainHand()"><code>getItemInMainHand()</code></a></li>
<li><a href="#getItemInOffHand()"><code>getItemInOffHand()</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInHand(org.bukkit.inventory.ItemStack)">
<h3>setItemInHand</h3>
<div class="member-signature"><span class="annotations"><a href="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><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInHand</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;stack)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the
specific hand instead</div>
</div>
<div class="block">Sets the item the entity is holding</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stack</code> - The item to put into the entities hand</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="#setItemInMainHand(org.bukkit.inventory.ItemStack)"><code>setItemInMainHand(ItemStack)</code></a></li>
<li><a href="#setItemInOffHand(org.bukkit.inventory.ItemStack)"><code>setItemInOffHand(ItemStack)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHelmet()">
<h3>getHelmet</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getHelmet</span>()</div>
<div class="block">Gets a copy of the helmet currently being worn by the entity</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The helmet being worn</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHelmet(org.bukkit.inventory.ItemStack)">
<h3>setHelmet</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHelmet</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;helmet)</span></div>
<div class="block">Sets the helmet worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>helmet</code> - The helmet to put on the entity</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHelmet(org.bukkit.inventory.ItemStack,boolean)">
<h3>setHelmet</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHelmet</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;helmet,
boolean&nbsp;silent)</span></div>
<div class="block">Sets the helmet worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>helmet</code> - The helmet to put on the entity</dd>
<dd><code>silent</code> - whether or not the equip sound should be silenced</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChestplate()">
<h3>getChestplate</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getChestplate</span>()</div>
<div class="block">Gets a copy of the chest plate currently being worn by the entity</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The chest plate being worn</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setChestplate(org.bukkit.inventory.ItemStack)">
<h3>setChestplate</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setChestplate</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;chestplate)</span></div>
<div class="block">Sets the chest plate worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chestplate</code> - The chest plate to put on the entity</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setChestplate(org.bukkit.inventory.ItemStack,boolean)">
<h3>setChestplate</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setChestplate</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;chestplate,
boolean&nbsp;silent)</span></div>
<div class="block">Sets the chest plate worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chestplate</code> - The chest plate to put on the entity</dd>
<dd><code>silent</code> - whether or not the equip sound should be silenced</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLeggings()">
<h3>getLeggings</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getLeggings</span>()</div>
<div class="block">Gets a copy of the leggings currently being worn by the entity</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The leggings being worn</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLeggings(org.bukkit.inventory.ItemStack)">
<h3>setLeggings</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setLeggings</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;leggings)</span></div>
<div class="block">Sets the leggings worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>leggings</code> - The leggings to put on the entity</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLeggings(org.bukkit.inventory.ItemStack,boolean)">
<h3>setLeggings</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setLeggings</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;leggings,
boolean&nbsp;silent)</span></div>
<div class="block">Sets the leggings worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>leggings</code> - The leggings to put on the entity</dd>
<dd><code>silent</code> - whether or not the equip sound should be silenced</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBoots()">
<h3>getBoots</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getBoots</span>()</div>
<div class="block">Gets a copy of the boots currently being worn by the entity</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The boots being worn</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBoots(org.bukkit.inventory.ItemStack)">
<h3>setBoots</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBoots</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;boots)</span></div>
<div class="block">Sets the boots worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>boots</code> - The boots to put on the entity</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBoots(org.bukkit.inventory.ItemStack,boolean)">
<h3>setBoots</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBoots</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&nbsp;boots,
boolean&nbsp;silent)</span></div>
<div class="block">Sets the boots worn by the entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>boots</code> - The boots to put on the entity</dd>
<dd><code>silent</code> - whether or not the equip sound should be silenced</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getArmorContents()">
<h3>getArmorContents</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>[]</span>&nbsp;<span class="element-name">getArmorContents</span>()</div>
<div class="block">Gets a copy of all worn armor</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The array of worn armor. Individual items may be null.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setArmorContents(org.bukkit.inventory.ItemStack[])">
<h3>setArmorContents</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setArmorContents</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>[]&nbsp;items)</span></div>
<div class="block">Sets the entities armor to the provided array of ItemStacks</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>items</code> - The items to set the armor as. Individual items may be null.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clear()">
<h3>clear</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">clear</span>()</div>
<div class="block">Clears the entity of all armor and held items</div>
</section>
</li>
<li>
<section class="detail" id="getItemInHandDropChance()">
<h3>getItemInHandDropChance</h3>
<div class="member-signature"><span class="annotations"><a href="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><span class="return-type">float</span>&nbsp;<span class="element-name">getItemInHandDropChance</span>()</div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the specific
hand instead</div>
</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>drop chance</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="#getItemInMainHandDropChance()"><code>getItemInMainHandDropChance()</code></a></li>
<li><a href="#getItemInOffHandDropChance()"><code>getItemInOffHandDropChance()</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInHandDropChance(float)">
<h3>setItemInHandDropChance</h3>
<div class="member-signature"><span class="annotations"><a href="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><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInHandDropChance</span><wbr><span class="parameters">(float&nbsp;chance)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">entities can duel wield now use the methods for the specific
hand instead</div>
</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - drop chance</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="#setItemInMainHandDropChance(float)"><code>setItemInMainHandDropChance(float)</code></a></li>
<li><a href="#setItemInOffHandDropChance(float)"><code>setItemInOffHandDropChance(float)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getItemInMainHandDropChance()">
<h3>getItemInMainHandDropChance</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getItemInMainHandDropChance</span>()</div>
<div class="block">Gets the chance of the main hand item being dropped upon this creature's
death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>chance of the currently held item being dropped (1 for non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a>)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInMainHandDropChance(float)">
<h3>setItemInMainHandDropChance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInMainHandDropChance</span><wbr><span class="parameters">(float&nbsp;chance)</span></div>
<div class="block">Sets the chance of the item this creature is currently holding in their
main hand being dropped upon this creature's death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - the chance of the main hand item being dropped</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - when called on non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getItemInOffHandDropChance()">
<h3>getItemInOffHandDropChance</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getItemInOffHandDropChance</span>()</div>
<div class="block">Gets the chance of the off hand item being dropped upon this creature's
death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>chance of the off hand item being dropped (1 for non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a>)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setItemInOffHandDropChance(float)">
<h3>setItemInOffHandDropChance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setItemInOffHandDropChance</span><wbr><span class="parameters">(float&nbsp;chance)</span></div>
<div class="block">Sets the chance of the off hand item being dropped upon this creature's
death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - the chance of off hand item being dropped</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - when called on non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHelmetDropChance()">
<h3>getHelmetDropChance</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getHelmetDropChance</span>()</div>
<div class="block">Gets the chance of the helmet being dropped upon this creature's death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the chance of the helmet being dropped (1 for non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a>)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHelmetDropChance(float)">
<h3>setHelmetDropChance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHelmetDropChance</span><wbr><span class="parameters">(float&nbsp;chance)</span></div>
<div class="block">Sets the chance of the helmet being dropped upon this creature's death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - of the helmet being dropped</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - when called on non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChestplateDropChance()">
<h3>getChestplateDropChance</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getChestplateDropChance</span>()</div>
<div class="block">Gets the chance of the chest plate being dropped upon this creature's
death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the chance of the chest plate being dropped (1 for non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a>)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setChestplateDropChance(float)">
<h3>setChestplateDropChance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setChestplateDropChance</span><wbr><span class="parameters">(float&nbsp;chance)</span></div>
<div class="block">Sets the chance of the chest plate being dropped upon this creature's
death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - of the chest plate being dropped</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - when called on non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLeggingsDropChance()">
<h3>getLeggingsDropChance</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getLeggingsDropChance</span>()</div>
<div class="block">Gets the chance of the leggings being dropped upon this creature's
death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the chance of the leggings being dropped (1 for non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a>)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLeggingsDropChance(float)">
<h3>setLeggingsDropChance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setLeggingsDropChance</span><wbr><span class="parameters">(float&nbsp;chance)</span></div>
<div class="block">Sets the chance of the leggings being dropped upon this creature's
death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - chance of the leggings being dropped</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - when called on non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBootsDropChance()">
<h3>getBootsDropChance</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getBootsDropChance</span>()</div>
<div class="block">Gets the chance of the boots being dropped upon this creature's death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the chance of the boots being dropped (1 for non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a>)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBootsDropChance(float)">
<h3>setBootsDropChance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBootsDropChance</span><wbr><span class="parameters">(float&nbsp;chance)</span></div>
<div class="block">Sets the chance of the boots being dropped upon this creature's death.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - of the boots being dropped</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - when called on non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHolder()">
<h3>getHolder</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a></span>&nbsp;<span class="element-name">getHolder</span>()</div>
<div class="block">Get the entity this EntityEquipment belongs to</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the entity this EntityEquipment belongs to</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDropChance(org.bukkit.inventory.EquipmentSlot)">
<h3>getDropChance</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getDropChance</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot)</span></div>
<div class="block">Gets the drop chance of specified slot.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>slot</code> - the slot to get the drop chance of</dd>
<dt>Returns:</dt>
<dd>the drop chance for the slot</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDropChance(org.bukkit.inventory.EquipmentSlot,float)">
<h3>setDropChance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDropChance</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a>&nbsp;slot,
float&nbsp;chance)</span></div>
<div class="block">Sets the drop chance of the specified slot.
<ul>
<li>A drop chance of 0.0F will never drop
<li>A drop chance of 1.0F will always drop
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>slot</code> - the slot to set the drop chance of</dd>
<dd><code>chance</code> - the drop chance for the slot</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - when called on non-<a href="../entity/Mob.html" title="interface in org.bukkit.entity"><code>Mob</code></a> entities</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>