[Bug]: Rewrite ignores "includes" field of Json animation files
JayZX535 opened this issue ยท 0 comments
Mod Version
3.0.3
Minecraft Version
1.18.2
Mod Loader
Forge (1.20.1 and older)
Mod Loader Version
Forge Loader 40.3.0
Describe the bug
When loading animations from Json with the rewrite, the "includes" field that pulls animations from other files is overlooked. Trying to play any animation from "includes" will cause the warning Unable to find animation: name for Entity, but moving that same animation to the "animations" list causes it to load properly. This effectively makes multi-file animation setups unusable.
The legacy setup still appears to load animations from "includes" correctly.
To Reproduce
- Use the "includes" field of a Json animation definition to import animations to another file
- Return the file with imports in the
getAnimationLocation()of aAzEntityAnimator - Imported animations fail to load and result in warnings on the render thread and animations that do not play.
...