mojira.dev
MCPE-44417

Pillagers and vindicators spawned from raids don't drop iron pickaxes

In Raider drops from loot tables, Vindicator and Pillager never drops Iron Pickaxe because its named minecraft:iron_pick which is invalid item name.

{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "name": "minecraft:emerald",
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 0,
                "max": 1
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 1
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "random_difficulty_chance",
          "default_chance": 0.65,
          "peaceful": 0,
          "hard": 0.8
        }
      ],
      "entries": [
        {
          "type": "item",
          "name": "minecraft:emerald",
          "weight": 40,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 0,
                "max": 1
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:emerald",
          "weight": 20,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 3
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:emerald",
          "weight": 8,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 4,
                "max": 5
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:book",
          "weight": 8,
          "functions": [
            {
              "function": "enchant_with_levels",
              "levels": 30,
              "treasure": true
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_pick",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_axe",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_shovel",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_sword",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_helmet",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_chestplate",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_leggings",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_boots",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.5
            },
            {
              "function": "set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        }
      ]
    }
  ]
}

It should be minecraft:iron_pickaxe

Comments 4

I have never seen a vindicator or a pillager dropping a pickaxe before, even if the wiki said that they do drop pickaxes. It should definitely be fixed.

I think this is Fixed right?

Took a look in the loot tables folder just now, this hasn't been fixed yet @Erick Delez.

Krisna M

(Unassigned)

382263

Confirmed

Android

Android 8.1

1.16.0.59 Beta, 1.14.20 Hotfix, 1.12.0.2 Beta, 1.11.0.10 Beta, 1.11.0.9 Beta, 1.12.0.6 Beta, 1.11.1, 1.11.2, 1.11.4, 1.14.60 Hotfix

1.16.100.54 Beta, 1.16.100

Retrieved