mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-13 14:49:28 +00:00
a3b394c507
Initial layout
176 lines
5.1 KiB
JSON
176 lines
5.1 KiB
JSON
{
|
|
"format_version": "1.8.0",
|
|
"animations": {
|
|
"animation.bee.flying": {
|
|
"loop": true,
|
|
"animation_length": 2.55,
|
|
"bones": {
|
|
"body": {
|
|
"rotation": {
|
|
"0.0": [ 0, 0, 0 ],
|
|
"1.30": [ 5, 0, 0 ],
|
|
"2.55": [ 0, 0, 0 ]
|
|
}
|
|
},
|
|
"leftwing_bone": {
|
|
"rotation": {
|
|
"0.0": [ 0, 0, 35 ],
|
|
"0.05": [ 0, 0, 0 ],
|
|
"0.10": [ 0, 0, -35 ],
|
|
"0.15": [ 0, 0, 0 ],
|
|
"0.2": [ 0, 0, 35 ],
|
|
"0.25": [ 0, 0, 0 ],
|
|
"0.30": [ 0, 0, -35 ],
|
|
"0.35": [ 0, 0, 0 ],
|
|
"0.40": [ 0, 0, 35 ],
|
|
"0.45": [ 0, 0, 0 ],
|
|
"0.50": [ 0, 0, -35 ],
|
|
"0.55": [ 0, 0, 0 ],
|
|
"0.60": [ 0, 0, 35 ],
|
|
"0.65": [ 0, 0, 0 ],
|
|
"0.70": [ 0, 0, -35 ],
|
|
"0.75": [ 0, 0, 0 ],
|
|
"0.80": [ 0, 0, 35 ],
|
|
"0.85": [ 0, 0, 0 ],
|
|
"0.90": [ 0, 0, -35 ],
|
|
"0.95": [ 0, 0, 0 ],
|
|
"1.0": [ 0, 0, 35 ],
|
|
"1.05": [ 0, 0, 0 ],
|
|
"1.10": [ 0, 0, -35 ],
|
|
"1.15": [ 0, 0, 0 ],
|
|
"1.20": [ 0, 0, 35 ],
|
|
"1.25": [ 0, 0, 0 ],
|
|
"1.30": [ 0, 0, -35 ],
|
|
"1.35": [ 0, 0, 0 ],
|
|
"1.40": [ 0, 0, 35 ],
|
|
"1.45": [ 0, 0, 0 ],
|
|
"1.50": [ 0, 0, -35 ],
|
|
"1.55": [ 0, 0, 0 ],
|
|
"1.60": [ 0, 0, 35 ],
|
|
"1.65": [ 0, 0, 0 ],
|
|
"1.70": [ 0, 0, -35 ],
|
|
"1.75": [ 0, 0, 0 ],
|
|
"1.80": [ 0, 0, 35 ],
|
|
"1.85": [ 0, 0, 0 ],
|
|
"1.90": [ 0, 0, -35 ],
|
|
"1.95": [ 0, 0, 0 ],
|
|
"2.0": [ 0, 0, 35 ],
|
|
"2.05": [ 0, 0, 0 ],
|
|
"2.10": [ 0, 0, -35 ],
|
|
"2.15": [ 0, 0, 0 ],
|
|
"2.20": [ 0, 0, 35 ],
|
|
"2.25": [ 0, 0, 0 ],
|
|
"2.30": [ 0, 0, -35 ],
|
|
"2.35": [ 0, 0, 0 ],
|
|
"2.40": [ 0, 0, 35 ],
|
|
"2.45": [ 0, 0, 0 ],
|
|
"2.50": [ 0, 0, -35 ],
|
|
"2.55": [ 0, 0, 0 ]
|
|
}
|
|
},
|
|
"leg_front": {
|
|
"rotation": {
|
|
"0.0": [ 15, 0, 0 ],
|
|
"1.20": [ 25, 0, 0 ],
|
|
"2.55": [ 15, 0, 0 ]
|
|
}
|
|
},
|
|
"leg_mid": {
|
|
"rotation": {
|
|
"0.0": [ 15, 0, 0 ],
|
|
"1.30": [ 35, 0, 0 ],
|
|
"2.55": [ 15, 0, 0 ]
|
|
}
|
|
},
|
|
"leg_back": {
|
|
"rotation": {
|
|
"0.0": [ 30, 0, 0 ],
|
|
"1.60": [ 45, 0, 0 ],
|
|
"2.55": [ 30, 0, 0 ]
|
|
}
|
|
},
|
|
"rightwing_bone": {
|
|
"rotation": {
|
|
"0.0": [ 0, 0, -35 ],
|
|
"0.05": [ 0, 0, 0 ],
|
|
"0.10": [ 0, 0, 35 ],
|
|
"0.15": [ 0, 0, 0 ],
|
|
"0.2": [ 0, 0, -35 ],
|
|
"0.25": [ 0, 0, 0 ],
|
|
"0.30": [ 0, 0, 35 ],
|
|
"0.35": [ 0, 0, 0 ],
|
|
"0.40": [ 0, 0, -35 ],
|
|
"0.45": [ 0, 0, 0 ],
|
|
"0.50": [ 0, 0, 35 ],
|
|
"0.55": [ 0, 0, 0 ],
|
|
"0.60": [ 0, 0, -35 ],
|
|
"0.65": [ 0, 0, 0 ],
|
|
"0.70": [ 0, 0, 35 ],
|
|
"0.75": [ 0, 0, 0 ],
|
|
"0.80": [ 0, 0, -35 ],
|
|
"0.85": [ 0, 0, 0 ],
|
|
"0.90": [ 0, 0, 35 ],
|
|
"0.95": [ 0, 0, 0 ],
|
|
"1.0": [ 0, 0, -35 ],
|
|
"1.05": [ 0, 0, 0 ],
|
|
"1.10": [ 0, 0, 35 ],
|
|
"1.15": [ 0, 0, 0 ],
|
|
"1.20": [ 0, 0, -35 ],
|
|
"1.25": [ 0, 0, 0 ],
|
|
"1.30": [ 0, 0, 35 ],
|
|
"1.35": [ 0, 0, 0 ],
|
|
"1.40": [ 0, 0, -35 ],
|
|
"1.45": [ 0, 0, 0 ],
|
|
"1.50": [ 0, 0, 35 ],
|
|
"1.55": [ 0, 0, 0 ],
|
|
"1.60": [ 0, 0, -35 ],
|
|
"1.65": [ 0, 0, 0 ],
|
|
"1.70": [ 0, 0, 35 ],
|
|
"1.75": [ 0, 0, 0 ],
|
|
"1.80": [ 0, 0, -35 ],
|
|
"1.85": [ 0, 0, 0 ],
|
|
"1.90": [ 0, 0, 35 ],
|
|
"1.95": [ 0, 0, 0 ],
|
|
"2.0": [ 0, 0, -35 ],
|
|
"2.05": [ 0, 0, 0 ],
|
|
"2.10": [ 0, 0, 35 ],
|
|
"2.15": [ 0, 0, 0 ],
|
|
"2.20": [ 0, 0, -35 ],
|
|
"2.25": [ 0, 0, 0 ],
|
|
"2.30": [ 0, 0, 35 ],
|
|
"2.35": [ 0, 0, 0 ],
|
|
"2.40": [ 0, 0, -35 ],
|
|
"2.45": [ 0, 0, 0 ],
|
|
"2.50": [ 0, 0, 35 ],
|
|
"2.55": [ 0, 0, 0 ]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"animation.bee.sting": {
|
|
"loop": true,
|
|
"bones": {
|
|
"body": {
|
|
"rotation": [ "-175 * math.sin(variable.attack_time * 180)", 0, 0 ]
|
|
}
|
|
}
|
|
},
|
|
"animation.bee.no_stinger": {
|
|
"loop": true,
|
|
"bones": {
|
|
"stinger": {
|
|
"scale": 0.0
|
|
}
|
|
}
|
|
},
|
|
"animation.bee.fly.bobbing": { //This animation is mainly for pollination, but we thought it looked good even when flying around, so we just left it on always!
|
|
"loop": true,
|
|
"bones": {
|
|
"body": {
|
|
"position": [ 0.0, "math.cos(query.life_time * 343.774) * 1.6", 0.0 ],
|
|
"rotation": [ 0, "20 * math.cos(query.life_time * 343.774 / 2)", 0 ]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |