Piglin - 1.19.22.1

<< back to entity list

Last Updated

The Piglin entity last updated in Minecraft Version 1.19.20
View Entity Version History >>

What's Changed:

Changes since stable release 1.19.0.5


      • New Value:
        "minecraft:behavior.nearest_attackable_target": {
            "priority": 7,
            "within_radius": 16,
            "persist_time": 0,
            "entity_types": [
                {
                 "filters": {
                    "any_of": [
                        {
                         "test": "is_family",
                         "subject": "other",
                         "value": "wither"
                        }
                    ]
                 },
                 "max_dist": 16
                },
                {
                 "filters": {
                    "all_of": [
                        {
                         "test": "is_family",
                         "subject": "self",
                         "value": "piglin_hunter"
                        },
                        {
                         "test": "is_family",
                         "subject": "other",
                         "value": "hoglin_huntable"
                        },
                        {
                         "test": "has_component",
                         "subject": "other",
                         "operator": "!=",
                         "value": "minecraft:is_baby"
                        },
                        {
                         "test": "has_component",
                         "subject": "self",
                         "operator": "!=",
                         "value": "minecraft:attack_cooldown"
                        }
                    ]
                 },
                 "max_dist": 16
                },
                {
                 "filters": {
                    "all_of": [
                        {
                         "test": "is_family",
                         "subject": "other",
                         "value": "player"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "head",
                         "operator": "!=",
                         "value": "golden_helmet"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "torso",
                         "operator": "!=",
                         "value": "golden_chestplate"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "leg",
                         "operator": "!=",
                         "value": "golden_leggings"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "feet",
                         "operator": "!=",
                         "value": "golden_boots"
                        }
                    ]
                 },
                 "max_dist": 16,
                 "reevaluate_description": true
                },
                {
                 "filters": {
                    "any_of": [
                        {
                         "test": "has_container_open",
                         "subject": "other",
                         "operator": "==",
                         "value": true
                        }
                    ]
                 },
                 "max_dist": 16
                }
            ],
            "must_see": true
        }
        Previous Value:
        "minecraft:behavior.nearest_attackable_target": {
            "priority": 7,
            "within_radius": 16,
            "persist_time": 2,
            "entity_types": [
                {
                 "filters": {
                    "any_of": [
                        {
                         "test": "is_family",
                         "subject": "other",
                         "value": "wither"
                        }
                    ]
                 },
                 "max_dist": 16
                },
                {
                 "filters": {
                    "all_of": [
                        {
                         "test": "is_family",
                         "subject": "self",
                         "value": "piglin_hunter"
                        },
                        {
                         "test": "is_family",
                         "subject": "other",
                         "value": "hoglin_huntable"
                        },
                        {
                         "test": "has_component",
                         "subject": "other",
                         "operator": "!=",
                         "value": "minecraft:is_baby"
                        },
                        {
                         "test": "has_component",
                         "subject": "self",
                         "operator": "!=",
                         "value": "minecraft:attack_cooldown"
                        }
                    ]
                 },
                 "max_dist": 16
                },
                {
                 "filters": {
                    "all_of": [
                        {
                         "test": "is_family",
                         "subject": "other",
                         "value": "player"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "head",
                         "operator": "!=",
                         "value": "golden_helmet"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "torso",
                         "operator": "!=",
                         "value": "golden_chestplate"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "leg",
                         "operator": "!=",
                         "value": "golden_leggings"
                        },
                        {
                         "test": "has_equipment",
                         "subject": "other",
                         "domain": "feet",
                         "operator": "!=",
                         "value": "golden_boots"
                        }
                    ]
                 },
                 "max_dist": 16
                },
                {
                 "filters": {
                    "any_of": [
                        {
                         "test": "has_container_open",
                         "subject": "other",
                         "operator": "==",
                         "value": true
                        }
                    ]
                 },
                 "max_dist": 16
                }
            ],
            "must_see": true
        }

Changes since stable release 1.19.21.1

There have been no changes to this entity or its associated files since this previous version


Statistics:

Health

[16]

Loot / Barter Loot / Additional Drops
  • Golden Helmet
  • Book
  • Iron Boots
  • Potion
  • Splash Potion
  • Iron Nugget
  • Ender Pearl
  • String
  • Quartz
  • Obsidian
  • Crying Obsidian
  • Fireball
  • Leather
  • Soul Sand
  • Netherbrick
  • Arrow
  • Gravel
  • Blackstone
  • Golden Sword
  • Crossbow
    Attack Damage
    • Melee Unit: 5
    Families
    • Hunter: Monster, Piglin, Piglin Hunter
    • Not Hunter: Monster, Piglin
    Inventory Size
    • Default: 8
    Movement Speed
    • Piglin Adult: 0.35
    • Piglin Baby: 0.42
    Shoots Projectiles
    • Ranged Unit: Arrow
    Variations
    • Melee Unit
    • Ranged Unit
    Other Attributes
    • Can be Renamed
    • Can Jump
    • Has Collisions
    • Has Gravity
    • Pushable
    • Pushable by Pistons

    Associated Files:

    Behavior File
    • behavior_packs/vanilla_1.19.20/entities/piglin.json
    Animations
    • resource_packs/vanilla_1.16/animations/piglin.animation.json
    • resource_packs/vanilla_1.19.10/animations/humanoid.animation.json
    Animation Controllers
    • resource_packs/vanilla_1.16/animation_controllers/piglin.animation_controllers.json
    • resource_packs/vanilla_1.17.0/animation_controllers/humanoid.animation_controllers.json
    Entity
    • resource_packs/vanilla_1.16/entity/piglin.entity.json
    Geometry
    • resource_packs/vanilla_1.16/models/entity/piglin.geo.json
    Loot Tables
    • behavior_packs/vanilla/loot_tables/entities/armor_set_gold.json
    • behavior_packs/vanilla_1.16.100/loot_tables/entities/piglin_barter.json
    • behavior_packs/vanilla_1.16/loot_tables/entities/piglin_gear_melee.json
    • behavior_packs/vanilla_1.16/loot_tables/entities/piglin_gear_ranged.json
    Render Controllers
    • resource_packs/vanilla_1.16/render_controllers/piglin.render_controllers.json
    Sounds
    • resource_packs/vanilla/sounds/mob/piglin/admire1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/admire2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/angry1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/angry2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/angry3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/angry4.fsb
    • resource_packs/vanilla/sounds/mob/piglin/celebrate1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/celebrate2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/celebrate3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/celebrate4.fsb
    • resource_packs/vanilla/sounds/mob/piglin/death1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/death2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/death3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/death4.fsb
    • resource_packs/vanilla/sounds/mob/piglin/hurt1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/hurt2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/hurt3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/idle1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/idle2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/idle3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/idle4.fsb
    • resource_packs/vanilla/sounds/mob/piglin/idle5.fsb
    • resource_packs/vanilla/sounds/mob/piglin/jealous1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/jealous2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/jealous3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/jealous4.fsb
    • resource_packs/vanilla/sounds/mob/piglin/jealous5.fsb
    • resource_packs/vanilla/sounds/mob/piglin/retreat1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/retreat2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/retreat3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/retreat4.fsb
    • resource_packs/vanilla/sounds/mob/piglin/step1.fsb
    • resource_packs/vanilla/sounds/mob/piglin/step2.fsb
    • resource_packs/vanilla/sounds/mob/piglin/step3.fsb
    • resource_packs/vanilla/sounds/mob/piglin/step4.fsb
    • resource_packs/vanilla/sounds/mob/piglin/step5.fsb
    Spawn Rules
    • behavior_packs/vanilla_1.16.100/spawn_rules/piglin.json
    Textures
    • resource_packs/vanilla_1.16/textures/entity/piglin/piglin.png

    Material Info:

    Material: Piglin
    {
        "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"
        ]
    }