Class BlockDispenseLootEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockDispenseLootEvent
All Implemented Interfaces:
Cancellable

@Experimental public class BlockDispenseLootEvent extends BlockEvent implements Cancellable
Called when a block dispenses loot from its designated LootTable. This is not to be confused with events like BlockDispenseEvent which fires when a singular item is dispensed from its inventory container.

Example: A player unlocks a trial chamber vault and the vault block dispenses its loot.