Agent - 1.20.10.21

<< back to entity list

Last Updated

The Agent entity last updated in Minecraft Version 1.19.80
View Entity Version History >>

What's Changed:

Changes since beta version 1.20.10.20

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

Changes since stable release 1.20.10.1


      • Previous Value:
        "rightArm": {
            "rotation": [
                "(-2.0 + 1.5 * (math.abs(math.mod(variable.agent.swinganimationtick - query.frame_alpha, variable.agent.swinganimationduration) - variable.agent.swinganimationduration * 0.5) - variable.agent.swinganimationduration * 0.25) / (variable.agent.swinganimationduration * 0.25)) * 57.3",
                0,
                0
            ]
        }
      • New Value:
        "rightarm": {
            "rotation": [
                "(-2.0 + 1.5 * (math.abs(math.mod(variable.agent.swinganimationtick - query.frame_alpha, variable.agent.swinganimationduration) - variable.agent.swinganimationduration * 0.5) - variable.agent.swinganimationduration * 0.25) / (variable.agent.swinganimationduration * 0.25)) * 57.3",
                0,
                0
            ]
        }
      • Previous Value:
        "animation.agent.shrug": {
            "animation_length": 1.5,
            "bones": {
                "head": {
                 "rotation": {
                    "0.3333": [
                        0,
                        0,
                        0
                    ],
                    "0.5833": [
                        0,
                        0,
                        0
                    ],
                    "0.8333": [
                        0,
                        72.5,
                        0
                    ],
                    "1.0417": [
                        0,
                        0,
                        0
                    ],
                    "1.2917": [
                        0,
                        -62.5,
                        0
                    ],
                    "1.5": [
                        0,
                        0,
                        0
                    ]
                 },
                 "position": {
                    "0.0": [
                        0,
                        0,
                        0
                    ],
                    "0.125": [
                        0,
                        0,
                        0
                    ]
                 }
                },
                "leftArm": {
                 "rotation": {
                    "0.0": [
                        0,
                        0,
                        0
                    ],
                    "0.25": [
                        -64.03195,
                        -33.38529,
                        26.32435
                    ],
                    "0.625": [
                        0,
                        0,
                        0
                    ],
                    "0.75": [
                        0,
                        0,
                        0
                    ],
                    "0.9583": [
                        0,
                        0,
                        -10
                    ],
                    "1.1667": [
                        0,
                        0,
                        0
                    ]
                 },
                 "position": {
                    "0.75": [
                        0,
                        0,
                        0
                    ],
                    "0.9583": [
                        0,
                        1,
                        0
                    ],
                    "1.1667": [
                        0,
                        0,
                        0
                    ]
                 }
                },
                "rightArm": {
                 "rotation": {
                    "0.0": [
                        0,
                        0,
                        0
                    ],
                    "0.25": [
                        -58.25703,
                        25.73828,
                        -15.06695
                    ],
                    "0.625": [
                        0,
                        0,
                        0
                    ],
                    "0.75": [
                        0,
                        0,
                        0
                    ],
                    "0.9583": [
                        0,
                        0,
                        10
                    ],
                    "1.1667": [
                        0,
                        0,
                        0
                    ]
                 },
                 "position": {
                    "0.75": [
                        0,
                        0,
                        0
                    ],
                    "0.9583": [
                        0,
                        1,
                        0
                    ],
                    "1.1667": [
                        0,
                        0,
                        0
                    ]
                 }
                }
            }
        }
      • Previous Value:
        "animation_length": 1.5
      • Previous Value:
        "leftLeg": {
            "rotation": [
                "((-1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 + (variable.agent.ishovering * variable.agent.legxrotationfactor)",
                0,
                0
            ]
        }
      • New Value:
        "leftleg": {
            "rotation": [
                "((-1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 + (variable.agent.ishovering * variable.agent.legxrotationfactor)",
                0,
                0
            ]
        }
      • Previous Value:
        "leftArm": {
            "rotation": [
                "((-0.2 + 1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 - variable.agent.armxrotationfactor",
                0,
                "-variable.agent.armzrotation"
            ]
        }
      • New Value:
        "leftarm": {
            "rotation": [
                "((-0.2 + 1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 - variable.agent.armxrotationfactor",
                0,
                "-variable.agent.armzrotation"
            ]
        }
      • Previous Value:
        "rightArm": {
            "rotation": [
                "((-0.2 - 1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 + variable.agent.armxrotationfactor",
                0,
                "variable.agent.armzrotation"
            ]
        }
      • Previous Value:
        "rightLeg": {
            "rotation": [
                "((1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 - (variable.agent.ishovering * variable.agent.legxrotationfactor)",
                0,
                0
            ]
        }
      • New Value:
        "rightarm": {
            "rotation": [
                "((-0.2 - 1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 + variable.agent.armxrotationfactor",
                0,
                "variable.agent.armzrotation"
            ]
        }
      • New Value:
        "rightleg": {
            "rotation": [
                "((1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 - (variable.agent.ishovering * variable.agent.legxrotationfactor)",
                0,
                0
            ]
        }
      • New Value:
        "animations": {
            "move": "animation.agent.move",
            "look_at_target": "animation.common.look_at_target",
            "swing_arms": "animation.agent.swing_arms",
            "move_controller": "controller.animation.agent.move"
        }
        Previous Value:
        "animations": {
            "look_at_target": "animation.common.look_at_target",
            "move": "animation.agent.move",
            "swing_arms": "animation.agent.swing_arms",
            "shrug": "animation.agent.shrug",
            "move_controller": "controller.animation.agent.move"
        }
      • New Value:
        "scripts": {
            "pre_animation": [
                "variable.Agent.ArmZRotation = (Math.cos(query.life_time * 114.6) + 1.0) * 1.15;",
                "variable.Agent.ArmXRotationFactor = Math.sin(query.life_time * 80.0) * 4.6;",
                "variable.Agent.LegXRotationFactor = Math.sin(query.life_time * 46.0) * 1.15;"
            ],
            "animate": [
                "move_controller",
                "look_at_target"
            ]
        }
        Previous Value:
        "scripts": {
            "pre_animation": [
                "variable.Agent.ArmZRotation = (Math.cos(query.life_time * 114.6) + 1.0) * 1.15;",
                "variable.Agent.ArmXRotationFactor = Math.sin(query.life_time * 80.0) * 4.6;",
                "variable.Agent.LegXRotationFactor = Math.sin(query.life_time * 46.0) * 1.15;"
            ],
            "animate": [
                "look_at_target",
                "move_controller"
            ]
        }

Statistics:

    Inventory Size
    • Default: 27
    Other Attributes
    • Can be Renamed
    • Has Collisions
    • Has Gravity
    • Immune to Fire
    • Movement Speed
    • Pushable by Pistons

    Associated Files:

    Behavior File
    • behavior_packs/vanilla_1.16.100/entities/agent.json
    Animations
    • resource_packs/vanilla/animations/agent.animation.json
    • resource_packs/vanilla/animations/look_at_target.animation.json
    Animation Controllers
    • resource_packs/vanilla/animation_controllers/agent.animation_controllers.json
    Entity
    • resource_packs/vanilla/entity/agent.entity.json
    Geometry
    • resource_packs/vanilla_1.19.80/models/mobs.json
    Render Controllers
    • resource_packs/vanilla/render_controllers/agent.render_controllers.json
    Textures
    • resource_packs/vanilla/textures/entity/agent.png

    Material Info:

    Material: Agent
    {
        "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"
                        }
                    ]
                }
            },
            {
                "skinning_alphatest": {
                    "+defines": [
                        "USE_SKINNING",
                        "ALPHA_TEST"
                    ],
                    "+states": [
                        "DisableCulling"
                    ],
                    "vertexFields": [
                        {
                            "field": "Position"
                        },
                        {
                            "field": "BoneId0"
                        },
                        {
                            "field": "Normal"
                        },
                        {
                            "field": "UV0"
                        }
                    ]
                }
            }
        ],
        "msaaSupport": [
            "Both"
        ],
        "+samplerStates": {
            "samplerIndex": 0,
            "textureFilter": "Point"
        },
        "+defines": [
            "USE_OVERLAY"
        ]
    }