Zombie Pigman - 1.17.0.2

<< back to entity list

Last Updated

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

What's Changed:

Changes since stable release 1.16.221.101



      • Previous Value:
        "animation.humanoid.fishing_rod": {
            "loop": true,
            "bones": {
                "rightarm": {
                 "rotation": [
                    " -19.0 - this",
                    "-this",
                    "-this"
                 ]
                }
            }
        }
      • New Value:
        "animation.humanoid.holding_spyglass": {
            "loop": true,
            "bones": {
                "rightarm": {
                 "rotation": [
                    "math.clamp(query.target_x_rotation - 105 - (variable.is_sneaking ? 15 : 0), -170, 180)",
                    "math.clamp(query.target_y_rotation - 15, -60, 90)",
                    5
                 ]
                }
            }
        }
      • New Value:
        "rightarm": {
            "rotation": [
                "math.sin(1.0 - math.pow(1.0 - variable.attack_time, 3.0) * 180.0) * (variable.is_brandishing_spear || variable.is_holding_spyglass ? -1.0 : 1.0 )",
                "variable.is_brandishing_spear || variable.is_holding_spyglass ? 0.0 : (math.sin(math.sqrt(variable.attack_time) * 360) * 11.46) * 2.0",
                0
            ]
        }
        Previous Value:
        "rightarm": {
            "rotation": [
                "math.sin(1.0 - math.pow(1.0 - variable.attack_time, 3.0) * 180.0) * (variable.is_brandishing_spear ? -1.0 : 1.0 )",
                "variable.is_brandishing_spear ? 0.0 : (math.sin(math.sqrt(variable.attack_time) * 360) * 11.46) * 2.0",
                0
            ]
        }
      • New Value:
        "controller.animation.humanoid.holding_spyglass": {
            "initial_state": "default",
            "states": {
                "holding_spyglass": {
                 "animations": [
                    "holding_spyglass"
                 ],
                 "transitions": [
                    {
                        "default": "!variable.is_holding_spyglass"
                    }
                 ]
                },
                "default": {
                 "transitions": [
                    {
                        "holding_spyglass": "variable.is_holding_spyglass"
                    }
                 ]
                }
            }
        }

Statistics:

Health

[20]

Loot / Barter Loot / Additional Drops
  • Golden Sword
  • Rotten Flesh
  • Gold Nugget
  • Gold Ingot
  • Warped Fungus On A Stick
    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.17.0/entities/zombie_pigman.json
    Animations
    • resource_packs/vanilla/animations/zombie.animation.json
    • resource_packs/vanilla_1.17.0/animations/humanoid.animation.json
    Animation Controllers
    • resource_packs/vanilla/animation_controllers/zombie.animation_controllers.json
    • resource_packs/vanilla_1.17.0/animation_controllers/humanoid.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_gear.json
    • behavior_packs/vanilla_1.16.220/loot_tables/entities/zombie_pigman.json
    • behavior_packs/vanilla_1.16/loot_tables/entities/zombified_piglin_rider_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.200/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"
        ]
    }