Rc
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.
Beta
Path to the table to retrieve. Does not include file
extension, or 'loot_tables/' folder prefix. Example:
entities/creeper
.
Returns a LootTable if one is found, or undefined
if the
provided path does not correspond to an existing loot table.
Manager for Loot Table related APIs. Allows for generation of drops from blocks and entities according to their loot tables.