[API] Blockbench keyframes math operations not working
yojan69 opened this issue · 1 comments
Describe the bug
(Not sure if it's name is math operations)
Blockbench (or at least geckolib anim utils, not sure) lets you do math (such as sine and cosine) on keyframes, which saves you a tooon of time but seem to not be supported :(
Here's a little snippet of the log it throws:
Failed to load animation mymod:animation/run.json
com.google.gson.JsonParseException: java.lang.NumberFormatException: For input string: "math.sin(query.anim_time*360)*0.5"
To Reproduce
Steps to reproduce the behavior:
- Use math operations such as .sin or .cos on blockbench keyframe
- Export animation as per usual
- (try to) Use it.
Expected behavior
Welp, animation should play, not the actual outcome though
Setup config (minecraft, modloader, libraries):
- Minecraft version: [1.20.4 (and 1.20.1 too)]
- Mod loader: [Fabric 0.15.6]
- PlayerAnimator Library version [1.0.2-rc1+1.20]
- MC library version (0.88.1+1.20.1)