Mojira Archive
MC-138163

/loot mine doesn't always drop the same as mining the block manually

The bug

While /drop <target> mine should block the same as manually mining the block, this isn't always the case. This probably happens because when mining the block manually, the loot table isn't invoked if the tool has a too low tier, while /drop doesn't do the same check.

How to reproduce

Via /drop

  • Make sure you hold nothing in your (main)hand and place a stone block
    /setblock ^ ^ ^1 minecraft:stone
    
  • Drop the item from the stone block that just got placed, while using your (empty) mainhand
    /drop player @s mine ^ ^ ^1 mainhand
    

    Note that you will get a cobblestone item

Manually

  • Break the stone block manually (without a tool, in survival mode)
    This time no item will drop.

Invalid

Alex³

[Mojang] Bartosz Bok

2018-10-27, 11:42 AM

2023-08-31, 04:20 AM

2018-10-29, 09:46 AM

1

6

Confirmed

Minecraft 18w43c

-