<dd><code><ahref="../entity/AbstractHorse.html"title="interface in org.bukkit.entity">AbstractHorse</a></code>, <code><ahref="../entity/AbstractSkeleton.html"title="interface in org.bukkit.entity">AbstractSkeleton</a></code>, <code><ahref="../entity/AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></code>, <code><ahref="../entity/Ageable.html"title="interface in org.bukkit.entity">Ageable</a></code>, <code><ahref="../entity/Allay.html"title="interface in org.bukkit.entity">Allay</a></code>, <code><ahref="../entity/Ambient.html"title="interface in org.bukkit.entity">Ambient</a></code>, <code><ahref="../entity/Animals.html"title="interface in org.bukkit.entity">Animals</a></code>, <code><ahref="../entity/Axolotl.html"title="interface in org.bukkit.entity">Axolotl</a></code>, <code><ahref="../block/Barrel.html"title="interface in org.bukkit.block">Barrel</a></code>, <code><ahref="../entity/Bat.html"title="interface in org.bukkit.entity">Bat</a></code>, <code><ahref="../entity/Bee.html"title="interface in org.bukkit.entity">Bee</a></code>, <code><ahref="../entity/Blaze.html"title="interface in org.bukkit.entity">Blaze</a></code>, <code><ahref="../entity/Breedable.html"title="interface in org.bukkit.entity">Breedable</a></code>, <code><ahref="../entity/Camel.html"title="interface in org.bukkit.entity">Camel</a></code>, <code><ahref="../entity/Cat.html"title="interface in org.bukkit.entity">Cat</a></code>, <code><ahref="../entity/CaveSpider.html"title="interface in org.bukkit.entity">CaveSpider</a></code>, <code><ahref="../block/Chest.html"title="interface in org.bukkit.block">Chest</a></code>, <code><ahref="../entity/ChestBoat.html"title="interface in org.bukkit.entity">ChestBoat</a></code>, <code><ahref="../entity/ChestedHorse.html"title="interface in org.bukkit.entity">ChestedHorse</a></code>, <code><ahref="../entity/Chicken.html"title="interface in org.bukkit.entity">Chicken</a></code>, <code><ahref="../entity/Cod.html"title="interface in org.bukkit.entity">Cod</a></code>, <code><ahref="../entity/Cow.html"title="interface in org.bukkit.entity">Cow</a></code>, <code><ahref="../entity/Creature.html"title="interface in org.bukkit.entity">Creature</a></code>, <code><ahref="../entity/Creeper.html"title="interface in org.bukkit.entity">Creeper</a></code>, <code><ahref="../block/Dispenser.html"title="interface in org.bukkit.block">Dispenser</a></code>, <code><ahref="../entity/Dolphin.html"title="interface in org.bukkit.entity">Dolphin</a></code>, <code><ahref="../entity/Donkey.html"title="interface in org.bukkit.entity">Donkey</a></code>, <code><ahref="../block/Dropper.html"title="interface in org.bukkit.block">Dropper</a></code>, <code><ahref="../entity/Drowned.html"title="interface in org.bukkit.entity">Drowned</a></code>, <code><ahref="../entity/ElderGuardian.html"title="interface in org.bukkit.entity">ElderGuardian</a></code>, <code><ahref="../entity/EnderDragon.html"title="interface in org.bukkit.entity">EnderDragon</a></code>, <code><ahref="../entity/Enderman.html"title="interface in org.bukkit.entity">Enderman</a></code>, <code><ahref="../entity/Endermite.html"title="interface in org.bukkit.entity">Endermite</a></code>, <code><ahref="../entity/Evoker.html"title="interface in org.bukkit.entity">Evoker</a></code>, <code><ahref="../entity/Fish.html"title="interface in org.bukkit.entity">Fish</a></code>, <code><ahref="../entity/Flying.html"title="interface in org.bukkit.entity">Flying</a></code>, <code><ahref="../entity/Fox.html"title="interface in org.bukkit.entity">Fox</a></code>, <code><ahref="../entity/Frog.html"title="interface in org.bukkit.entity">Frog</a></code>, <code><ahref="../entity/Ghast.html"title="interface in org.bukkit.entity">Ghast</a></code>, <code><ahref="../entity/Giant.html"title="interface in org.bukkit.entity">Giant</a></code>, <code><ahref="../entity/GlowSquid.html"title="interface in org.bukkit.entity">GlowSquid</a></code>, <code><ahref="../entity/Goat.html"title="interfaceinorg.bukki
<divclass="block">Clears the associated Loot Table to this object</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="LootTable.html"title="interface in org.bukkit.loot">LootTable</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setLootTable(org.bukkit.loot.LootTable)"class="member-name-link">setLootTable</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="LootTable.html"title="interface in org.bukkit.loot">LootTable</a> table)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#setLootTable(org.bukkit.loot.LootTable,long)"class="member-name-link">setLootTable</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="LootTable.html"title="interface in org.bukkit.loot">LootTable</a> table,
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setLootTable</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="LootTable.html"title="interface in org.bukkit.loot">LootTable</a> table)</span></div>
<divclass="block">Set the loot table for a container or entity.
<br>
To remove a loot table use null. Do not use <ahref="LootTables.html#EMPTY"><code>LootTables.EMPTY</code></a> to
clear a LootTable.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>table</code> - the Loot Table this <ahref="../block/Container.html"title="interface in org.bukkit.block"><code>Container</code></a> or
<ahref="../entity/Mob.html"title="interface in org.bukkit.entity"><code>Mob</code></a> will have.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getLootTable()">
<h3>getLootTable</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="LootTable.html"title="interface in org.bukkit.loot">LootTable</a></span> <spanclass="element-name">getLootTable</span>()</div>
<divclass="block">Gets the Loot Table attached to this block or entity.
<br>
If an block/entity does not have a loot table, this will return null, NOT
an empty loot table.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the Loot Table attached to this block or entity.</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">void</span> <spanclass="element-name">setLootTable</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="LootTable.html"title="interface in org.bukkit.loot">LootTable</a> table,
long seed)</span></div>
<divclass="block">Set the loot table and seed for a container or entity at the same time.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>table</code> - the Loot Table this <ahref="../block/Container.html"title="interface in org.bukkit.block"><code>Container</code></a> or <ahref="../entity/Mob.html"title="interface in org.bukkit.entity"><code>Mob</code></a> will have.</dd>
<dd><code>seed</code> - the seed to used to generate loot. Default is 0.</dd>