GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” ๐Ÿ› `on_load` function incorrectly generates with animation system set to "Storage" in latest preview ยท Issue #495 ยท Animated-Java/animated-java

๐Ÿ› on_load function incorrectly generates with animation system set to "Storage" in latest preview #495

New issue
Copy link
New issue
Copy link
Closed
Closed
๐Ÿ› on_load function incorrectly generates with animation system set to "Storage" in latest preview#495
Copy link
Assignees
SnaveSutit
Labels
๐Ÿ› BugSomething isn't workingSomething isn't working

Description

@FabianHummel
FabianHummel
opened on May 3, 2026
Issue body actions

๐Ÿ›‘ 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 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:

https://github.com/Animated-Java/animated-java/blame/29926861d8c87167891a98c16bd85998bf3b6c22/src/systems/datapackCompiler/index.ts#L253

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:

data modify storage animated_java:aj:my_blueprint/animations animation merge value # ...

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

  1. Create a new "Datapack" project in the latest version
  2. In the Blueprint ID, enter anything including the namespace. For example: aj:my_blueprint (default aj is fine for reproducing the bug)
  3. In the datapack section, select "Storage" as the animation system
  4. 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:

data remove storage aj:my_blueprint/animations animation # Here, it's fine!
data modify storage animated_java:aj:my_blueprint/animations animation merge value {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.

๐ŸŸฉ Minecraft Version

1.20.4

๐ŸŸฆ Blockbench Version

5.1.4

๐Ÿ’ป Operating System

MacOS

๐Ÿ“ƒ Installed Blockbench Plugins

  • Animated Java

โ›ฐ๏ธ Minecraft Environment

No response

Activity

  1. FabianHummel
    assigned
    SnaveSutit
    on May 3, 2026
  2. FabianHummel
    added
    ๐Ÿ› BugSomething isn't workingSomething isn't working
    on May 3, 2026
  3. FabianHummel
    marked on_load function incorrectly generates with animation system set to "Storage" in latest preview #494 as a duplicate of this issue on May 3, 2026
  4. SnaveSutit commented on May 4, 2026

    @SnaveSutit
    SnaveSutit
    on May 4, 2026
    Contributor
    More actions

    Good catch, I will fix this in the next release

  5. SnaveSutit
    added a commit that references this issue on May 28, 2026

    โœจ Fix #495 - Invalid animation storage

    This issue will close once commit 9cbea4c is merged into the 'main' branch.
    9cbea4c
  6. SnaveSutit
    closed this as completedin 9cbea4con Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @SnaveSutit
    SnaveSutit

Labels

๐Ÿ› BugSomething isn't workingSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.