Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-138163

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 18w43c
    • None
    • Confirmed

      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.

            boq [Mojang] Bartosz Bok
            AlexMCool Alex³
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: