实验性
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.
Throws if the block is in an unloaded chunk, or if the block's position is outside of world bounds.
可选
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 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.
可选
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.