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

Golden pickaxe doesnt work in gold ore loot tables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15.2
    • None
    • Win10, Java 8
    • Unconfirmed
    • (Unassigned)

      When using condition match_tool for golden pickaxe in loot table for gold ore, it doesnt work.

       

      Using this loot table for terracotta works fine.

       

      {
        "type": "minecraft:block",
        "pools": [
            {
              "rolls": 1,
              "entries": [
                {
                  "type": "minecraft:item",
                  "name": "minecraft:diamond"
                }
              ],
              "conditions": [
                {
                  "condition": "minecraft:match_tool",
                  "predicate": {
                    "item": "minecraft:iron_pickaxe"
                  }
                }
              ]
          },
          {
            "rolls": 1,
            "entries": [
              {
                "type": "minecraft:item",
                "name": "minecraft:diamond"
              }
            ],
            "conditions": [
              {
                "condition": "minecraft:match_tool",
                "predicate": {
                  "item": "minecraft:golden_pickaxe"
                }
              }
            ]
        },
        {
          "rolls": 1,
          "entries": [
            {
              "type": "minecraft:item",
              "name": "minecraft:diamond"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:match_tool",
              "predicate": {
                "item": "minecraft:diamond_pickaxe"
              }
            }
          ]
        }
        ]
      }

       

      Using the same code for gold ore does not.

       

            Unassigned Unassigned
            Chaonsen Ernest Torok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: