diff --git a/resource_packs/vanilla_1.21.70/entity/creeper.entity.json b/resource_packs/vanilla_1.21.80/entity/creeper.entity.json index 4af52be..a287646 100644 --- a/resource_packs/vanilla_1.21.70/entity/creeper.entity.json +++ b/resource_packs/vanilla_1.21.80/entity/creeper.entity.json @@ -1,5 +1,5 @@ { - "format_version": "1.8.0", + "format_version": "1.10.0", "minecraft:client_entity": { "description": { "identifier": "minecraft:creeper", @@ -26,19 +26,25 @@ "variable.swelling_scale2 = (Math.pow(Math.clamp(query.swell_amount, 0.0, 1.0), 4.0) * 0.1 + 1.0) / variable.wobble;", "variable.leg_rot = Math.cos(query.modified_distance_moved * 38.17326) * 80.22 * query.modified_move_speed;", "variable.flash = Math.mod(Math.Round(query.swell_amount * 10.0), 2.0);" + ], + "animate": [ + "creeper_head_controller", + "creeper_legs_controller", + "creeper_swelling_controller" ] }, "animations": { "creeper_head": "animation.common.look_at_target", + "creeper_head_controller": "controller.animation.creeper.head", "creeper_legs": "animation.creeper.legs", - "creeper_swelling": "animation.creeper.swelling" + "creeper_legs_controller": "controller.animation.creeper.legs", + "creeper_swelling": "animation.creeper.swelling", + "creeper_swelling_controller": "controller.animation.creeper.swelling" }, - "animation_controllers": [ - { "creeper_head": "controller.animation.creeper.head" }, - { "creeper_legs": "controller.animation.creeper.legs" }, - { "creeper_swelling": "controller.animation.creeper.swelling" } - ], - "render_controllers": [ "controller.render.creeper", "controller.render.creeper_armor" ] + "render_controllers": [ + "controller.render.creeper", + { "controller.render.creeper_armor": "query.is_powered" } + ] } } -} \ No newline at end of file +}