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/ocelot.animation.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

128 lines
4.0 KiB
JSON

{
"format_version" : "1.8.0",
"animations" : {
"animation.ocelot.baby_transform" : {
"loop" : true,
"bones" : {
"head" : {
"scale" : 1.5
}
}
},
"animation.ocelot.sit" : {
"loop" : true,
"bones" : {
"backlegl" : {
"position" : [ 0.0, "-2.0 - this", "6.0 - this" ],
"rotation" : [ -45.0, 0.0, 0.0 ]
},
"backlegr" : {
"position" : [ 0.0, "-2.0 - this", "6.0 - this" ],
"rotation" : [ "-45 - this", 0.0, 0.0 ]
},
"body" : {
"rotation" : [ "-45 - this", 0.0, 0.0 ]
},
"frontlegl" : {
"position" : [ 0.0, "-1.5 - this", "-7.0 - this" ],
"rotation" : [ "42.15 - this", 0.0, 0.0 ]
},
"frontlegr" : {
"position" : [ 0.0, "-1.5 - this", "-7.0 - this" ],
"rotation" : [ "42.15 - this", 0.0, 0.0 ]
},
"head" : {
"position" : [ 0.0, -2.0, 0.0 ]
},
"tail1" : {
"position" : [ 0.0, 0.0, 0.0 ],
"rotation" : [ "45 - this", 0.0, 0.0 ]
},
"tail2" : {
"position" : [ 0.0, 0.0, 0.0 ],
"rotation" : [ "45 - this", 0.0, 0.0 ]
}
}
},
"animation.ocelot.sneak" : {
"loop" : true,
"bones" : {
"backlegl" : {
"position" : [ 0.0, "1.0 - this", 0.0 ],
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"backlegr" : {
"position" : [ 0.0, "1.0 - this", 0.0 ],
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"body" : {
"position" : [ 0.0, -1.0, 0.0 ]
},
"frontlegl" : {
"position" : [ 0.0, "1.0 - this", 0.0 ],
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"frontlegr" : {
"position" : [ 0.0, "1.0 - this", 0.0 ],
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"head" : {
"position" : [ 0.0, -1.0, 0.0 ]
},
"tail1" : {
"position" : [ 0.0, "1.0 - this", 0.0 ]
},
"tail2" : {
"rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 27.0 * query.modified_move_speed - this", 0.0, 0.0 ]
}
}
},
"animation.ocelot.sprint" : {
"loop" : true,
"bones" : {
"backlegl" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"backlegr" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 17.19) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"frontlegl" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 197.19) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"frontlegr" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"tail1" : {
"rotation" : [ "-this", 0.0, 0.0 ]
},
"tail2" : {
"rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 18.0 * query.modified_move_speed - this", 0.0, 0.0 ]
}
}
},
"animation.ocelot.walk" : {
"loop" : true,
"bones" : {
"backlegl" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"backlegr" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"frontlegl" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"frontlegr" : {
"rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ]
},
"tail1" : {
"rotation" : [ "-51.57 - this", 0.0, 0.0 ]
},
"tail2" : {
"rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 45.0 * query.modified_move_speed - this", 0.0, 0.0 ]
}
}
}
}
}