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

23 lines
775 B
JSON

{
"format_version": "1.10.0",
"animations": {
"animation.bow.wield": {
"loop": true,
"bones": {
"rightitem": {
"position": [ "c.is_first_person ? -5.5 : 0.5", "c.is_first_person ? -3.0 : -2.5", "c.is_first_person ? -3.0 : 1.0" ],
"rotation": [ "c.is_first_person ? 38.0 : 0.0", "c.is_first_person ? -120.0 : 0.0", "c.is_first_person ? -63.0 : 0.0" ]
}
}
},
"animation.bow.wield_first_person_pull": {
"loop": true,
"bones": {
"rightitem": {
"position": [ -1.5, " 2.5 + ( variable.charge_amount >= 1.0 ? math.sin( (q.life_time) * 1000.0 * 1.3) * 0.1 - math.sin(q.life_time * 45.0) * 0.5 : 0.0)", -4.8 ],
"rotation": [ -53.0, 8.0, 35.0 ]
}
}
}
}
}