Timeline for Where are vanilla entity animation variables defined? Is there a way to find their original values for use in resource packs?
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 30 at 21:49 | comment | added | Quack E. Duck |
For a custom chicken entity, it's possible to recreate the wing animation by ignoring the wing_flap variable and instead using the following inside custom_chicken.animation.json : "animation.custom_chicken.general": { "loop": true, "bones": { "wing0": { "rotation": [0, 0, "(1 - query.is_on_ground) * Math.cos(10*query.vertical_speed) * Math.cos(10*query.vertical_speed) * 90"]}, "wing1": { "rotation": [0, 0, "-(1 - query.is_on_ground) * Math.cos(10*query.vertical_speed) * Math.cos(10*query.vertical_speed) * 90"] } } }
|
|
Jun 30 at 20:15 | history | asked | Quack E. Duck | CC BY-SA 4.0 |