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

61 lines
1.2 KiB
JSON

{
"format_version" : "1.8.0",
"animations" : {
"animation.villager.baby_transform" : {
"loop" : true,
"bones" : {
"head" : {
"scale" : 1.5
}
}
},
"animation.villager.general" : {
"loop" : true,
"bones" : {
"arms" : {
"position" : [ 0.0, -1.0, -1.0 ],
"rotation" : [ "-42.97 - this", 0.0, 0.0 ]
}
}
},
"animation.villager.general.v1.0" : {
"loop" : true,
"bones" : {
"arms" : {
"position" : [ 0.0, "-3.0 - this", "-1.0 - this" ],
"rotation" : [ "-42.97 - this", 0.0, 0.0 ]
}
}
},
"animation.villager.get_in_bed" : {
"loop" : true,
"bones" : {
"body" : {
"position" : [ 0.0, 1.0, -15.0 ],
"rotation" : [ -90.0, 0.0, 0.0 ]
}
}
},
"animation.villager.move" : {
"anim_time_update" : "query.modified_distance_moved",
"loop" : true,
"bones" : {
"leg0" : {
"rotation" : [ "(math.cos(query.anim_time * 38.17) * 40.0) - this", "-this", 0.0 ]
},
"leg1" : {
"rotation" : [ "(math.cos(query.anim_time * 38.17 + 180) * 40.0) - this", "-this", 0.0 ]
}
}
},
"animation.villager.raise_arms" : {
"loop" : true,
"bones" : {
"arms" : {
"rotation" : [ "variable.raise_arms * -15.0", 0.0, 0.0 ]
}
}
}
}
}