Uses of Interface
org.bukkit.loot.LootTable
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relevant to loot table manipulation and generation.
-
Uses of LootTable in org.bukkit
Modifier and TypeMethodDescriptionstatic LootTable
Bukkit.getLootTable(NamespacedKey key)
Gets the specifiedLootTable
.Server.getLootTable(NamespacedKey key)
Gets the specifiedLootTable
. -
Uses of LootTable in org.bukkit.event.world
Modifier and TypeMethodDescriptionLootGenerateEvent.getLootTable()
Get the loot table used to generate loot.ModifierConstructorDescriptionLootGenerateEvent(World world, Entity entity, InventoryHolder inventoryHolder, LootTable lootTable, LootContext lootContext, List<ItemStack> items, boolean plugin)
-
Uses of LootTable in org.bukkit.loot
Modifier and TypeMethodDescriptionLootable.getLootTable()
Gets the Loot Table attached to this block or entity.LootTables.getLootTable()
Get theLootTable
corresponding to this constant.Modifier and TypeMethodDescriptionvoid
Lootable.setLootTable(LootTable table)
Set the loot table for a container or entity.