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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16.100.54 Beta, 1.16.100
    • 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
    • None
    • Confirmed
    • Android
    • 382263

      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

            Imaker Krisna M
            Votes:
            10 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: