Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-188723

Add-on Loot Tables match tool condition drops items when bare hand used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.44 Hotfix
    • None
    • Unconfirmed
    • Windows

      When coding add-on loot tables using the condition match tool players can use their hands instead of the designated tool to obtain the loot.

       

      Steps to Reproduce:

      1. Code a loot table file for either an entity or block.
      2. Include in the loot table file the following match tool condition code:
        1. { "condition": "match_tool", "item": "minecraft:gold_sword" }
      3. Use your empty hand instead of the Gold Sword to make the entity drop the item

       

      Observed Results:

      Item will drop when using empty hand slot

      Expected Results:

      Item does not drop when using empty hand

            GodRosen GodRosen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: