Zombie Pigman - 1.16.0.2

<< back to entity list

Last Updated

The Zombie Pigman entity last updated in Minecraft Version 1.16
View Entity Version History >>

What's Changed:

Changes since stable release 1.14.60.5


      • New Value:
        "format_version": "1.16.0"
        Previous Value:
        "format_version": "1.13.0"
      • New Value:
        "minecraft:behavior.equip_item": {
            "priority": 3
        }
      • New Value:
        "minecraft:behavior.melee_attack": {
            "priority": 4,
            "speed_multiplier": 1.5
        }
        Previous Value:
        "minecraft:behavior.melee_attack": {
            "priority": 3,
            "speed_multiplier": 1.5,
            "track_target": false
        }
      • New Value:
        "minecraft:behavior.move_towards_restriction": {
            "priority": 6
        }
        Previous Value:
        "minecraft:behavior.move_towards_restriction": {
            "priority": 5
        }
      • New Value:
        "minecraft:behavior.pickup_items": {
            "priority": 6,
            "max_dist": 3,
            "goal_radius": 2,
            "speed_multiplier": 1,
            "pickup_based_on_chance": true,
            "can_pickup_any_item": true
        }
      • New Value:
        "minecraft:behavior.stomp_turtle_egg": {
            "priority": 5,
            "speed_multiplier": 1,
            "search_range": 10,
            "search_height": 2,
            "goal_radius": 1.14,
            "interval": 20
        }
        Previous Value:
        "minecraft:behavior.stomp_turtle_egg": {
            "priority": 4,
            "speed_multiplier": 1,
            "search_range": 10,
            "search_height": 3,
            "goal_radius": 1.14,
            "search_count": 4,
            "interval": 20
        }
      • Previous Value:
        "minecraft:burns_in_daylight": false
      • New Value:
        "minecraft:despawn": {
            "despawn_from_distance": []
        }
      • New Value:
        "minecraft:equip_item": []
      • New Value:
        "minecraft:fire_immune": []
        Previous Value:
        "minecraft:fire_immune": true
      • New Value:
        "minecraft:shareables": {
            "items": [
                {
                 "item": "minecraft:netherite_sword",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 0
                },
                {
                 "item": "minecraft:diamond_sword",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 0
                },
                {
                 "item": "minecraft:iron_sword",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 1
                },
                {
                 "item": "minecraft:stone_sword",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 2
                },
                {
                 "item": "minecraft:golden_sword",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 3
                },
                {
                 "item": "minecraft:wooden_sword",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 4
                },
                {
                 "item": "minecraft:netherite_helmet",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 0
                },
                {
                 "item": "minecraft:diamond_helmet",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 1
                },
                {
                 "item": "minecraft:iron_helmet",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 2
                },
                {
                 "item": "minecraft:chainmail_helmet",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 3
                },
                {
                 "item": "minecraft:golden_helmet",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 4
                },
                {
                 "item": "minecraft:leather_helmet",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 5
                },
                {
                 "item": "minecraft:turtle_helmet",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 6
                },
                {
                 "item": "minecraft:skull:0",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 7
                },
                {
                 "item": "minecraft:skull:1",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 7
                },
                {
                 "item": "minecraft:carved_pumpkin",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 7
                },
                {
                 "item": "minecraft:netherite_chestplate",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 0
                },
                {
                 "item": "minecraft:diamond_chestplate",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 1
                },
                {
                 "item": "minecraft:iron_chestplate",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 2
                },
                {
                 "item": "minecraft:chainmail_chestplate",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 3
                },
                {
                 "item": "minecraft:golden_chestplate",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 4
                },
                {
                 "item": "minecraft:leather_chestplate",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 5
                },
                {
                 "item": "minecraft:netherite_leggings",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 0
                },
                {
                 "item": "minecraft:diamond_leggings",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 1
                },
                {
                 "item": "minecraft:iron_leggings",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 2
                },
                {
                 "item": "minecraft:chainmail_leggings",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 3
                },
                {
                 "item": "minecraft:golden_leggings",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 4
                },
                {
                 "item": "minecraft:leather_leggings",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 5
                },
                {
                 "item": "minecraft:netherite_boots",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 0
                },
                {
                 "item": "minecraft:diamond_boots",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 1
                },
                {
                 "item": "minecraft:iron_boots",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 2
                },
                {
                 "item": "minecraft:chainmail_boots",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 3
                },
                {
                 "item": "minecraft:golden_boots",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 4
                },
                {
                 "item": "minecraft:leather_boots",
                 "want_amount": 1,
                 "surplus_amount": 1,
                 "priority": 5
                }
            ]
        }

      • New Value:
        "leftarm": {
            "rotation": [
                "-90.0 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) - (math.sin(query.life_time * 76.776372) * 2.865) - this",
                "5.73 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 0.6) - this",
                "math.cos(query.life_time * 103.13244) * -2.865 - 2.865 - this"
            ]
        }
        Previous Value:
        "leftarm": {
            "rotation": [
                "-90 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) - (math.sin(query.life_time * 76.776372) * 2.865) - this",
                "5.73 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 0.6) - this",
                "math.cos(query.life_time * 103.13244) * -2.865 - 2.865 - this"
            ]
        }
      • New Value:
        "body": {
            "position": [
                0,
                "variable.swim_amount * -10.0 - this",
                "variable.swim_amount * 9.0 - this"
            ],
            "rotation": [
                "variable.swim_amount * (90.0 + query.target_x_rotation)",
                0,
                0
            ]
        }
      • New Value:
        "leftleg": {
            "rotation": [
                "math.lerp(this, math.cos(query.life_time * 390.0 + 180.0) * 0.3, variable.swim_amount)",
                0,
                0
            ]
        }
      • New Value:
        "leftarm": {
            "rotation": [
                "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) - (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this",
                "math.lerp(this, 14.325, variable.swim_amount) - this",
                "math.lerp(this, 14.325, variable.swim_amount) - (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this"
            ]
        }
        Previous Value:
        "leftarm": {
            "rotation": [
                "math.lerprotate(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) - (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this",
                "math.lerprotate(this, 14.325, variable.swim_amount) - this",
                "math.lerprotate(this, 14.325, variable.swim_amount) - (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this"
            ]
        }
      • New Value:
        "rightarm": {
            "rotation": [
                "90.0 * (variable.is_brandishing_spear - 1.0) - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) + (math.sin(query.life_time * 76.776372) * 2.865) - this",
                "(math.sin(variable.attack_time * 180.0) * 57.3) * 0.6 - 5.73 - this",
                "math.cos(query.life_time * 103.13244) * 2.865 + 2.865 - this"
            ]
        }
        Previous Value:
        "rightarm": {
            "rotation": [
                "90 * (variable.is_brandishing_spear - 1.0) - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) + (math.sin(query.life_time * 76.776372) * 2.865) - this",
                "(math.sin(variable.attack_time * 180.0) * 57.3) * 0.6 - 5.73 - this",
                "math.cos(query.life_time * 103.13244) * 2.865 + 2.865 - this"
            ]
        }
      • New Value:
        "rightarm": {
            "rotation": [
                "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) + (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this",
                "math.lerp(this, 14.325, variable.swim_amount) - this",
                "math.lerp(this, -14.325, variable.swim_amount) + (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this"
            ]
        }
        Previous Value:
        "rightarm": {
            "rotation": [
                "math.lerprotate(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) + (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this",
                "math.lerprotate(this, 14.325, variable.swim_amount) - this",
                "math.lerprotate(this, -14.325, variable.swim_amount) + (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this"
            ]
        }
      • New Value:
        "rightleg": {
            "rotation": [
                "math.lerp(this, math.cos(query.life_time * 390.0) * 0.3, variable.swim_amount)",
                0,
                0
            ]
        }

Statistics:

Health

[20]

Loot / Barter Loot / Additional Drops
  • Rotten Flesh
  • Gold Nugget
  • Gold Ingot
  • Golden Sword
    Attack Damage
    • Default: 5
    Can be Ridden by Mobs
    • Pig Zombie Adult: Zombie
    Families
    • Default: Mob, Monster, Undead, Zombie Pigman
    Movement Speed
    • Default: 0.23
    Other Attributes
    • Can be Renamed
    • Can Breath in Water
    • Can Climb
    • Can Jump
    • Has Collisions
    • Has Gravity
    • Immune to Fire
    • Pushable
    • Pushable by Pistons

    Associated Files:

    Behavior File
    • behavior_packs/vanilla_1.16/entities/zombie_pigman.json
    Animations
    • resource_packs/vanilla/animations/zombie.animation.json
    • resource_packs/vanilla_1.16/animations/humanoid.animation.json
    Animation Controllers
    • resource_packs/vanilla/animation_controllers/humanoid.animation_controllers.json
    • resource_packs/vanilla/animation_controllers/zombie.animation_controllers.json
    Entity
    • resource_packs/vanilla_1.16/entity/zombie_pigman.entity.json
    Geometry
    • resource_packs/vanilla_1.16/models/entity/piglin.geo.json
    Loot Tables
    • behavior_packs/vanilla/loot_tables/entities/zombie_pigman.json
    • behavior_packs/vanilla/loot_tables/entities/zombie_pigman_gear.json
    Render Controllers
    • resource_packs/vanilla_1.16/render_controllers/zombie_pigman.render_controllers.json
    Sounds
    • resource_packs/vanilla/sounds/mob/zombiepig/zpig1.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpig2.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpig3.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpig4.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpigangry1.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpigangry2.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpigangry3.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpigangry4.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpigdeath.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpighurt1.fsb
    • resource_packs/vanilla/sounds/mob/zombiepig/zpighurt2.fsb
    Spawn Rules
    • behavior_packs/vanilla_1.16/spawn_rules/zombie_pigman.json
    Textures
    • resource_packs/vanilla_1.16/textures/entity/piglin/zombie_piglin.png

    Material Info:

    Material: Zombie
    {
        "vertexShader": "shaders/entity.vertex",
        "vrGeometryShader": "shaders/entity.geometry",
        "fragmentShader": "shaders/entity.fragment",
        "vertexFields": [
            {
                "field": "Position"
            },
            {
                "field": "Normal"
            },
            {
                "field": "UV0"
            }
        ],
        "variants": [
            {
                "skinning": {
                    "+defines": [
                        "USE_SKINNING"
                    ],
                    "vertexFields": [
                        {
                            "field": "Position"
                        },
                        {
                            "field": "BoneId0"
                        },
                        {
                            "field": "Normal"
                        },
                        {
                            "field": "UV0"
                        }
                    ]
                }
            },
            {
                "skinning_color": {
                    "+defines": [
                        "USE_SKINNING",
                        "USE_OVERLAY"
                    ],
                    "+states": [
                        "Blending"
                    ],
                    "vertexFields": [
                        {
                            "field": "Position"
                        },
                        {
                            "field": "BoneId0"
                        },
                        {
                            "field": "Color"
                        },
                        {
                            "field": "Normal"
                        },
                        {
                            "field": "UV0"
                        }
                    ]
                }
            }
        ],
        "msaaSupport": [
            "Both"
        ],
        "+samplerStates": {
            "samplerIndex": 1,
            "textureWrap": "Repeat"
        },
        "+defines": [
            "USE_OVERLAY",
            "ALPHA_TEST"
        ],
        "+states": [
            "DisableCulling"
        ]
    }