Beta
Private
constructorAn array of item stacks dropped from the loot drop event. Can be empty if no loot dropped, or undefined if the provided tool is insufficient to mine the block.
Throws if the block is in an unloaded chunk, or if the block's position is outside of world bounds.
Optional
tool: ItemStackOptional. The tool to use in the looting operation.
An array of item stacks dropped from the loot drop event. Can be empty if no loot dropped, or undefined if the provided tool is insufficient to mine the block.
An array of item stacks dropped from the loot drop event. Can be empty if no loot dropped, or undefined if the entity was invalid.
Optional
tool: ItemStackOptional. The tool to use in the looting operation.
An array of item stacks dropped from the loot drop event. Can be empty if no loot dropped.
Manager for Loot Table related APIs. Allows for generation of drops from blocks and entities according to their loot tables.