The bug
The purpose of the /loot
command’s mine
overload is to simulate mining a block with a specific tool. That’s why the tool
argument is provided. And possibly the only time the tool matters for the loot of a block is with silk touch. That’s why this command works in Java:
/loot give @s mine ~ ~-1 ~ diamond_pickaxe[enchantments={silk_touch:1}]
In Bedrock, this same command gives a syntax error. So there is no way to simulate mining a block with enchantments, only the item type. Which is almost useless since loot tables almost never depend on the tool type alone.
How to reproduce
Stand on some stone
/loot give @s mine ~ ~-1 ~ diamond_pickaxe[enchantments={silk_touch:1}]
Expected result
You get one stone item
Observed result
Syntax error
Comments 0
No comments.