<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="Enchantment.html"title="class in org.bukkit.enchantments">org.bukkit.enchantments.Enchantment</a>
<dd><code>net.kyori.adventure.key.Keyed</code>, <code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/translation/Translatable.html"title="class or interface in net.kyori.adventure.translation"class="external-link">Translatable</a></code>, <code><ahref="../Keyed.html"title="interface in org.bukkit">Keyed</a></code></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">EnchantmentWrapper</span>
<spanclass="extends-implements">extends <ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></span></div>
<divclass="block">A simple wrapper for ease of selecting <ahref="Enchantment.html"title="class in org.bukkit.enchantments"><code>Enchantment</code></a>s</div>
</section>
<sectionclass="summary">
<ulclass="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<sectionclass="field-summary"id="field-summary">
<h2>Field Summary</h2>
<divclass="inherited-list">
<h3id="fields-inherited-from-class-org.bukkit.enchantments.Enchantment">Fields inherited from class org.bukkit.enchantments.<ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></h3>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.lang.String)"class="member-name-link">EnchantmentWrapper</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#canEnchantItem(org.bukkit.inventory.ItemStack)"class="member-name-link">canEnchantItem</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> item)</code></div>
<divclass="block">Checks if this Enchantment may be applied to the given <ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory"><code>ItemStack</code></a>.</div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#conflictsWith(org.bukkit.enchantments.Enchantment)"class="member-name-link">conflictsWith</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="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a> other)</code></div>
<divclass="block">Check if this enchantment conflicts with another enchantment.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<divclass="block">Get the name of the enchantment with its applied level.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><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="../inventory/EquipmentSlot.html"title="enum class in org.bukkit.inventory">EquipmentSlot</a>></code></div>
<divclass="block">Gets the damage increase as a result of the level and entity category specified</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></div>
<divclass="block">Gets the enchantment bound to this wrapper</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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="EnchantmentTarget.html"title="enum class in org.bukkit.enchantments">EnchantmentTarget</a></code></div>
<divclass="block">Gets the type of <ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory"><code>ItemStack</code></a> that may fit this Enchantment.</div>
<divclass="block">Gets the maximum level that this Enchantment may become.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="block">Gets the unique name of this enchantment</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="../../../io/papermc/paper/enchantments/EnchantmentRarity.html"title="enum class in io.papermc.paper.enchantments">EnchantmentRarity</a></code></div>
<divclass="block">Checks if this enchantment is a treasure enchantment.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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>
<h3id="methods-inherited-from-class-org.bukkit.enchantments.Enchantment">Methods inherited from class org.bukkit.enchantments.<ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></h3>
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.Keyed">Methods inherited from interface org.bukkit.<ahref="../Keyed.html"title="interface in org.bukkit">Keyed</a></h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">EnchantmentWrapper</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getEnchantment()">
<h3>getEnchantment</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="modifiers">public</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="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></span> <spanclass="element-name">getEnchantment</span>()</div>
<divclass="block">Gets the enchantment bound to this wrapper</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#getMaxLevel()">Enchantment</a></code></span></div>
<divclass="block">Gets the maximum level that this Enchantment may become.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#getMaxLevel()">getMaxLevel</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#getStartLevel()">Enchantment</a></code></span></div>
<divclass="block">Gets the level that this Enchantment should start at</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#getStartLevel()">getStartLevel</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Returns:</dt>
<dd>Starting level of the Enchantment</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getItemTarget()">
<h3>getItemTarget</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="modifiers">public</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="EnchantmentTarget.html"title="enum class in org.bukkit.enchantments">EnchantmentTarget</a></span> <spanclass="element-name">getItemTarget</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#getItemTarget()">Enchantment</a></code></span></div>
<divclass="block">Gets the type of <ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory"><code>ItemStack</code></a> that may fit this Enchantment.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#getItemTarget()">getItemTarget</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">boolean</span> <spanclass="element-name">canEnchantItem</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> item)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#canEnchantItem(org.bukkit.inventory.ItemStack)">Enchantment</a></code></span></div>
<divclass="block">Checks if this Enchantment may be applied to the given <ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory"><code>ItemStack</code></a>.
<p>
This does not check if it conflicts with any enchantments already
applied to the item.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#canEnchantItem(org.bukkit.inventory.ItemStack)">canEnchantItem</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Parameters:</dt>
<dd><code>item</code> - Item to test</dd>
<dt>Returns:</dt>
<dd>True if the enchantment may be applied, otherwise False</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="modifiers">public</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"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#getName()">Enchantment</a></code></span></div>
<divclass="block">Gets the unique name of this enchantment</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#getName()">getName</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#isTreasure()">Enchantment</a></code></span></div>
<divclass="block">Checks if this enchantment is a treasure enchantment.
<br>
Treasure enchantments can only be received via looting, trading, or
fishing.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#isTreasure()">isTreasure</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Returns:</dt>
<dd>true if the enchantment is a treasure enchantment</dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#isCursed()">Enchantment</a></code></span></div>
<divclass="block">Checks if this enchantment is a cursed enchantment
<br>
Cursed enchantments are found the same way treasure enchantments are</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#isCursed()">isCursed</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">boolean</span> <spanclass="element-name">conflictsWith</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="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a> other)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#conflictsWith(org.bukkit.enchantments.Enchantment)">Enchantment</a></code></span></div>
<divclass="block">Check if this enchantment conflicts with another enchantment.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#conflictsWith(org.bukkit.enchantments.Enchantment)">conflictsWith</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Parameters:</dt>
<dd><code>other</code> - The enchantment to check against</dd>
<dt>Returns:</dt>
<dd>True if there is a conflict.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="displayName(int)">
<h3>displayName</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="modifiers">public</span> <spanclass="return-type"><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></span> <spanclass="element-name">displayName</span><wbr><spanclass="parameters">(int level)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#displayName(int)">Enchantment</a></code></span></div>
<divclass="block">Get the name of the enchantment with its applied level.
<p>
If the given <code>level</code> is either less than the <ahref="Enchantment.html#getStartLevel()"><code>Enchantment.getStartLevel()</code></a> or greater than the <ahref="Enchantment.html#getMaxLevel()"><code>Enchantment.getMaxLevel()</code></a>,
the level may not be shown in the numeral format one may otherwise expect.
</p></div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#displayName(int)">displayName</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Parameters:</dt>
<dd><code>level</code> - the level of the enchantment to show</dd>
<dt>Returns:</dt>
<dd>the name of the enchantment with <code>level</code> applied</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="translationKey()">
<h3>translationKey</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="modifiers">public</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">translationKey</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/translation/Translatable.html#translationKey()"title="class or interface in net.kyori.adventure.translation"class="external-link">net.kyori.adventure.translation.Translatable</a></code></span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#isTradeable()">Enchantment</a></code></span></div>
<divclass="block">Checks if this enchantment can be found in villager trades.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#isTradeable()">isTradeable</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Returns:</dt>
<dd>true if the enchantment can be found in trades</dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#isDiscoverable()">Enchantment</a></code></span></div>
<divclass="block">Checks if this enchantment can be found in an enchanting table
or use to enchant items generated by loot tables.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#isDiscoverable()">isDiscoverable</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Returns:</dt>
<dd>true if the enchantment can be found in a table or by loot tables</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getRarity()">
<h3>getRarity</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="modifiers">public</span> <spanclass="return-type"><ahref="../../../io/papermc/paper/enchantments/EnchantmentRarity.html"title="enum class in io.papermc.paper.enchantments">EnchantmentRarity</a></span> <spanclass="element-name">getRarity</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#getRarity()">Enchantment</a></code></span></div>
<divclass="block">Gets the rarity of this enchantment.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#getRarity()">getRarity</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="../entity/EntityCategory.html"title="enum class in org.bukkit.entity">EntityCategory</a> entityCategory)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#getDamageIncrease(int,org.bukkit.entity.EntityCategory)">Enchantment</a></code></span></div>
<divclass="block">Gets the damage increase as a result of the level and entity category specified</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#getDamageIncrease(int,org.bukkit.entity.EntityCategory)">getDamageIncrease</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>
<dt>Parameters:</dt>
<dd><code>level</code> - the level of enchantment</dd>
<dd><code>entityCategory</code> - the category of entity</dd>
<dt>Returns:</dt>
<dd>the damage increase</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getActiveSlots()">
<h3>getActiveSlots</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="modifiers">public</span> <spanclass="return-type"><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="../inventory/EquipmentSlot.html"title="enum class in org.bukkit.inventory">EquipmentSlot</a>></span> <spanclass="element-name">getActiveSlots</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Enchantment.html#getActiveSlots()">Enchantment</a></code></span></div>
<divclass="block">Gets the equipment slots where this enchantment is considered "active".</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Enchantment.html#getActiveSlots()">getActiveSlots</a></code> in class <code><ahref="Enchantment.html"title="class in org.bukkit.enchantments">Enchantment</a></code></dd>