Class LootGenerateEvent

All Implemented Interfaces:
Cancellable

public class LootGenerateEvent
extends WorldEvent
implements Cancellable
Called when a LootTable is generated in the world for an InventoryHolder. This event is NOT currently called when an entity's loot table has been generated (use EntityDeathEvent.getDrops(), but WILL be called by plugins invoking LootTable.fillInventory(org.bukkit.inventory.Inventory, java.util.Random, LootContext).