#How to add mutiple conditions on a loot table?

1 messages · Page 1 of 1 (latest)

rancid orchid
#
  "pools": [
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "match_tool",
          "item": "minecraft:iron_pickaxe",
          "count": 1
        },
        {
          "condition": "match_tool",
          "item": "minecraft:diamond_pickaxe",
          "count": 1
        },
        {
          "condition": "match_tool",
          "item": "minecraft:netherite_pickaxe",
          "count": 1
        }
     ],
      "entries": [
        {
          "type": "item",
          "name": "cd:fraysvva",
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    }
  ]
}```
#

I made this code for a loot table that only drops the item if the iron pickaxe is used, it was working, but when I added the diamond and netherite pickaxe, it stopped working, what could be wrong?

rancid orchid
#

How to add mutiple conditions on a loot table?

keen flame
#

this is asking if its a iron pickaxe and a diamond pickaxe at the same time

#

that wont work, and you cant use an array of items.