mojira.dev
MC-174169

Golden pickaxe doesnt work in gold ore loot tables

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.

 

Linked issues

Comments 0

No comments.

Ernest Torok

(Unassigned)

Unconfirmed

(Unassigned)

1.15.2

Retrieved