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/vex.animation.json
Mike Ammerlaan cb24cd72bb v1.19.60.3
2023-02-07 11:33:27 -08:00

57 lines
1.6 KiB
JSON

{
"format_version" : "1.8.0",
"animations" : {
"animation.vex.idle" : {
"loop" : true,
"bones" : {
"leftarm" : {
"rotation" : {
"0.0": [ 0.0, 0.0, -32.34 ],
"0.75": [ 0.0, 0.0, -45 ],
"2.0": [ 0.0, 0.0, -32.34 ]
}
},
"rightarm" : {
"rotation" : {
"0.0": [ 0.0, 0.0, 32.34 ],
"0.75": [ 0.0, 0.0, 45 ],
"2.0": [ 0.0, 0.0, 32.34 ]
}
},
"leftwing" : {
"rotation" : [ "27.0 - this", "-(15.0 + math.cos(query.life_time * 916.8) * 9.0) - this", "-45.0 - this" ]
},
"rightwing" : {
"rotation" : [ "27.0 - this", "15.0 + math.cos(query.life_time * 916.8) * 9.0 - this", "45.0 - this" ]
},
"rightItem" : {
"scale": 0.7
},
"leftItem" : {
"scale": 0.7
}
}
},
"animation.vex.charge" : {
"anim_time_update" : "query.modified_distance_moved",
"loop" : true,
"bones" : {
"rightarm" : {
"rotation" : [
"variable.empty_handed ? -70.0 - this : (query.is_item_equipped(0) ? 210.0 - this : this)",
"variable.empty_handed ? this : (query.is_item_equipped(0) ? 15.0 - this : this)",
"variable.empty_handed ? this : (query.is_item_equipped(0) ? -25.0 - 32.34 - this : this)"
]
},
"leftarm" : {
"rotation" : [
"variable.empty_handed ? -70.0 - this : (query.is_item_equipped(1) ? 210.0 - this : this)",
"variable.empty_handed ? this : (query.is_item_equipped(1) ? -15.0 - this : this)",
"variable.empty_handed ? this : (query.is_item_equipped(1) ? 25.0 + 32.34 - this : this)"
]
}
}
}
}
}