Pig - 1.18.1.2

<< back to entity list

Last Updated

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

What's Changed:

Changes since stable release 1.18.0.2

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


Statistics:

Health

[10]

Loot / Barter Loot / Additional Drops
  • Porkchop
  • Saddle
    Breedable
    • Pig Adult: Beetroot, Carrot, Potato
    Can be Ridden by Mobs
    • Pig Unsaddled: Zombie
    Families
    • Default: Mob, Pig
    Movement Speed
    • Default: 0.25
    Other Attributes
    • Can be Renamed
    • Can be Ridden by Player > Pig Saddled
    • Can Climb
    • Can Jump
    • Has Collisions
    • Has Gravity
    • Leashable
    • Pushable
    • Pushable by Pistons

    Associated Files:

    Behavior File
    • behavior_packs/vanilla_1.17.0/entities/pig.json
    Animations
    • resource_packs/vanilla/animations/look_at_target.animation.json
    • resource_packs/vanilla/animations/pig.animation.json
    • resource_packs/vanilla/animations/quadruped.animation.json
    Entity
    • resource_packs/vanilla/entity/pig.entity.json
    Geometry
    • resource_packs/vanilla/models/entity/pig.geo.json
    Loot Tables
    • behavior_packs/vanilla/loot_tables/entities/pig.json
    • behavior_packs/vanilla/loot_tables/entities/pig_saddled.json
    Render Controllers
    • resource_packs/vanilla/render_controllers/pig.render_controllers.json
    Sounds
    • resource_packs/vanilla/sounds/mob/pig/boost1.fsb
    • resource_packs/vanilla/sounds/mob/pig/boost2.fsb
    • resource_packs/vanilla/sounds/mob/pig/boost3.fsb
    • resource_packs/vanilla/sounds/mob/pig/boost4long.fsb
    • resource_packs/vanilla/sounds/mob/pig/boost5long.fsb
    • resource_packs/vanilla/sounds/mob/pig/death.fsb
    • resource_packs/vanilla/sounds/mob/pig/say1.fsb
    • resource_packs/vanilla/sounds/mob/pig/say2.fsb
    • resource_packs/vanilla/sounds/mob/pig/say3.fsb
    • resource_packs/vanilla/sounds/mob/pig/step1.fsb
    • resource_packs/vanilla/sounds/mob/pig/step2.fsb
    • resource_packs/vanilla/sounds/mob/pig/step3.fsb
    • resource_packs/vanilla/sounds/mob/pig/step4.fsb
    • resource_packs/vanilla/sounds/mob/pig/step5.fsb
    Spawn Rules
    • behavior_packs/vanilla/spawn_rules/pig.json
    Textures
    • resource_packs/vanilla/textures/entity/pig/pig.png
    • resource_packs/vanilla/textures/entity/pig/pig_saddle.png

    Material Info:

    Material: Pig
    {
        "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": 0,
            "textureFilter": "Point"
        },
        "+defines": [
            "USE_OVERLAY"
        ]
    }