mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
83 lines
2.9 KiB
JSON
83 lines
2.9 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"minecraft:client_entity": {
|
|
"description": {
|
|
"identifier": "minecraft:drowned",
|
|
"materials": {
|
|
"default": "drowned"
|
|
},
|
|
"textures": {
|
|
"default": "textures/entity/zombie/drowned"
|
|
},
|
|
"geometry": {
|
|
"default": "geometry.zombie.drowned"
|
|
},
|
|
"scripts": {
|
|
"pre_animation": [
|
|
"variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;"
|
|
],
|
|
"animate": [
|
|
{
|
|
"humanoid_big_head": "query.is_baby"
|
|
},
|
|
"humanoid_base_pose",
|
|
"look_at_target",
|
|
"move",
|
|
{
|
|
"riding.arms": "query.is_riding"
|
|
},
|
|
{
|
|
"riding.legs": "query.is_riding"
|
|
},
|
|
"holding",
|
|
{
|
|
"charging": "query.is_charging"
|
|
},
|
|
"attack_controller",
|
|
{
|
|
"brandish_spear": "variable.is_brandishing_spear"
|
|
},
|
|
"bob",
|
|
{
|
|
"damage_nearby_mobs": "variable.damage_nearby_mobs"
|
|
},
|
|
{
|
|
"use_item_progress": "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 )"
|
|
},
|
|
{
|
|
"swimming": "variable.swim_amount > 0.0"
|
|
}
|
|
]
|
|
},
|
|
"animations": {
|
|
"humanoid_big_head": "animation.humanoid.big_head.v1.0",
|
|
"humanoid_base_pose": "animation.humanoid.base_pose.v1.0",
|
|
"look_at_target": "controller.animation.humanoid.look_at_target",
|
|
"look_at_target_default": "animation.humanoid.look_at_target.default.v1.0",
|
|
"look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0",
|
|
"look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0",
|
|
"move": "animation.humanoid.move.v1.0",
|
|
"riding.arms": "animation.humanoid.riding.arms.v1.0",
|
|
"riding.legs": "animation.humanoid.riding.legs.v1.0",
|
|
"holding": "animation.humanoid.holding.v1.0",
|
|
"brandish_spear": "animation.humanoid.brandish_spear.v1.0",
|
|
"charging": "animation.humanoid.charging.v1.0",
|
|
"bob": "animation.humanoid.bob.v1.0",
|
|
"damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0",
|
|
"use_item_progress": "animation.humanoid.use_item_progress.v1.0",
|
|
"attack_controller": "controller.animation.drowned.attack.rotations",
|
|
"zombie_attack_bare_hand": "animation.zombie.attack_bare_hand",
|
|
"attack_rotations": "animation.drowned.attack.rotations.v1.0",
|
|
"swimming": "animation.drowned.swimming.v1.0"
|
|
},
|
|
"render_controllers": [
|
|
"controller.render.drowned"
|
|
],
|
|
"enable_attachables": true,
|
|
"spawn_egg": {
|
|
"texture": "spawn_egg",
|
|
"texture_index": 48
|
|
}
|
|
}
|
|
}
|
|
} |