-
-
Notifications
You must be signed in to change notification settings - Fork 43
Description
🛑 Before you Start
- I have searched existing bug reports for my problem.
- I have read the F-A-Q.
- I am using the latest version of Animated Java
- I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.
🗣️ Describe the bug
The minecraft\tags\function\load.json has "animated_java:global/internal/gu/load" and "animated_java:global/on_load"
The problem is, when I loaded in a new world with my datapack, the gu/load function got called first which prevented the uuid converter from working because the scoreboard objective aj.i hadn't been set first from the global/on_load function.
⚠️ Error Message
🔄️ How to Reproduce
- Create a new world
- Add your datapack that contains animated java and some animations
- Load in your world, and create your animated character
- Notice that there is no animation because the uuids are all set to 00000.... because the aj.i objective hadn't been set first before running the gu/load function
- This may not always be the case, depending on the order that Minecraft calls the functions in the load tag.
✅ Expected Behavior
The scoreboard object aj.i needs to be set first so that the uuid converter can work properly, and then the animations will work on the model that was spawned in.
💡 Solutions & Alternatives
Place the call to the animated_java:global/on_load in the animated_java:global/internal/gu/load function on the first line so that the scoreboard objectives are set first before running scoreboard players set 256 aj.i 256
🟩 Minecraft Version
1.21.4
🟦 Blockbench Version
4.12.6
💻 Operating System
Windows
📃 Installed Blockbench Plugins
None
⛰️ Minecraft Environment
Just single player vanilla.