Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Zombified Piglin: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{For||Zombie (disambiguation)|Piglin (disambiguation)}}
{{For||Zombie (disambiguation)|Piglin (disambiguation)}}
{{Update|Damage dealt by zombified piglin with spear}}
{{Needs render|
{{Needs render|
*Render of baby with spear
{{collapse|content=*Render of baby with spear
*Render of Crossbow in Bedrock
*Render of Crossbow in Bedrock
*Render of Axe in Bedrock
*Render of Axe in Bedrock
*Renders of Adult and Baby with Warped Fungus on a Stick}}
*Renders of Adult and Baby with Warped Fungus on a Stick}}}}
{{Infobox entity
{{Infobox entity
| group = Adult with Sword
| group = Adult with Sword
Line 14: Line 13:
| 1-2 = Zombified Piglin BE.png
| 1-2 = Zombified Piglin BE.png
| *-2caption = {{BE}}
| *-2caption = {{BE}}
| 2-1 = Zombified Piglin With Golden Spear JE.png
| 2-1 = Zombified Piglin With Golden Spear JE2.png
| 2-1size = 190px
| 2-1size = 190px
| 2-2 = Zombified Piglin With Golden Spear BE.png
| 2-2 = Zombified Piglin With Golden Spear BE.png
Line 50: Line 49:
Normal: {{hp|8}}<br>
Normal: {{hp|8}}<br>
Hard: {{hp|12}}<br>
Hard: {{hp|12}}<br>
{{ItemLink|Golden Spear}}:{{check the code|How speed affects the damage}} <br>Easy: {{hp|4}}<br>Normal: {{hp|6}}<br>Hard: {{hp|7}}
{{ItemLink|Golden Spear}}:
<br>''the damage depends on the [[Minecraft:velocity]] <br>Minimum:''<br>Easy: {{hp|6}}<br>Normal: {{hp|10}}<br>Hard: {{hp|15}}
<hr>
<hr>
'''Unarmed:'''<br>Easy: {{hp|3.5}}<br>Normal: {{hp|5}}<br>Hard: {{hp|7.5}}
'''Unarmed:'''<br>Easy: {{hp|3.5}}<br>Normal: {{hp|5}}<br>Hard: {{hp|7.5}}
| size = '''{{IN|Java}}:'''<br>
| size = '''Adult {{IN|Java}}:'''<br>Height: 1.95 blocks<br>Width: 0.6 blocks<br>
'''Adult:'''<br>Height: 1.95 blocks<br>Width: 0.6 blocks<br>
'''Adult {{IN|Bedrock}}:'''<br>Height: 1.9 blocks<br>Width: 0.6 blocks<br>
'''{{IN|Bedrock}}:'''<br>
'''Adult:'''<br>Height: 1.9 blocks<br>Width: 0.6 blocks<br>
'''Both editions:'''
'''Baby:'''<br>Height: 0.98 blocks<br>Width: 0.49 blocks
'''Baby:'''<br>Height: 0.98 blocks<br>Width: 0.49 blocks
| speed = 0.23<br>0.35 (As a baby on {{JE}} or when angry on {{BE}})<br>0.24 (When angry on {{JE}})<br>0.37 (When angry as a baby on {{JE}})
| speed = 0.23<br>0.35 (As a baby on {{JE}} or when angry on {{BE}})<br>0.24 (When angry on {{JE}})<br>0.37 (When angry as a baby on {{JE}})
Line 103: Line 100:
{{IN|java}}, on [[Minecraft:wikipedia:Halloween|Halloween]] (October 31), zombified piglins have a 22.5% chance of spawning with a [[Minecraft:carved pumpkin]] or a 2.5% chance of spawning with a [[Minecraft:jack o'lantern]] equipped as headgear. This is not dropped, even if killed with [[Minecraft:Looting]].
{{IN|java}}, on [[Minecraft:wikipedia:Halloween|Halloween]] (October 31), zombified piglins have a 22.5% chance of spawning with a [[Minecraft:carved pumpkin]] or a 2.5% chance of spawning with a [[Minecraft:jack o'lantern]] equipped as headgear. This is not dropped, even if killed with [[Minecraft:Looting]].


=== Chicken jockey ===
=== Chicken jockeys ===
{{Exclusive|section=1|Java}}
{{Exclusive|section=1|Java}}
Baby zombified piglins can spawn as a [[Minecraft:chicken jockey]], with the following probability:
Baby zombified piglins can spawn as a [[Minecraft:chicken jockey]], with the following probability:
Line 114: Line 111:
Zombified piglins spawn in [[Minecraft:the Nether]] at light level 11 and below on most blocks other than [[Minecraft:Nether wart block]]s. They spawn most commonly in [[Minecraft:Nether wastes]] in groups of 4, frequently in [[Minecraft:Nether fortress]]es in groups of 4, and uncommonly in [[Minecraft:crimson forest]]s in groups of 2-4. {{IN|Bedrock}}, zombified piglins spawn in groups of 2-4 on both [[Minecraft:Nether waste]]s and [[Minecraft:crimson forest]]s and individually on [[Minecraft:Nether fortress]]es.  
Zombified piglins spawn in [[Minecraft:the Nether]] at light level 11 and below on most blocks other than [[Minecraft:Nether wart block]]s. They spawn most commonly in [[Minecraft:Nether wastes]] in groups of 4, frequently in [[Minecraft:Nether fortress]]es in groups of 4, and uncommonly in [[Minecraft:crimson forest]]s in groups of 2-4. {{IN|Bedrock}}, zombified piglins spawn in groups of 2-4 on both [[Minecraft:Nether waste]]s and [[Minecraft:crimson forest]]s and individually on [[Minecraft:Nether fortress]]es.  


=== Strider jockey ===
=== Strider jockeys ===
{{main|Strider Jockey}}
{{main|Strider Jockey}}
{{exclusive|java|section=1}}
{{exclusive|java|section=1}}
Line 126: Line 123:
{{IN|java}}, they appear inside one of the portal blocks on the bottom. Zombified piglins who spawn in this way cannot travel to [[Minecraft:the Nether]] for a preset amount of time, whether they walk through the portal they spawned in or through nearby portals.
{{IN|java}}, they appear inside one of the portal blocks on the bottom. Zombified piglins who spawn in this way cannot travel to [[Minecraft:the Nether]] for a preset amount of time, whether they walk through the portal they spawned in or through nearby portals.


{{IN|bedrock}}, they spawn one block to the east or south of the portal (depending on which direction the portal is facing). Neither [[Minecraft:slab]]s nor lighting prevents this. Every portal block is immediately ticked when the portal is first activated; therefore, if a large portal is repeatedly activated and deactivated, zombified piglins can spawn rapidly<ref>{{bug|MCPE-98020}}</ref>. However, portals at negative heights do not spawn zombified piglins at all.
{{IN|bedrock}}, they spawn one block to the east or south of the portal (depending on which direction the portal is facing). Neither [[Minecraft:slab]]s nor lighting prevents this. Every portal block is immediately ticked when the portal is first activated; therefore, if a large portal is repeatedly activated and deactivated, zombified piglins can spawn rapidly.<ref>{{bug|MCPE-98020}}</ref> However, portals at negative heights do not spawn zombified piglins at all.


Zombified piglins spawning via this process is completely independent of the [[Minecraft:mob cap]], similar to the spawning of [[Minecraft:phantom]]s {{in|Java}}, which means they can still spawn if there are a sufficient number of hostile mobs in the world.
Zombified piglins spawning via this process is completely independent of the [[Minecraft:mob cap]], similar to the spawning of [[Minecraft:phantom]]s {{in|Java}}, which means they can still spawn if there are a sufficient number of hostile mobs in the world.
Line 175: Line 172:
Zombified piglins wander aimlessly about when idle. They move at 2.28&nbsp;m/s and are immune to [[Minecraft:fire]] and [[Minecraft:lava]]. When provoked, their speed increases to 3.38&nbsp;m/s or faster for babies.
Zombified piglins wander aimlessly about when idle. They move at 2.28&nbsp;m/s and are immune to [[Minecraft:fire]] and [[Minecraft:lava]]. When provoked, their speed increases to 3.38&nbsp;m/s or faster for babies.


{{IN|java}}, like [[Minecraft:zombie]]s, some zombified piglins can attack [[Minecraft:wooden door|wooden]] and [[Minecraft:copper door]]s and may break them on Hard difficulty or in [[Minecraft:Hardcore]] mode.<ref>{{bug|MC-62048}} marked 'Works As Intended'</ref>  
{{IN|java}}, like [[Minecraft:zombie]]s, some zombified piglins can attack [[Minecraft:wooden door|wooden]] and [[Minecraft:copper door]]s and may break them on Hard difficulty or in [[Minecraft:Hardcore]] mode.<ref>{{bug|MC-62048|||WAI}} </ref>  


In Normal and Hard difficulties, up to 55%{{Only|java|short=y}} or 25%{{Only|bedrock|short=y}} of zombified piglins can pick up any [[Minecraft:armor]] pieces and [[Minecraft:sword]]s better than their golden one, which they always drop when killed. This also prevents them from despawning.  
In Normal and Hard difficulties, up to 55%{{Only|java|short=y}} or 25%{{Only|bedrock|short=y}} of zombified piglins can pick up any [[Minecraft:armor]] pieces and [[Minecraft:sword]]s better than their golden one, which they always drop when killed. This also prevents them from despawning.  
Line 183: Line 180:
Zombified piglins try to destroy any [[Minecraft:turtle egg]]s they see within 23 blocks away horizontally and 3 blocks away vertically (10 blocks horizontally and 2 blocks vertically {{in|bedrock}}), not counting the block they are standing in. When a zombified piglin is first spawned, it always detects nearby turtle eggs after exactly 2 seconds, as long as there are two blocks of air above it. However, if the turtle egg is placed after the zombified piglin spawned, the zombified piglin takes some time to notice the turtle egg and try to break it. Unlike other zombie variants, zombified piglins do not attack baby [[Minecraft:turtle]]s.
Zombified piglins try to destroy any [[Minecraft:turtle egg]]s they see within 23 blocks away horizontally and 3 blocks away vertically (10 blocks horizontally and 2 blocks vertically {{in|bedrock}}), not counting the block they are standing in. When a zombified piglin is first spawned, it always detects nearby turtle eggs after exactly 2 seconds, as long as there are two blocks of air above it. However, if the turtle egg is placed after the zombified piglin spawned, the zombified piglin takes some time to notice the turtle egg and try to break it. Unlike other zombie variants, zombified piglins do not attack baby [[Minecraft:turtle]]s.


Zombified piglins avoid walking near [[Minecraft:magma block]]s and cannot jump over magma blocks one block high. If a zombified piglin is surrounded by magma block wall one block height or higher, it gets near those surrounding magma blocks surrounding them. If a zombified piglin spawns on or is pushed onto magma blocks, it pathfinds normally on the magma.
Zombified piglins avoid walking near [[Minecraft:magma block]]s and cannot jump over magma blocks one block high. If a zombified piglin is surrounded by a magma block wall one block height or higher, it gets near those surrounding magma blocks surrounding them. If a zombified piglin spawns on or is pushed onto magma blocks, it pathfinds normally on the magma.


Zombified piglins do not retreat from [[Minecraft:zoglin]]s, soul torches, soul lanterns, soul fire, or soul campfires. Zoglins attack zombified piglins on sight, causing a retaliation.
Zombified piglins do not retreat from [[Minecraft:zoglin]]s, soul torches, soul lanterns, soul fire, or soul campfires. Zoglins attack zombified piglins on sight, causing a retaliation.
Line 197: Line 194:
15% of naturally spawned baby zombified piglins are supposed to spawn as a jockey and find the nearest mob to mount but do not due to a bug.
15% of naturally spawned baby zombified piglins are supposed to spawn as a jockey and find the nearest mob to mount but do not due to a bug.


This is due to the fact that in the {{cd|zombie_pigman.json}} file, in the {{cd|minecraft:entity_spawned}} [[Minecraft:spawn event|event]], it has 3 triggering spawn events, {{cd|spawn_adult}} where the zombified piglin spawns as an adult, {{cd|spawn_baby}} where it spawns as a baby, and {{cd|spawn_baby_jockey}} which is supposed to be the event that spawns baby zombified piglins as a baby jockey that finds mounts, but it does not exist. And because {{cd|spawn_baby_jockey}} does not exist, this results the baby jockey actually spawning as a broken zombified piglin that is neither a baby nor an adult, and does not drop experience upon death. <!-- shorten to only relevant fields please-->
This is due to the fact that in the {{cd|zombie_pigman.json}} file, in the {{cd|minecraft:entity_spawned}} [[Minecraft:spawn event|event]], it has 3 triggering spawn events, {{cd|spawn_adult}} where the zombified piglin spawns as an adult, {{cd|spawn_baby}} where it spawns as a baby, and {{cd|spawn_baby_jockey}} which is supposed to be the event that spawns baby zombified piglins as a baby jockey that finds mounts, but it does not exist.
{{collapse|content=
 
<syntaxhighlight lang="json" copy>
<syntaxhighlight lang="json" copy class="collapsible collapsed">//This spawn event is applied when mobs spawn naturally
{
"minecraft:entity_spawned": {
  "format_version": "1.26.20",
  "randomize": [
  "minecraft:entity": {
    {
    "description": {
       "trigger": "spawn_adult",
       "identifier": "minecraft:zombie_pigman",
       "weight": 9500
       "is_summonable": true,
      "is_spawnable": true,
      "spawn_category": "monster"
     },
     },
     "components": {
     {
      "minecraft:attack": {
       "trigger": "spawn_baby",
        "damage": 5
       "weight": 425
      },
      "minecraft:behavior.equip_item": {
        "priority": 3
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 1
      },
      "minecraft:behavior.look_at_player": {
        "look_distance": 6,
        "priority": 9
      },
      "minecraft:behavior.melee_box_attack": {
        "speed_multiplier": 1.5,
        "priority": 5
      },
      "minecraft:behavior.mount_pathing": {
        "priority": 2,
        "target_dist": 0,
        "speed_multiplier": 1.25,
        "track_target": true
      },
      "minecraft:behavior.pickup_items": {
        "can_pickup_any_item": true,
        "goal_radius": 2,
        "priority": 7,
        "max_dist": 3,
        "speed_multiplier": 1,
        "pickup_based_on_chance": true
      },
      "minecraft:behavior.random_look_around": {
        "priority": 10
      },
      "minecraft:behavior.random_stroll": {
        "priority": 8,
        "speed_multiplier": 1
      },
      "minecraft:behavior.stomp_turtle_egg": {
        "goal_radius": 1.14,
        "priority": 6,
        "search_height": 2,
        "interval": 20,
        "search_range": 10,
        "speed_multiplier": 1
      },
      "minecraft:behavior.use_kinetic_weapon": {
        "approach_distance": 10,
        "reposition_distance": {
          "min": 6,
          "max": 7
        },
        "cooldown_distance": {
          "min": 9,
          "max": 11
        },
        "cooldown_speed_multiplier": 1.5,
        "weapon_reach_multiplier": 0.5,
        "weapon_min_speed_multiplier": 0.2,
        "hijack_mount_navigation": true,
        "speed_multiplier": 1.5,
        "track_target": true,
        "priority": 4
      },
      "minecraft:breathable": {
        "breathes_water": true,
        "suffocate_time": 0,
        "total_supply": 15
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "height": 1.9,
        "width": 0.6
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:despawn": {
        "despawn_from_distance": {}
      },
      "minecraft:equip_item": {},
      "minecraft:equipment": {
        "table": "loot_tables/entities/zombie_pigman_gear.json"
      },
      "minecraft:fire_immune": {},
      "minecraft:health": {
        "max": 20,
        "value": 20
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:jump.static": {},
      "minecraft:loot": {
        "table": "loot_tables/entities/zombie_pigman.json"
      },
      "minecraft:movement": {
        "value": 0.23
      },
      "minecraft:movement.basic": {},
      "minecraft:nameable": {},
      "minecraft:navigation.walk": {
        "avoid_portals": true,
        "avoid_water": true,
        "can_open_doors": true,
        "can_pass_doors": true,
        "can_path_over_lava": true,
        "is_amphibious": true
      },
      "minecraft:offspring": {
        "offspring_pairs": {
          "minecraft:zombie_pigman": "minecraft:zombie_pigman"
        }
      },
      "minecraft:physics": {},
      "minecraft:pushable_by_entity": {
      },
      "minecraft:pushable_by_block": {
       },
      "minecraft:shareables": {
        "items": [
          {
            "item": "minecraft:netherite_sword",
            "priority": 0,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:diamond_sword",
            "priority": 1,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:iron_sword",
            "priority": 2,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:golden_sword",
            "priority": 3,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:copper_sword",
            "priority": 4,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:stone_sword",
            "priority": 5,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:wooden_sword",
            "priority": 6,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:netherite_spear",
            "priority": 0,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:diamond_spear",
            "priority": 1,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:iron_spear",
            "priority": 2,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:golden_spear",
            "priority": 3,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:copper_spear",
            "priority": 4,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:stone_spear",
            "priority": 5,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:wooden_spear",
            "priority": 6,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:netherite_helmet",
            "priority": 0,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:diamond_helmet",
            "priority": 1,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:iron_helmet",
            "priority": 2,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:chainmail_helmet",
            "priority": 3,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:golden_helmet",
            "priority": 4,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:copper_helmet",
            "priority": 5,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:leather_helmet",
            "priority": 6,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:turtle_helmet",
            "priority": 7,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:skull:0",
            "priority": 8,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:skull:1",
            "priority": 8,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:carved_pumpkin",
            "priority": 8,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:netherite_chestplate",
            "priority": 0,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:diamond_chestplate",
            "priority": 1,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:iron_chestplate",
            "priority": 2,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:chainmail_chestplate",
            "priority": 3,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:golden_chestplate",
            "priority": 4,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:copper_chestplate",
            "priority": 5,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:leather_chestplate",
            "priority": 6,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:netherite_leggings",
            "priority": 0,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:diamond_leggings",
            "priority": 1,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:iron_leggings",
            "priority": 2,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:chainmail_leggings",
            "priority": 3,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:golden_leggings",
            "priority": 4,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:copper_leggings",
            "priority": 5,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:leather_leggings",
            "priority": 6,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:netherite_boots",
            "priority": 0,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:diamond_boots",
            "priority": 1,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:iron_boots",
            "priority": 2,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:chainmail_boots",
            "priority": 3,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:golden_boots",
            "priority": 4,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:copper_boots",
            "priority": 5,
            "surplus_amount": 1,
            "want_amount": 1
          },
          {
            "item": "minecraft:leather_boots",
            "priority": 6,
            "surplus_amount": 1,
            "want_amount": 1
          }
        ]
      },
       "minecraft:spawn_egg_interaction": {}
     },
     },
     "component_groups": {
    {
       "minecraft:pig_zombie_baby": {
      "trigger": "spawn_baby_jockey",//This spawn event is non-existent. Meaning no component groups are added.
      "weight": 75
    }
  ]
},
"spawn_adult": {
  "add": {
     "component_groups": [
      "minecraft:pig_zombie_adult",
      "minecraft:pig_zombie_calm"
    ]
  }
},
"spawn_baby": {
  "add": {
    "component_groups": [
      "minecraft:pig_zombie_baby",
      "minecraft:pig_zombie_calm"
    ]
  }
},</syntaxhighlight>
 
And because {{cd|spawn_baby_jockey}} does not exist, this results the baby jockey actually spawning as a broken zombified piglin that is neither a baby nor an adult, and does not drop experience upon death. <!-- shorten to only relevant fields please-->
<syntaxhighlight lang="json" copy class="collapsible collapsed">"minecraft:pig_zombie_baby": {
//This component is what makes mobs drop experience upon death. This is only added to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups.
  "minecraft:experience_reward": {
    "on_death": {
      "expression": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0",
       "version": 13
    }
  },
  "minecraft:is_baby": {},
  "minecraft:scale": {
    "value": 0.5
  },
  "minecraft:collision_box": {
    "height": 1.96,
    "width": 0.98
  },
  //This component gives the mob the ability to ride. It used to be in the components list, resulting in all zombified piglins being able to ride anything. But it got moved to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups to make baby zombified piglins able to ride common mobs like baby zombies do.
  "minecraft:type_family": {
    "family": [
      "baby_undead",
      "baby_zombie_pigman",//Because they are in the "baby_zombie_pigman" family rather than "zombie_pigman", they aren't avoided by piglins.
      "undead",
      "monster",
      "mob"
    ]
  }
},
"minecraft:pig_zombie_adult": {
       //This component is what makes mobs drop experience upon death. This is only added to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups.
       //This component is what makes mobs drop experience upon death. This is only added to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups.
        "minecraft:experience_reward": {
  "minecraft:experience_reward": {
          "on_death": {
    "on_death": {
            "expression": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0",
       "expression": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0",
            "version": 13
      "version": 13
          }
    }
        },
  },
        "minecraft:is_baby": {},
  "minecraft:rideable": {
        "minecraft:scale": {
    "family_types": [
          "value": 0.5
      "baby_undead"
        },
    ],
        "minecraft:collision_box": {
    "seat_count": 1,
          "height": 1.96,
    "seats": {
          "width": 0.98
      "lock_rider_rotation": 0,
        },
      "position": [
        //This component gives the mob the ability to ride. It used to be in the components list, resulting in all zombified piglins being able to ride anything. But it got moved to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups to make baby zombified piglins able to ride common mobs like baby zombies do.
        0,
        "minecraft:type_family": {
        1.175,
          "family": [
        -0.35
            "baby_undead",
       ]
            "baby_zombie_pigman",//Because they are in the "baby_zombie_pigman" family rather than "zombie_pigman", they aren't avoided by piglins.
            "undead",
            "monster",
            "mob"
          ]
        }
      },
      "minecraft:pig_zombie_adult": {
       //This component is what makes mobs drop experience upon death. This is only added to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups.
        "minecraft:experience_reward": {
          "on_death": {
            "expression": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0",
            "version": 13
          }
        },
        "minecraft:rideable": {
          "family_types": [
            "baby_undead"
          ],
          "seat_count": 1,
          "seats": {
            "lock_rider_rotation": 0,
            "position": [
              0,
              1.175,
              -0.35
            ]
          }
        },
        //This component gives the mob the ability to ride. It used to be in the components list, resulting in all zombified piglins being able to ride anything. But it got moved to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups to make baby zombified piglins able to ride common mobs like baby zombies do.
        "minecraft:type_family": {
          "family": [
            "zombie_pigman",
            "undead",
            "monster",
            "mob"
          ]
        },
        "minecraft:collision_box": {
          "height": 1.9,
          "width": 0.6
        }
      },
      //This component group is what makes the zombified piglin spawn with warped fungus on a sticks when they spawn on striders.
      "minecraft:strider_jockey": {
        "minecraft:equipment": {
          "table": "loot_tables/entities/zombified_piglin_rider_gear.json"
        }
      },
      "minecraft:pig_zombie_angry": {
        "minecraft:angry": {
          "broadcast_anger": true,
          "broadcast_anger_when_dying": false,
          "broadcast_range": 20,
          "calm_event": {
            "event": "minecraft:on_calm",
            "target": "self"
          },
          "duration": 25
        }
      },
      //This component group never gets added, due to the "spawn_baby_jockey" event not existing.
      "minecraft:pig_zombie_jockey": {
        "minecraft:behavior.find_mount": {
          "max_failed_attempts": 20,
          "priority": 1,
          "start_delay": 15,
          "within_radius": 16
        }
      },
      "minecraft:pig_zombie_calm": {
        "minecraft:on_target_acquired": {
          "event": "minecraft:become_angry",
          "target": "self"
        }
      }
    },
    "events": {
      "minecraft:on_calm": {
        "add": {
          "component_groups": [
            "minecraft:pig_zombie_calm"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:pig_zombie_angry"
          ]
        }
      },
       "minecraft:as_baby": {
        "add": {
          "component_groups": [
            "minecraft:pig_zombie_baby",
            "minecraft:pig_zombie_calm"
          ]
        }
      },
      "minecraft:entity_born": {
        "trigger": "minecraft:as_baby"
      },
      "minecraft:become_angry": {
        "add": {
          "component_groups": [
            "minecraft:pig_zombie_angry"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:pig_zombie_calm"
          ]
        }
      },
      //This spawn event is applied when mobs spawn naturally
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "trigger": "spawn_adult",
            "weight": 9500
          },
          {
            "trigger": "spawn_baby",
            "weight": 425
          },
          {
            "trigger": "spawn_baby_jockey",//This spawn event is non-existent. Meaning no component groups are added.
            "weight": 75
          }
        ]
      },
      "spawn_adult": {
        "add": {
          "component_groups": [
            "minecraft:pig_zombie_adult",
            "minecraft:pig_zombie_calm"
          ]
        }
      },
      "minecraft:entity_transformed": {
        "sequence": [
          {
            "filters": {
              "subject": "other",
              "test": "has_component",
              "value": "minecraft:is_baby"
            },
            "trigger": "spawn_baby"
          },
          {
            "filters": {
              "test": "has_component",
              "operator": "!=",
              "subject": "other",
              "value": "minecraft:is_baby"
            },
            "trigger": "spawn_adult"
          }
        ]
      },
      //This is the spawn event that adds the warped fungus on a stick to the zombified piglin that spawns on the strider. However, this spawn event no longer works, as the zombified piglins that now spawn without the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups can no longer ride anything
      "minecraft:spawn_as_strider_jockey": {
        "add": {
          "component_groups": [
            "minecraft:strider_jockey"
          ]
        }
      },
      "spawn_baby": {
        "add": {
          "component_groups": [
            "minecraft:pig_zombie_baby",
            "minecraft:pig_zombie_calm"
          ]
        }
      }
     }
     }
  },
//This component gives the mob the ability to ride. It used to be in the components list, resulting in all zombified piglins being able to ride anything. But it got moved to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups to make baby zombified piglins able to ride common mobs like baby zombies do.
  "minecraft:type_family": {
    "family": [
      "zombie_pigman",
      "undead",
      "monster",
      "mob"
    ]
  },
  "minecraft:collision_box": {
    "height": 1.9,
    "width": 0.6
   }
   }
}
},</syntaxhighlight>
</syntaxhighlight>}}
 
Since the {{cd|minecraft:type_family}} was moved into the {{cd|pig_zombie_adult}} and {{cd|pig_zombie_baby}} component groups, instead of being in the base components list, these broken piglins are not in any family, causing them to have the following issues:
Since the {{cd|minecraft:type_family}} was moved into the {{cd|pig_zombie_adult}} and {{cd|pig_zombie_baby}} component groups, instead of being in the base components list, these broken piglins are not in any family, causing them to have the following issues:
*They cannot be put in boats or minecarts.<ref>{{bug|MCPE-236034}}</ref>
*They cannot be put in boats or minecarts.<ref>{{bug|MCPE-236034}}</ref>
Line 846: Line 332:
* a threat to [[Minecraft:armadillo]]s, causing them to hide in their shell.
* a threat to [[Minecraft:armadillo]]s, causing them to hide in their shell.


As they are monsters, [[Minecraft:golden dandelion]]s do not work on baby zombified piglins.
As they are undead and do not grow up, [[Minecraft:golden dandelion]]s do not work on baby zombified piglins.
 
=== Picking up items ===
{{main|Geared mobs#Picking up gear}}
Like zombies, some zombified piglins spawn with the ability to pick up dropped [[Minecraft:item]]s from the ground. {{IN|Java}}, zombified piglins pick up items that they happen to walk near. {{IN|Bedrock}}, they actively search for and walk towards dropped items.
 
If the picked up item is [[Minecraft:armor]], the zombified piglin equips the armor into its respective armor slot. [[Minecraft:Carved pumpkin]]s and [[Minecraft:head]]s are worn on their heads. If the picked up item is a [[Minecraft:shield]], the zombified piglin equips it to their offhand. It cannot use the shield to block incoming attacks, however.
 
If a zombified piglin encounters another similar [[Minecraft:item]], it may drop the previous item in favor of the new one if:
* both items are armor/weapons and the new item is better damage-wise (reduces higher damage for armor, or inflicts more damage for weapons) ''without considering enchantments'',
* both items are armor/weapons with the same damage reduction/infliction, the new item has NBT tags while the old does not{{only|je|short=1}} or the new item is less [[Minecraft:Durability|damaged]] than the old item
 
Items dropped by mobs in exchange for another cannot be picked up by players or mobs for 10 game ticks (0.5 seconds, barring lag), but can be picked up by [[Minecraft:hopper]]s.
 
A zombified piglin equipped with a picked-up [[Minecraft:item]] becomes persistent and does not [[Minecraft:despawn]], similar to being [[Minecraft:name tag|named]].
 
Zombified piglins have a higher chance of being able to pick up items in Hard [[Minecraft:difficulty]].
 
Picked-up items do not cause the zombified piglin to drop more experience when killed, unlike naturally-spawned gear.
 
[[Minecraft:Chicken jockey]] riders cannot pick up any variant of an [[Minecraft:egg]].


=== Hostility ===
=== Hostility ===
Line 866: Line 372:


==== Using spears ====  
==== Using spears ====  
Zombified piglins wielding spears have different attacking behavior. When attacking, they use the spear's charge attack while moving towards their target. They hold the charge through its full duration, using all 3 stages. Once the charge attack has ended or they get too close to their target, they walk away to increase the distance between them and their target before turning around to begin another charge.
Zombified piglins wielding spears have different attacking behavior. When attacking, they use the spear's charge attack while moving towards their target. They hold the charge through its full duration, using all 3 stages. Once the charge attack has ended or they get too close to their target, they walk away to increase the distance between them and their target before turning around to begin another charge. If a zombified piglin accidentally damages a neutral or hostile mob (except goats) with a spear's charge attack, the mob retaliates and attacks that zombified piglin.


=== Jockey ===
=== Jockey ===
Line 933: Line 439:
|volume=1.0
|volume=1.0
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
|distance=16}}
| {{SoundLine
|sound=Zombie step1.ogg
|sound2=Zombie step2.ogg
|sound3=Zombie step3.ogg
|sound4=Zombie step4.ogg
|sound5=Zombie step5.ogg
|subtitle=Footsteps
|source=hostile
|description=While a zombified piglin is walking
|id=entity.zombie.step
|translationkey=subtitles.block.generic.footsteps
|volume=0.15
|pitch=1.0
|distance=16}}
|distance=16}}
| {{SoundLine
| {{SoundLine
Line 1,183: Line 703:
|The death of a hostile zombified piglin no longer registers as a kill by the player it is targeting if the player has not killed it.<ref name="MC-56653" />}}
|The death of a hostile zombified piglin no longer registers as a kill by the player it is targeting if the player has not killed it.<ref name="MC-56653" />}}
|{{HistoryLine||1.21.11|dev=25w41a|Zombified piglins can now use [[Minecraft:spear]]s.
|{{HistoryLine||1.21.11|dev=25w41a|Zombified piglins can now use [[Minecraft:spear]]s.
|[[File:Zombified Piglin With Golden Spear JE.png|x53px]]Zombified piglins now have a 5% chance to spawn with a [[Minecraft:golden spear]] in place of their normal golden sword.}}
|[[File:Zombified Piglin With Golden Spear JE1.png|x53px]] Zombified piglins now have a 5% chance to spawn with a [[Minecraft:golden spear]] in place of their normal golden sword.}}
|{{HistoryLine|||dev=25w43a|[[File:Zombified Piglin With Golden Spear JE2.png|x53px]] The spear's texture and model has been changed.}}
|{{HistoryLine|||dev=25w46a|Zombified piglins spawned from [[Minecraft:lightning]] striking a [[Minecraft:pig]] now have a chance to hold a [[Minecraft:golden spear]].}}
|{{HistoryLine|||dev=25w46a|Zombified piglins spawned from [[Minecraft:lightning]] striking a [[Minecraft:pig]] now have a chance to hold a [[Minecraft:golden spear]].}}
|{{HistoryLine||26.1|dev=snap1|Leader zombified piglins now spawn with their maximum health instead of 20 health.<ref>{{bug|MC-219981|
|{{HistoryLine||26.1|dev=snap1|Leader zombified piglins now spawn with their maximum health instead of 20 health.<ref>{{bug|MC-219981|
Line 1,238: Line 759:
|{{HistoryLine||1.13.0|dev=beta 1.13.0.9|Adult zombie pigmen can now be ridden again by baby [[Minecraft:zombie]], baby [[Minecraft:zombie villager]] and baby [[Minecraft:husk]] variants.}}
|{{HistoryLine||1.13.0|dev=beta 1.13.0.9|Adult zombie pigmen can now be ridden again by baby [[Minecraft:zombie]], baby [[Minecraft:zombie villager]] and baby [[Minecraft:husk]] variants.}}
|{{HistoryLine||1.16.0|dev=beta 1.16.0.51|Added [[Minecraft:piglin]]s, which can be converted into zombie pigmen in the [[Minecraft:Overworld]] or [[Minecraft:the End]].
|{{HistoryLine||1.16.0|dev=beta 1.16.0.51|Added [[Minecraft:piglin]]s, which can be converted into zombie pigmen in the [[Minecraft:Overworld]] or [[Minecraft:the End]].
|[[File:Zombified Piglin BE4.png|x53px]] [[File:Baby Zombified Piglin BE3.png|x32px]] The textures and [[Minecraft:model]]s of zombie pigmen have been changed.
|Zombie pigmen have been renamed to zombified piglins.
|Zombie pigmen have been renamed to zombified piglins.
|[[File:Zombified Piglin BE4.png|x53px]] [[File:Baby Zombified Piglin BE3.png|x32px]] The textures and [[Minecraft:model]]s of zombified piglins and baby zombified piglins have been changed.
|Zombified piglins now sometimes pick up dropped [[Minecraft:armor]] pieces and [[Minecraft:sword]]s.
|Zombified piglins now sometimes pick up dropped [[Minecraft:armor]] pieces and [[Minecraft:sword]]s.
|Zombified piglins now burn in [[Minecraft:sunlight]] again.<ref>{{bug|MCPE-65381}}</ref>
|Zombified piglins now burn in [[Minecraft:sunlight]] again.<ref>{{bug|MCPE-65381}}</ref>
Line 1,252: Line 773:
|{{HistoryLine||1.16.100|dev=beta 1.16.100.50|Now the piglins with crossbows when zombified, continue to keep their crossbow|Zombified piglins that are converted from piglin brutes now keep their golden [[Minecraft:axe]]s.}}
|{{HistoryLine||1.16.100|dev=beta 1.16.100.50|Now the piglins with crossbows when zombified, continue to keep their crossbow|Zombified piglins that are converted from piglin brutes now keep their golden [[Minecraft:axe]]s.}}
|{{HistoryLine|||dev=beta 1.16.100.54|The zombified piglin now holds a [[Minecraft:warped fungus on a stick]] when spawned as a [[Minecraft:strider]] jockey.}}
|{{HistoryLine|||dev=beta 1.16.100.54|The zombified piglin now holds a [[Minecraft:warped fungus on a stick]] when spawned as a [[Minecraft:strider]] jockey.}}
|{{HistoryLine||1.18.30|dev=beta 1.18.20.25|Zombified piglins no longer take damage from [[Minecraft:cauldron]]s filled with lava.<ref>{{bug|MCPE-65962|||F}}</ref>}}
|{{HistoryLine||1.18.30|dev=beta 1.18.20.25|Zombified piglins no longer take damage from [[Minecraft:cauldron]]s filled with lava.<ref>{{bug|MCPE-65962||Fire Resistance doesn't work for lava inside cauldron|F}}</ref>}}
|{{HistoryLine||1.19.70|dev=Preview 1.19.70.21|Zombified piglins now spawn at light level 11 and below.}}
|{{HistoryLine||1.19.70|dev=Preview 1.19.70.21|Zombified piglins now spawn at light level 11 and below.}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.28|Zombified piglins no longer become angry if a nearby zombified piglin is killed in one hit.<ref>{{bug|MCPE-68327||Other zombified piglins aggro when you one-hit kill one of them|F}}</ref>}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.28|Zombified piglins being killed in one hit no longer angers nearby zombified piglins.<ref>{{bug|MCPE-68327||Other zombified piglins aggro when you one-hit kill one of them|F}}</ref>}}
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|[[Minecraft:Golden sword]]s dropped by zombified piglins now have randomized durability to match {{JE}}.<ref>{{bug|MCPE-75292||Gold swords dropped by piglins and zombified piglins all have the same durability|Fixed}}</ref>}}
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|[[Minecraft:Golden sword]]s dropped by zombified piglins now have randomized durability to match {{JE}}.<ref>{{bug|MCPE-75292||Gold swords dropped by piglins and zombified piglins all have the same durability|Fixed}}</ref>}}
|{{HistoryLine||1.21.90|dev=Preview 1.21.90.20|The zombified piglins' speed when chasing a mob has been decreased, to match {{JE}}.}}
|{{HistoryLine||1.21.90|dev=Preview 1.21.90.20|The zombified piglins' speed when chasing a mob has been decreased, to match {{JE}}.}}
|{{HistoryLine|||dev=Preview 1.21.90.21|Baby zombified piglins can no longer spawn being equipped with golden swords.}}
|{{HistoryLine|||dev=Preview 1.21.90.21|Baby zombified piglins can no longer spawn with golden swords.}}
|{{HistoryLine|||dev=Preview 1.21.90.25|Zombified piglins are once again faster than on {{JE}}.}}
|{{HistoryLine|||dev=Preview 1.21.90.25|The zombified piglins' speed when chasing a mob is once again faster than on {{JE}}.}}
|{{HistoryLine|||dev=Preview 1.21.90.26|Baby zombified piglins can once again spawn being equipped with golden swords.}}
|{{HistoryLine|||dev=Preview 1.21.90.26|Baby zombified piglins can once again spawn with golden swords.}}
|{{HistoryLine||1.21.130|dev=Preview 1.21.130.20|[[File:Zombified Piglin With Golden Spear BE.png|x53px]]Zombified piglins can now spawn holding [[Minecraft:golden spear]]s.}}
|{{HistoryLine||1.21.130|dev=Preview 1.21.130.20|[[File:Zombified Piglin With Golden Spear BE.png|x53px]]Zombified piglins can now spawn holding [[Minecraft:golden spear]]s.}}
|{{HistoryLine|||dev=Preview 1.21.130.22|Zombified piglins can now use the spear's charge attack.}}
|{{HistoryLine|||dev=Preview 1.21.130.22|Zombified piglins can now use the spear's charge attack.}}
|{{HistoryLine|||dev=Preview 1.21.130.26|Adult zombified piglins that spawn now have the {{cd|spawn_adult}} [[Minecraft:spawn event|event]] applied.|Baby zombified piglins that spawn now have the {{cd|spawn_baby}} [[Minecraft:spawn event|event]] applied.}}
|{{HistoryLine|||dev=Preview 1.21.130.26|Adult zombified piglins that spawn now have the {{cd|spawn_adult}} [[Minecraft:spawn event|event]] applied.|Baby zombified piglins that spawn now have the {{cd|spawn_baby}} [[Minecraft:spawn event|event]] applied.}}
|{{HistoryLine||26.0|dev=Preview 26.0.23|Zombified piglins are now part of the monster spawn category.}}
|{{HistoryLine||26.0|dev=Preview 26.0.23|Zombified piglins are now part of the monster spawn category.}}
|{{HistoryLine|||dev=Preview 26.0.27|Due to a bug, baby zombified piglins that are supposed to be jockeys are broken.<ref>{{bug|MCPE-235955}}</ref><ref>{{bug|MCPE-236034}}</ref>|Due to the above bug, zombified piglins cannot spawn as riders of strider jockeys.<ref>{{bug|MCPE-236161}}</ref>}}
|{{HistoryLine|||dev=Preview 26.0.27|Due to a bug, baby zombified piglins that are supposed to be jockeys are broken.<ref>{{bug|MCPE-235955||Some zombie variants fail to form Chicken Jockeys}}</ref><ref>{{bug|MCPE-236034||Zombified Piglins occasionally spawn with a permanent "refusal to ride" bug (affects Boats, Minecarts, etc.)}}</ref>|Due to the above bug, zombified piglins cannot spawn as riders of strider jockeys.<ref>{{bug|MCPE-236161||Zombified piglins riding striders no longer spawn}}</ref>}}
|{{HistoryLine||26.10|dev=Preview 26.10.23|[[File:Baby Zombified Piglin JE9 BE6.png|28px]] The model and texture of baby zombified piglins have been changed.}}
|{{HistoryLine||26.10|dev=Preview 26.10.23|[[File:Baby Zombified Piglin JE9 BE6.png|28px]] The model and texture of baby zombified piglins have been changed.}}
|{{HistoryLine|||dev=Preview 26.10.24|[[File:Baby Zombified Piglin BE7.png|38px]] Baby zombified piglins no longer raise their arms when holding items.<ref>{{bug|MCPE-236381|||WAI}}</ref>}}
|{{HistoryLine|||dev=Preview 26.10.24|[[File:Baby Zombified Piglin BE7.png|38px]] Baby zombified piglins no longer raise their arms when holding items.<ref>{{bug|MCPE-236381||Baby zombies no longer raised their arms while holding an items|WAI}}</ref>}}
|{{HistoryLine||26.20|dev=Preview 26.20.20|[[File:Baby Zombified Piglin BE8.png|38px]] The texture of baby zombified piglins' snout has been fixed to be 3x3x1, matching {{JE}}.}}
|{{HistoryLine||26.20|dev=Preview 26.20.20|[[File:Baby Zombified Piglin BE8.png|38px]] The texture of the baby zombified piglins' snout has been fixed to be 3x3x1, matching {{JE}}.}}
|{{HistoryLine|||dev=Preview 26.20.22|The hitboxes of baby zombified piglins have been changed, to closely match {{JE}}.<ref>{{bug|MCPE-236077}}</ref>}}
|{{HistoryLine|||dev=Preview 26.20.22|The hitboxes of baby zombified piglins have been changed, to closely match {{JE}}.<ref>{{bug|MCPE-236077||Mobs' Collision Box not matching with Java Edition}}</ref>}}
}}
}}


Line 1,302: Line 823:
*In narrative media such as {{MCL}}, piglins do not zombify in the [[Minecraft:Overworld]] because they breathe in [[Minecraft:Nether wart]] spores.<ref>{{Mcnet|craft-your-own-legend/piglin|A rowdy piglin|March 24, 2023|[[Minecraft:Cristina Anderca]], [[Minecraft:Sophie Austin]], [[Minecraft:Sofia Dankis]], and [[Minecraft:Per Landin]]}}</ref><ref>''{{MCL|Return of the Piglins}}''<!-- Add specific chapter where this is explained --></ref><ref>{{Tweet|jeb_|1833656219795681736|A movie teaser note: In Minecraft Legends the piglins used netherwart to survive the overworld...}}</ref>
*In narrative media such as {{MCL}}, piglins do not zombify in the [[Minecraft:Overworld]] because they breathe in [[Minecraft:Nether wart]] spores.<ref>{{Mcnet|craft-your-own-legend/piglin|A rowdy piglin|March 24, 2023|[[Minecraft:Cristina Anderca]], [[Minecraft:Sophie Austin]], [[Minecraft:Sofia Dankis]], and [[Minecraft:Per Landin]]}}</ref><ref>''{{MCL|Return of the Piglins}}''<!-- Add specific chapter where this is explained --></ref><ref>{{Tweet|jeb_|1833656219795681736|A movie teaser note: In Minecraft Legends the piglins used netherwart to survive the overworld...}}</ref>
* In the 2013 ''[[Minecraft:wikipedia:Agents of S.H.I.E.L.D.|Marvel's Agents of S.H.I.E.L.D.]]'' episode ''Girl in the Flower Dress'', Jemma Simmons mentions that another character "runs a rather nasty mob" of zombie pigmen.<ref>{{ytl|F_QDFf-WTVw|Marvel's Agents of SHIELD - Episode 5 - Minecraft Reference|LightXEthan|October 23, 2013}}</ref>
* In the 2013 ''[[Minecraft:wikipedia:Agents of S.H.I.E.L.D.|Marvel's Agents of S.H.I.E.L.D.]]'' episode ''Girl in the Flower Dress'', Jemma Simmons mentions that another character "runs a rather nasty mob" of zombie pigmen.<ref>{{ytl|F_QDFf-WTVw|Marvel's Agents of SHIELD - Episode 5 - Minecraft Reference|LightXEthan|October 23, 2013}}</ref>
* If a player sits on a saddled pig and is struck by lighting, they end up sitting on the newly-transformed zombified piglin.{{only|java|short=1}} However, after dismounting, the zombified piglin cannot be ridden again.
* If a player sits on a saddled pig and is struck by lightning, they end up sitting on the newly-transformed zombified piglin.{{only|java|short=1}} However, after dismounting, the zombified piglin cannot be ridden again.


== Gallery ==
== Gallery ==
Line 1,320: Line 841:
<gallery>
<gallery>
Zombified Piglin Targeting.png|A zombified piglin targeting
Zombified Piglin Targeting.png|A zombified piglin targeting
Baby Zombified Piglin Targeting.png|A baby zombified piglin targeting
Zombified Piglin with Crossbow.png|A zombified piglin with a [[Minecraft:crossbow]]
Zombified Piglin with Crossbow.png|A zombified piglin with a [[Minecraft:crossbow]]
Zombified Piglin with Axe.png|A zombified [[Minecraft:piglin brute]]
Zombified Piglin with Axe.png|A zombified [[Minecraft:piglin brute]]
Line 1,359: Line 879:
==== Zombified piglin ====
==== Zombified piglin ====
<gallery>
<gallery>
File:StriderJockey.png|A zombified piglin riding a [[Minecraft:strider]]
File:Strider Jockey in lava.png|A zombified piglin riding a [[Minecraft:strider]]
File:Baby Zombified Piglin Strider Jockey.png|A baby zombified piglin riding a [[Minecraft:strider]]
File:Baby Zombified Piglin Strider Jockey.png|A baby zombified piglin riding a [[Minecraft:strider]]
File:1.16.2-nether-pig-like-mobs.png|All of the [[Minecraft:Pig (disambiguation)|pig-like]] mobs in the 1.16 [[Minecraft:Nether Update]] (including the [[Minecraft:piglin brute]])
File:1.16.2-nether-pig-like-mobs.png|All of the [[Minecraft:Pig (disambiguation)|pig-like]] mobs in the 1.16 [[Minecraft:Nether Update]] (including the [[Minecraft:piglin brute]])
Line 1,370: Line 890:
File:Zombified Piglin vs Piglin.png|A zombified piglin in the [[Minecraft:Overworld]], next to a [[Minecraft:piglin]]
File:Zombified Piglin vs Piglin.png|A zombified piglin in the [[Minecraft:Overworld]], next to a [[Minecraft:piglin]]
File:Piglin Brute zombified.png|A zombified piglin brute in the [[Minecraft:Overworld]]
File:Piglin Brute zombified.png|A zombified piglin brute in the [[Minecraft:Overworld]]
File:Zig.jpg|A baby zombified piglin holding an oversized spear
</gallery>
</gallery>


Line 1,419: Line 940:
File:Woodsword Chronicles zombie pigmen.jpg|Zombie pigmen as they appeared in {{WSC|3|1}}
File:Woodsword Chronicles zombie pigmen.jpg|Zombie pigmen as they appeared in {{WSC|3|1}}
File:LEGO Club Magazine Red Brick July August 0003.jpg|A page dedicated to zombie pigmen in [[Minecraft:Lego Club]] magazine
File:LEGO Club Magazine Red Brick July August 0003.jpg|A page dedicated to zombie pigmen in [[Minecraft:Lego Club]] magazine
File:Zombified Piglin Plastic.png|A zombified piglin from the [[Minecraft:Plastic Texture Pack]].
File:Zombified Piglin Plastic.png|A zombified piglin from the [[Minecraft:Plastic Texture Pack]]
</gallery>
</gallery>


Line 1,434: Line 955:


== Navigation ==
== Navigation ==
{{Navbox The Nether}}
{{Navbox entities|mobs}}
{{Navbox entities|mobs}}



Latest revision as of 11:20, 5 September 2026

Template:For Template:Needs render Template:Infobox entity Zombified piglins are Minecraft:neutral and Minecraft:undead variants of Minecraft:piglins that spawn in Minecraft:the Nether. Zombified piglins normally ignore Minecraft:players, but if one gets attacked and survives, it and all other zombified piglins in the vicinity become hostile and attack the aggressor.

Spawning

Zombified piglins can spawn in several methods:

They have a 5% chance of spawning as baby zombified piglins. Zombified piglins do not spawn naturally on top of Minecraft:Nether wart blocks. Like other naturally fireproof mobs, they can spawn on Minecraft:magma blocks.

Zombified piglins do not spawn in Minecraft:Peaceful mode, despite being neutral.

Template:Mob spawn table

Equipment

95% of zombified piglins spawn with a Minecraft:golden sword, which has up to a 25% chance of being enchanted in Normal or Hard Minecraft:difficulty. This chance varies depending on the Minecraft:regional difficulty. The sword's enchantment is from 5 to 23 levels.

5% of zombified piglins spawn with a Minecraft:golden spear, which may be enchanted. They use the spear’s Minecraft:charge attack if provoked.

Template:IN, on Halloween (October 31), zombified piglins have a 22.5% chance of spawning with a Minecraft:carved pumpkin or a 2.5% chance of spawning with a Minecraft:jack o'lantern equipped as headgear. This is not dropped, even if killed with Minecraft:Looting.

Chicken jockeys

Template:Exclusive Baby zombified piglins can spawn as a Minecraft:chicken jockey, with the following probability:

  • A baby zombified piglin has a chance of 9.75% to spawn as a chicken jockey if a chicken is present within a 5×3×5 block area centered on the spawn attempt location (5% to use the chicken nearby + 4.75% of summoning a new chicken).
  • A baby zombified piglin has a 4.75% chance of spawning as a chicken jockey if no chicken is present within a 5×3×5 area.
    • The combined chance of a zombified piglin independently spawning as a baby chicken jockey is 0.2375%.

Nether biomes and fortresses

Zombified piglins spawn in Minecraft:the Nether at light level 11 and below on most blocks other than Minecraft:Nether wart blocks. They spawn most commonly in Minecraft:Nether wastes in groups of 4, frequently in Minecraft:Nether fortresses in groups of 4, and uncommonly in Minecraft:crimson forests in groups of 2-4. Template:IN, zombified piglins spawn in groups of 2-4 on both Minecraft:Nether wastes and Minecraft:crimson forests and individually on Minecraft:Nether fortresses.

Strider jockeys

Template:Main Template:Exclusive When an adult Minecraft:strider spawns, it has a 3.3% chance of spawning being ridden by a zombified piglin holding a Minecraft:warped fungus on a stick. The zombified piglin does not count towards the mob cap and does not despawn.

In Template:BE, zombified piglins can not spawn on top of saddled striders that are supposed to be jockeys. This is due to the fact that in the Template:Cd file, the base Template:Cd list does not have the Template:Cd component, because it was moved to the Template:Cd component group. And since zombified piglins spawned on top of striders were neither an adult nor a baby, both of which have the Template:Cd component, and that striders that have spawned as a strider jockey are rideable by mobs in the Template:Cd family, they no longer spawn.<ref>Template:Bug</ref>

Nether portals

When a Minecraft:Nether portal block in the Minecraft:Overworld receives a Minecraft:random tick, there is a chance of Template:Frac (0.05%) on Easy, Template:Frac (0.1%) on Normal and Template:Frac (0.15%) on Hard for it to spawn a zombified piglin.

Template:IN, they appear inside one of the portal blocks on the bottom. Zombified piglins who spawn in this way cannot travel to Minecraft:the Nether for a preset amount of time, whether they walk through the portal they spawned in or through nearby portals.

Template:IN, they spawn one block to the east or south of the portal (depending on which direction the portal is facing). Neither Minecraft:slabs nor lighting prevents this. Every portal block is immediately ticked when the portal is first activated; therefore, if a large portal is repeatedly activated and deactivated, zombified piglins can spawn rapidly.<ref>Template:Bug</ref> However, portals at negative heights do not spawn zombified piglins at all.

Zombified piglins spawning via this process is completely independent of the Minecraft:mob cap, similar to the spawning of Minecraft:phantoms Template:In, which means they can still spawn if there are a sufficient number of hostile mobs in the world.

Pigs

A zombified piglin spawns when Minecraft:lightning strikes within 4 blocks of a Minecraft:pig, up to 8 blocks down, and up to 4 blocks up, regardless of any obstruction between the pig and where the lightning strikes. If the pig is a piglet, it then transforms into a baby zombified piglin.

Piglins

A Minecraft:piglin or Minecraft:piglin brute that enters the Minecraft:Overworld or Minecraft:the End transforms into a zombified piglin after 15 seconds. When piglins wielding Minecraft:crossbows zombify, they keep their crossbows, but are unable to use them, and perform melee attacks like other zombified piglins. When baby piglins zombify, they do not have weapons, unlike baby zombified piglins that naturally spawn. When piglin brutes zombify, they keep their axes.

The newly zombified piglin gets the Minecraft:Nausea effect for 10 seconds. This is a purely visual effect, and does not affect the mob's behavior.

A zombified piglin keeps any armor or weapons collected before being zombifiedTemplate:Only.

Baby zombified piglins also have a 5% chance of becoming a chicken jockeyTemplate:Only.

If a piglin is in the middle of bartering and gets zombified while inspecting a gold ingot, it drops the ingot when it turns into a zombified piglin.

Leaders & Reinforcements

Template:MainTemplate:Exclusive Unlike other zombie variants, only leader zombified piglins can spawn reinforcements.<ref>Template:Bug</ref>

On Minecraft:Hard difficulty, up to 5% zombified piglins of zombified piglins may spawn as a leader, which have a 50–75% plus 0–10% chance to spawn other zombified piglins as reinforcements when receiving Minecraft:damage while targeting an Minecraft:entity.

Unlike Minecraft:zombies, zombified piglins can spawn reinforcements regardless of light level.

Drops

Template:See also

On death

Template:DropTable

Behavior

Zombified piglins wander aimlessly about when idle. They move at 2.28 m/s and are immune to Minecraft:fire and Minecraft:lava. When provoked, their speed increases to 3.38 m/s or faster for babies.

Template:IN, like Minecraft:zombies, some zombified piglins can attack wooden and Minecraft:copper doors and may break them on Hard difficulty or in Minecraft:Hardcore mode.<ref>Template:Bug </ref>

In Normal and Hard difficulties, up to 55%Template:Only or 25%Template:Only of zombified piglins can pick up any Minecraft:armor pieces and Minecraft:swords better than their golden one, which they always drop when killed. This also prevents them from despawning.

Template:IN, zombified piglins may pick up an Minecraft:ominous banner next to it as Minecraft:pillagers do.<ref>Template:Bug</ref>

Zombified piglins try to destroy any Minecraft:turtle eggs they see within 23 blocks away horizontally and 3 blocks away vertically (10 blocks horizontally and 2 blocks vertically Template:In), not counting the block they are standing in. When a zombified piglin is first spawned, it always detects nearby turtle eggs after exactly 2 seconds, as long as there are two blocks of air above it. However, if the turtle egg is placed after the zombified piglin spawned, the zombified piglin takes some time to notice the turtle egg and try to break it. Unlike other zombie variants, zombified piglins do not attack baby Minecraft:turtles.

Zombified piglins avoid walking near Minecraft:magma blocks and cannot jump over magma blocks one block high. If a zombified piglin is surrounded by a magma block wall one block height or higher, it gets near those surrounding magma blocks surrounding them. If a zombified piglin spawns on or is pushed onto magma blocks, it pathfinds normally on the magma.

Zombified piglins do not retreat from Minecraft:zoglins, soul torches, soul lanterns, soul fire, or soul campfires. Zoglins attack zombified piglins on sight, causing a retaliation.

Zombified piglins are not distracted by gold and cannot barter, unlike piglins. They also do not follow players that are holding a gold ingot or another gold item.

Minecraft:Wandering traders run away from zombified piglinsTemplate:Only, despite them being passive to them. In addition, piglins squeal in distress and flee from zombified piglins if they get too close. Zombified piglins ignore piglins unless provoked.

Minecraft:Iron golems attack zombified piglins, which causes other zombified piglins to attack the iron golem. A zombified piglin is neutral to every mob that can attack, but they retaliate and gang up on any mob that provokes them.

Mounting

Template:Exclusive 15% of naturally spawned baby zombified piglins are supposed to spawn as a jockey and find the nearest mob to mount but do not due to a bug.

This is due to the fact that in the Template:Cd file, in the Template:Cd event, it has 3 triggering spawn events, Template:Cd where the zombified piglin spawns as an adult, Template:Cd where it spawns as a baby, and Template:Cd which is supposed to be the event that spawns baby zombified piglins as a baby jockey that finds mounts, but it does not exist.

<syntaxhighlight lang="json" copy class="collapsible collapsed">//This spawn event is applied when mobs spawn naturally "minecraft:entity_spawned": {

 "randomize": [
   {
     "trigger": "spawn_adult",
     "weight": 9500
   },
   {
     "trigger": "spawn_baby",
     "weight": 425
   },
   {
     "trigger": "spawn_baby_jockey",//This spawn event is non-existent. Meaning no component groups are added.
     "weight": 75
   }
 ]

}, "spawn_adult": {

 "add": {
   "component_groups": [
     "minecraft:pig_zombie_adult",
     "minecraft:pig_zombie_calm"
   ]
 }

}, "spawn_baby": {

 "add": {
   "component_groups": [
     "minecraft:pig_zombie_baby",
     "minecraft:pig_zombie_calm"
   ]
 }

},</syntaxhighlight>

And because Template:Cd does not exist, this results the baby jockey actually spawning as a broken zombified piglin that is neither a baby nor an adult, and does not drop experience upon death. <syntaxhighlight lang="json" copy class="collapsible collapsed">"minecraft:pig_zombie_baby": { //This component is what makes mobs drop experience upon death. This is only added to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups.

 "minecraft:experience_reward": {
   "on_death": {
     "expression": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0",
     "version": 13
   }
 },
 "minecraft:is_baby": {},
 "minecraft:scale": {
   "value": 0.5
 },
 "minecraft:collision_box": {
   "height": 1.96,
   "width": 0.98
 },
 //This component gives the mob the ability to ride. It used to be in the components list, resulting in all zombified piglins being able to ride anything. But it got moved to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups to make baby zombified piglins able to ride common mobs like baby zombies do.
 "minecraft:type_family": {
   "family": [
     "baby_undead",
     "baby_zombie_pigman",//Because they are in the "baby_zombie_pigman" family rather than "zombie_pigman", they aren't avoided by piglins.
     "undead",
     "monster",
     "mob"
   ]
 }

}, "minecraft:pig_zombie_adult": {

     //This component is what makes mobs drop experience upon death. This is only added to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups.
 "minecraft:experience_reward": {
   "on_death": {
     "expression": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0",
     "version": 13
   }
 },
 "minecraft:rideable": {
   "family_types": [
     "baby_undead"
   ],
   "seat_count": 1,
   "seats": {
     "lock_rider_rotation": 0,
     "position": [
       0,
       1.175,
       -0.35
     ]
   }
 },

//This component gives the mob the ability to ride. It used to be in the components list, resulting in all zombified piglins being able to ride anything. But it got moved to the "minecraft:pig_zombie_adult" and "minecraft:pig_zombie_baby" component groups to make baby zombified piglins able to ride common mobs like baby zombies do.

 "minecraft:type_family": {
   "family": [
      "zombie_pigman",
      "undead",
      "monster",
      "mob"
   ]
 },
 "minecraft:collision_box": {
   "height": 1.9,
   "width": 0.6
 }

},</syntaxhighlight> Since the Template:Cd was moved into the Template:Cd and Template:Cd component groups, instead of being in the base components list, these broken piglins are not in any family, causing them to have the following issues:

Using the Template:Command command, it is possible to make a baby zombified piglin ride:Template:Columns-list

Mob type

Being an Minecraft:undead mob, they are:

As they are undead and do not grow up, Minecraft:golden dandelions do not work on baby zombified piglins.

Picking up items

Template:Main Like zombies, some zombified piglins spawn with the ability to pick up dropped Minecraft:items from the ground. Template:IN, zombified piglins pick up items that they happen to walk near. Template:IN, they actively search for and walk towards dropped items.

If the picked up item is Minecraft:armor, the zombified piglin equips the armor into its respective armor slot. Minecraft:Carved pumpkins and Minecraft:heads are worn on their heads. If the picked up item is a Minecraft:shield, the zombified piglin equips it to their offhand. It cannot use the shield to block incoming attacks, however.

If a zombified piglin encounters another similar Minecraft:item, it may drop the previous item in favor of the new one if:

  • both items are armor/weapons and the new item is better damage-wise (reduces higher damage for armor, or inflicts more damage for weapons) without considering enchantments,
  • both items are armor/weapons with the same damage reduction/infliction, the new item has NBT tags while the old does notTemplate:Only or the new item is less damaged than the old item

Items dropped by mobs in exchange for another cannot be picked up by players or mobs for 10 game ticks (0.5 seconds, barring lag), but can be picked up by Minecraft:hoppers.

A zombified piglin equipped with a picked-up Minecraft:item becomes persistent and does not Minecraft:despawn, similar to being named.

Zombified piglins have a higher chance of being able to pick up items in Hard Minecraft:difficulty.

Picked-up items do not cause the zombified piglin to drop more experience when killed, unlike naturally-spawned gear.

Minecraft:Chicken jockey riders cannot pick up any variant of an Minecraft:egg.

Hostility

Zombified piglins are not initially hostile, but all zombified piglins within a 67×22×67 to 111×22×111 areaTemplate:Only or a 20-block radiusTemplate:Only centered on an attacked zombified piglin become aggressive and converge on the attacker (another mob or player, except Minecraft:goats and Minecraft:ghasts) if any individual is attacked, unless the zombified piglin attacked is killed in one hit.<ref>Template:Bug</ref> They make an aggressive sound when angered. In addition, some zombified piglins have the ability to spawn reinforcements when attacked (similar to zombies).Template:Only This applies to any hit registered as coming from the player or other mobs, including deflected Minecraft:ghast fireballs, sweep attacks, snowballs and eggs, Minecraft:fireworks shot from Minecraft:crossbows, TNT, Minecraft:wind charges, and skeleton arrows. Arrows shot from dispensers or Minecraft:bed explosions<ref>Template:Bug</ref> do not provoke zombified piglins.

A zombified piglin can remain hostile indefinitely if it is both within the follow range of the player (33 to 55 blocks) and has a direct line of sight to the player. However, breaking one of those conditions causes a hostile zombified piglin to return to being neutral after a "forgiveness timer" expires. Template:IN, this timer ranges from 20 seconds to 55 seconds, whereas Template:In it is always 25 seconds. The forgiveness timer does not advance for zombified piglins in unloaded chunks. Therefore, if the player enters a Minecraft:Nether portal and returns, any provoked zombified piglins in the area remain aggressive (unless another player was nearby to keep the chunks loaded). A player's death causes zombified piglins to become neutral toward the player if the gamerule forgive_dead_players (true by default) is true.Template:Only

A hostile zombified piglin can also "sound an alarm", spreading the aggro to all zombified piglins within a 67×22×67 to 111×22×111 area Template:Only or 20-blockTemplate:Only radius. A hostile zombified piglin does this whenever the targeted player is within their follow range (33 to 55 blocks) and has a constant line-of-sight with its target, then it does the same every 4–6 seconds (80-120 game ticks), recruiting any formerly-neutral peers. They pursue players even if they have the Minecraft:Invisibility effect.

Template:IN, a nearby neutral zombified piglin prevents a player from sleeping, as if it were a hostile mob.

Hostile zombified piglins have slightly different pathfinding than when they are neutral. For example, they fall off edges that would cause them to take fall damage in an attempt to reach their target where most other mobs would otherwise not.

When a zombified piglin is angered, the normal piglins do not get aggressive, and vice versa.

Unlike other zombie variants, zombified piglins do not attack Minecraft:villagers and Minecraft:wandering traders. However, a villager that accidentally damages a zombified piglin with a firework rocket (after the player defeats a raid) will provoke any nearby zombified piglins to retaliate against the villager, and as a zombie variant, zombified piglins turn regular villagers into Minecraft:zombie villagers.Template:Only<ref>This does not occur in Template:BE because zombified piglins are not in the Template:Cd family, and mobs in the Template:Cd family can convert villagers into zombie villagers.</ref>

Using spears

Zombified piglins wielding spears have different attacking behavior. When attacking, they use the spear's charge attack while moving towards their target. They hold the charge through its full duration, using all 3 stages. Once the charge attack has ended or they get too close to their target, they walk away to increase the distance between them and their target before turning around to begin another charge. If a zombified piglin accidentally damages a neutral or hostile mob (except goats) with a spear's charge attack, the mob retaliates and attacks that zombified piglin.

Jockey

Template:Exclusive

File:Baby Zombie Riding Zombified Piglin.png
A zombified piglin ridden by a baby zombie

15% of nearby baby Minecraft:zombies, Minecraft:husks, or Minecraft:drowned may ride an adult zombified piglin to form a Minecraft:jockey.

Sounds

Template:JE: Template:SoundTable

Template:BE: Template:SoundTable

Data values

ID

Template:Edition: Template:ID table

Template:Edition: Template:ID table

Entity data

Zombified piglins have entity data associated with them that contains various properties.

Template:El: Template:Main

<section begin="entity data"/>

<section end="entity data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Entity format.

Achievements

Template:Load achievements

Achievements that apply to all mobs: Template:Collapse

Advancements

Template:Load advancements

Advancements that apply to all mobs: Template:Collapse

History

Template:Info needed section

Development

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

New Nintendo 3DS Edition

Template:HistoryTable

Issues

Template:Issue list

Trivia

Gallery

Renders

Template:More images

Jockeys

Armed

Zombifying

Halloween

Zombie pigman

Screenshots

Zombified piglin

Zombie pigman

Mojang screenshots

Zombified piglin

Zombie pigman

Textures

In other media

See also

Notes

Template:Notelist

References

Template:Reflist

Navigation

Template:Navbox The Nether Template:Navbox entities

Minecraft:de:Zombifizierter Piglin Minecraft:es:Piglin zombificado Minecraft:fr:Piglin zombifié Minecraft:hu:Zombi-malacember Minecraft:it:Piglin zombificato Minecraft:ja:ゾンビピグリン Minecraft:ko:좀비화 피글린 Minecraft:lzh:屍化豕靈 Minecraft:nl:Zombievarken Minecraft:pl:Zzombifikowany piglin Minecraft:pt:Piglin-Zumbi Minecraft:ru:Зомбифицированный пиглин Minecraft:uk:Зомбований піґлін Minecraft:zh:僵尸猪灵