Uses of Class
org.bukkit.loot.LootContext
Packages that use LootContext
Package
Description
Classes relevant to loot table manipulation and generation.
-
Uses of LootContext in org.bukkit.event.world
Methods in org.bukkit.event.world that return LootContextModifier and TypeMethodDescriptionLootGenerateEvent.getLootContext()Get the loot context used to provide context to the loot table's loot generation.Constructors in org.bukkit.event.world with parameters of type LootContextModifierConstructorDescriptionLootGenerateEvent(World world, Entity entity, InventoryHolder inventoryHolder, LootTable lootTable, LootContext lootContext, List<ItemStack> items, boolean plugin) -
Uses of LootContext in org.bukkit.loot
Methods in org.bukkit.loot that return LootContextModifier and TypeMethodDescriptionLootContext.Builder.build()Create a newLootContextinstance using the supplied parameters.Methods in org.bukkit.loot with parameters of type LootContextModifier and TypeMethodDescriptionvoidLootTable.fillInventory(Inventory inventory, Random random, LootContext context)Attempt to fill an inventory with this LootTable's loot.LootTable.populateLoot(Random random, LootContext context)Returns a mutable list of loot generated by this LootTable.