Uses of Interface
org.bukkit.loot.LootTable
Packages that use LootTable
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a 
world,
 including special states.Classes relevant to mob spawners.
Interfaces for non-voxel objects that can exist in a 
world, including all players, monsters, projectiles, etc.Classes relevant to loot table manipulation and generation.
Classes related to entity spawners.
- 
Uses of LootTable in org.bukkit
Methods in org.bukkit that return LootTableModifier and TypeMethodDescriptionstatic @Nullable LootTableBukkit.getLootTable(@NotNull NamespacedKey key) Gets the specifiedLootTable.@Nullable LootTableServer.getLootTable(@NotNull NamespacedKey key) Gets the specifiedLootTable. - 
Uses of LootTable in org.bukkit.block
Methods in org.bukkit.block that return LootTableModifier and TypeMethodDescriptionVault.getDisplayedLootTable()Gets the loot table that this vault will display items from.Vault.getLootTable()Gets theLootTablethat this vault will select rewards from.Methods in org.bukkit.block with parameters of type LootTableModifier and TypeMethodDescriptionvoidVault.setDisplayedLootTable(@Nullable LootTable lootTable) Sets the loot table that this vault will display items from.voidVault.setLootTable(LootTable lootTable) Sets theLootTablethat this vault will select rewards from. - 
Uses of LootTable in org.bukkit.block.spawner
Methods in org.bukkit.block.spawner that return LootTableModifier and TypeMethodDescription@NotNull LootTableSpawnerEntry.Equipment.getEquipmentLootTable()Gets the loot table for the spawned entity's equipment.Methods in org.bukkit.block.spawner with parameters of type LootTableModifier and TypeMethodDescriptionvoidSpawnerEntry.Equipment.setEquipmentLootTable(@NotNull LootTable table) Set the loot table for the spawned entity's equipment slots.Constructors in org.bukkit.block.spawner with parameters of type LootTableModifierConstructorDescriptionEquipment(@NotNull LootTable equipmentLootTable, @NotNull Map<EquipmentSlot, Float> dropChances)  - 
Uses of LootTable in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type LootTableModifier and TypeMethodDescriptiondefault voidMob.setLootTable(@Nullable LootTable table, long seed)  - 
Uses of LootTable in org.bukkit.event.block
Methods in org.bukkit.event.block that return LootTableModifier and TypeMethodDescription@NotNull LootTableBlockDispenseLootEvent.getLootTable()Gets the loot table used to generate the initial loot to dispense.Constructors in org.bukkit.event.block with parameters of type LootTable - 
Uses of LootTable in org.bukkit.event.world
Methods in org.bukkit.event.world that return LootTableModifier and TypeMethodDescription@NotNull LootTableLootGenerateEvent.getLootTable()Get the loot table used to generate loot.Constructors in org.bukkit.event.world with parameters of type LootTableModifierConstructorDescriptionLootGenerateEvent(@NotNull World world, @Nullable Entity entity, @Nullable InventoryHolder inventoryHolder, @NotNull LootTable lootTable, @NotNull LootContext lootContext, @NotNull List<ItemStack> items, boolean plugin)  - 
Uses of LootTable in org.bukkit.loot
Methods in org.bukkit.loot that return LootTableModifier and TypeMethodDescription@Nullable LootTableLootable.getLootTable()Gets the Loot Table attached to this block or entity.@NotNull LootTableLootTables.getLootTable()Get theLootTablecorresponding to this constant.Methods in org.bukkit.loot with parameters of type LootTableModifier and TypeMethodDescriptionvoidLootable.setLootTable(@Nullable LootTable table) Set the loot table for a container or entity.voidLootable.setLootTable(@Nullable LootTable table, long seed) Set the loot table and seed for a container or entity at the same time. - 
Uses of LootTable in org.bukkit.spawner
Methods in org.bukkit.spawner that return types with arguments of type LootTableModifier and TypeMethodDescriptionTrialSpawnerConfiguration.getPossibleRewards()Gets a list ofLootTables this spawner can pick a reward from as well as their associated weight to be chosen.Methods in org.bukkit.spawner with parameters of type LootTableModifier and TypeMethodDescriptionvoidTrialSpawnerConfiguration.addPossibleReward(LootTable table, int weight) Add aLootTableto the list of tables this spawner can pick a reward from with a given weight.voidTrialSpawnerConfiguration.removePossibleReward(LootTable table) Removes the providedLootTablefrom the list of tables this spawner can pick a reward from.Method parameters in org.bukkit.spawner with type arguments of type LootTableModifier and TypeMethodDescriptionvoidTrialSpawnerConfiguration.setPossibleRewards(Map<LootTable, Integer> rewards) Sets the list ofLootTables and their weights this spawner can pick a reward from.