mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"minecraft:client_entity": {
|
|
"description": {
|
|
"identifier": "minecraft:agent",
|
|
"materials": {
|
|
"default": "agent"
|
|
},
|
|
"textures": {
|
|
"default": "textures/entity/agent"
|
|
},
|
|
"geometry": {
|
|
"default": "geometry.agent"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
"render_controllers": [
|
|
"controller.render.agent"
|
|
],
|
|
"spawn_egg": {
|
|
"texture": "spawn_egg",
|
|
"texture_index": 52
|
|
}
|
|
}
|
|
}
|
|
} |