1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-23 17:34:18 +00:00
Files
bedrock-samples/resource_pack/entity/wither_skeleton.entity.json
2025-05-20 08:55:23 -07:00

94 lines
3.5 KiB
JSON

{
"format_version": "1.8.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:wither_skeleton",
"min_engine_version": "1.8.0",
"materials": {
"default": "skeleton"
},
"textures": {
"default": "textures/entity/skeleton/wither_skeleton"
},
"geometry": {
"default": "geometry.skeleton.wither.v1.8"
},
"scripts": {
"pre_animation": [
"variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
"variable.riding_y_offset_with_respect_to_player = -1.0;",
"variable.riding_y_offset_on_vehicle_where_other_entites_can_stand = query.is_riding_any_entity_of_type('minecraft:minecart', 'minecraft:boat', 'minecraft:chest_boat') ? -3.0 : 0.0;",
"variable.riding_y_offset = variable.riding_y_offset_with_respect_to_player + variable.riding_y_offset_on_vehicle_where_other_entites_can_stand;"
]
},
"animations": {
"look_at_target_default": "animation.humanoid.look_at_target.default",
"look_at_target_gliding": "animation.humanoid.look_at_target.gliding",
"look_at_target_swimming": "animation.humanoid.look_at_target.swimming",
"move": "animation.humanoid.move",
"riding.arms": "animation.humanoid.riding.arms",
"riding.legs": "animation.humanoid.riding.legs",
"holding": "animation.humanoid.holding",
"brandish_spear": "animation.humanoid.brandish_spear",
"charging": "animation.humanoid.charging",
"attack.rotations": "animation.humanoid.attack.rotations",
"sneaking": "animation.humanoid.sneaking",
"bob": "animation.humanoid.bob",
"damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs",
"bow_and_arrow": "animation.humanoid.bow_and_arrow",
"use_item_progress": "animation.humanoid.use_item_progress",
"wither_skeleton_attack": "animation.wither_skeleton.attack",
"swimming": "animation.zombie.swimming",
"riding.body": "animation.humanoid.riding.body"
},
"animation_controllers": [
{
"look_at_target": "controller.animation.humanoid.look_at_target"
},
{
"move": "controller.animation.humanoid.move"
},
{
"riding": "controller.animation.humanoid.riding"
},
{
"holding": "controller.animation.humanoid.holding"
},
{
"brandish_spear": "controller.animation.humanoid.brandish_spear"
},
{
"charging": "controller.animation.humanoid.charging"
},
{
"attack": "controller.animation.humanoid.attack"
},
{
"sneaking": "controller.animation.humanoid.sneaking"
},
{
"damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs"
},
{
"bow_and_arrow": "controller.animation.humanoid.bow_and_arrow"
},
{
"use_item_progress": "controller.animation.humanoid.use_item_progress"
},
{
"wither_skeleton_attack": "controller.animation.wither_skeleton.attack"
},
{
"swimming": "controller.animation.zombie.swimming"
}
],
"render_controllers": [
"controller.render.wither_skeleton"
],
"spawn_egg": {
"texture": "spawn_egg_wither_skeleton"
},
"enable_attachables": true
}
}
}