1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-23 13:36:18 +00:00
bedrock-samples/resource_pack/entity/strider.entity.json
Mike Ammerlaan e304be6ab8 v1.20.80.5
2024-04-23 09:20:49 -07:00

46 lines
1.4 KiB
JSON

{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:strider",
"materials": {
"default": "strider"
},
"textures": {
"default": "textures/entity/strider/strider",
"saddled": "textures/entity/strider/strider_saddled",
"suffocated": "textures/entity/strider/strider_suffocated",
"suffocated_saddled": "textures/entity/strider/strider_suffocated_saddled"
},
"geometry": {
"default": "geometry.strider"
},
"spawn_egg": {
"base_color": "#9c3436",
"overlay_color": "#4d494d"
},
"scripts": {
"pre_animation": [
"variable.animation_speed = Math.min(query.modified_move_speed, 0.25);",
"variable.speed = 85.9437;",
"variable.bristle_flow=Math.cos(query.modified_distance_moved * variable.speed + 180) * variable.animation_speed;",
"variable.bristle_range_mod=1;",
"variable.bristle_speed_mod=1;"
],
"animate": [
"look_at_target",
"walk",
"bristle_flow"
]
},
"animations": {
"look_at_target": "animation.strider.look_at_target.default",
"walk": "animation.strider.walk",
"bristle_flow": "animation.strider.bristle_flow"
},
"render_controllers": [
"controller.render.strider"
]
}
}
}