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

89 lines
2.9 KiB
JSON

{
"format_version": "1.8.0",
"animations": {
"animation.armor.helmet.offset": {
"loop": true,
"bones": {
"head": {
"position": [
"query.get_root_locator_offset('armor_offset.helmet', 0)",
"query.get_root_locator_offset('armor_offset.helmet', 1)",
"query.get_root_locator_offset('armor_offset.helmet', 2)"
]
}
}
},
"animation.armor.chestplate.offset": {
"loop": true,
"bones": {
"body": {
"position": [
"query.get_root_locator_offset('armor_offset.chestplate', 0)",
"query.get_root_locator_offset('armor_offset.chestplate', 1)",
"query.get_root_locator_offset('armor_offset.chestplate', 2)"
]
},
"leftArm": {
"position": [
"query.get_root_locator_offset('armor_offset.left_arm', 0)",
"query.get_root_locator_offset('armor_offset.left_arm', 1)",
"query.get_root_locator_offset('armor_offset.left_arm', 2)"
]
},
"rightArm": {
"position": [
"query.get_root_locator_offset('armor_offset.right_arm', 0)",
"query.get_root_locator_offset('armor_offset.right_arm', 1)",
"query.get_root_locator_offset('armor_offset.right_arm', 2)"
]
}
}
},
"animation.armor.leggings.offset": {
"loop": true,
"bones": {
"body": {
"position": [
"query.get_root_locator_offset('armor_offset.leggings', 0)",
"query.get_root_locator_offset('armor_offset.leggings', 1)",
"query.get_root_locator_offset('armor_offset.leggings', 2)"
]
},
"leftLeg": {
"position": [
"query.get_root_locator_offset('armor_offset.left_leg', 0)",
"query.get_root_locator_offset('armor_offset.left_leg', 1)",
"query.get_root_locator_offset('armor_offset.left_leg', 2)"
]
},
"rightLeg": {
"position": [
"query.get_root_locator_offset('armor_offset.right_leg', 0)",
"query.get_root_locator_offset('armor_offset.right_leg', 1)",
"query.get_root_locator_offset('armor_offset.right_leg', 2)"
]
}
}
},
"animation.armor.boots.offset": {
"loop": true,
"bones": {
"leftLeg": {
"position": [
"query.get_root_locator_offset('armor_offset.left_boot', 0)",
"query.get_root_locator_offset('armor_offset.left_boot', 1)",
"query.get_root_locator_offset('armor_offset.left_boot', 2)"
]
},
"rightLeg": {
"position": [
"query.get_root_locator_offset('armor_offset.right_boot', 0)",
"query.get_root_locator_offset('armor_offset.right_boot', 1)",
"query.get_root_locator_offset('armor_offset.right_boot', 2)"
]
}
}
}
}
}