You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 on_load function incorrectly generates with animation system set to "Storage" in latest preview #495
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 code for the on_load function generates with an error by containing multiple colons in the namespace of a data modify storage operation. The code that causes the issue is linked here:
The storage namespace is always prefixed with animated_java which causes issues after the introduction of custom namespaces. Even the default aj namespace causes an error:
Note that the generated code contains two colons in the namespace identifier. animated_java: should not exist here.
⚠️ Error Message
`java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 4: Invalid ID at position 20: ...y storage <--[HERE]`
🔄️ How to Reproduce
Create a new "Datapack" project in the latest version
In the Blueprint ID, enter anything including the namespace. For example: aj:my_blueprint (default aj is fine for reproducing the bug)
In the datapack section, select "Storage" as the animation system
Export the datapack and load it
✅ Expected Behavior
The namespace should only use the provided custom namespace like in the command on the previous line:
dataremovestorageaj:my_blueprint/animationsanimation# Here, it's fine!datamodifystorageanimated_java:aj:my_blueprint/animationsanimationmergevalue {0:{},1:{}} # Here, it's the wrong one
💡 Solutions & Alternatives
Probably use the same code for generating the namespace identifier for both the data remove and data modify command, so that they don't diverge and cause issues.
Activity
on_loadfunction incorrectly generates with animation system set to "Storage" in latest preview #494 as a duplicate of this issueSnaveSutit commentedon May 4, 2026
Good catch, I will fix this in the next release
✨ Fix #495 - Invalid animation storage