1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-13 14:49:28 +00:00
bedrock-samples/resource_pack/animations/parrot.animation.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

131 lines
3.1 KiB
JSON

{
"format_version" : "1.8.0",
"animations" : {
"animation.parrot.base" : {
"loop" : true,
"bones" : {
"body" : {
"position" : [ "-this", 0.0, 0.0 ],
"rotation" : [ "-this", 0.0, 0.0 ]
},
"feather" : {
"rotation" : [ "-this", 0.0, 0.0 ]
},
"head" : {
"position" : [ "-this", 0.0, 0.0 ],
"rotation" : [ 0.0, 0.0, "-this" ]
},
"leg0" : {
"position" : [ 0.0, "-6.0-this", -0.5 ],
"rotation" : [ "-16.713-this", 0.0, "-this" ]
},
"leg1" : {
"position" : [ 0.0, "-6.0-this", -0.5 ],
"rotation" : [ "-16.713-this", 0.0, "-this" ]
},
"tail" : {
"position" : [ "-this", 0.0, 0.0 ]
},
"wing0" : {
"position" : [ "1.5-this", 0.0, 0.0 ],
"rotation" : [ "-40.0-this", "-180.0-this", 0.0 ]
},
"wing1" : {
"position" : [ "-1.5-this", 0.0, 0.0 ],
"rotation" : [ "-40.0-this", "-180.0-this", 0.0 ]
}
}
},
"animation.parrot.dance" : {
"loop" : true,
"bones" : {
"body" : {
"position" : [ "variable.dance.x-this", "variable.dance.y", 0.0 ]
},
"head" : {
"rotation" : [ "-this", "-this", "variable.dance.y*23.0 - this" ]
},
"leg0" : {
"position" : [ "-variable.dance.x", "-variable.dance.y", 0.0 ],
"rotation" : [ 0.0, 0.0, "-20.0 - this" ]
},
"leg1" : {
"position" : [ "-variable.dance.x", "-variable.dance.y", 0.0 ],
"rotation" : [ 0.0, 0.0, "20.0 - this" ]
},
"tail" : {
"rotation" : [ "60.0 - this", 0.0, 0.0 ]
},
"wing0" : {
"rotation" : [ 0.0, 0.0, "-5.0 - variable.wing_flap" ]
},
"wing1" : {
"rotation" : [ 0.0, 0.0, "5.0 + variable.wing_flap" ]
}
}
},
"animation.parrot.flying" : {
"loop" : true,
"bones" : {
"leg0" : {
"rotation" : [ "math.cos(query.anim_time * 38.17) * 80.0 * query.modified_move_speed", 0.0, 0.0 ]
},
"leg1" : {
"rotation" : [ "math.cos(query.anim_time * 38.17) * -80.0 * query.modified_move_speed", 0.0, 0.0 ]
}
}
},
"animation.parrot.moving" : {
"loop" : true,
"bones" : {
"body" : {
"position" : [ 0.0, "variable.wing_flap * 0.3", 0.0 ]
},
"tail" : {
"rotation" : [ "60.0 + math.cos(query.anim_time * 38.17) * 17.0 - this", 0.0, 0.0 ]
},
"wing0" : {
"rotation" : [ 0.0, 0.0, "-5.0 - variable.wing_flap * 57.3" ]
},
"wing1" : {
"rotation" : [ 0.0, 0.0, "5.0 + variable.wing_flap * 57.3" ]
}
}
},
"animation.parrot.sitting" : {
"loop" : true,
"bones" : {
"body" : {
"position" : [ 0.0, -1.9, 0.0 ]
},
"leg0" : {
"rotation" : [ 90.0, 0.0, 0.0 ]
},
"leg1" : {
"rotation" : [ 90.0, 0.0, 0.0 ]
},
"tail" : {
"rotation" : [ "90.0 - this", 0.0, 0.0 ]
},
"wing0" : {
"rotation" : [ 0.0, 0.0, "-5.0-this" ]
},
"wing1" : {
"rotation" : [ 0.0, 0.0, "5.0-this" ]
}
}
},
"animation.parrot.standing" : {
"loop" : true,
"bones" : {
"leg0" : {
"rotation" : [ 20.0, 0.0, 0.0 ]
},
"leg1" : {
"rotation" : [ 20.0, 0.0, 0.0 ]
}
}
}
}
}