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 โ€” ๐Ÿ› Locator Functions during animations run before Data Manager ยท Issue #516 ยท Animated-Java/animated-java

๐Ÿ› Locator Functions during animations run before Data Manager #516

New issue
Copy link
New issue
Copy link
Closed
Closed
๐Ÿ› Locator Functions during animations run before Data Manager#516
Copy link
Assignees
SnaveSutit
Labels
๐Ÿ› BugSomething isn't workingSomething isn't working

Description

@lolimtaco
lolimtaco
opened on Jun 19, 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

In the generated datapack, if a locator runs any functions during an animation, the frame calls the locator's function BEFORE the data manager reads & writes. If the called function affects the animated_java:data command storage in any way, incorrect data is sent back to the animating model.

This is NOT the case if you call a function on the root instead of a locator. (Root function is called AFTER the data manager reads & writes)

โš ๏ธ Error Message

๐Ÿ”„๏ธ How to Reproduce

  1. Create a model with a locator and enable using entity (can be any entity)
  2. Create an animation with a function keyframe running as the locator that spawns another AJ model
  3. Export, spawn the model and run the animation.
  4. Check the animated_java:data command storage of the animating model. It will have UUIDs and data from the newly summoned model.
  5. Check the exported data pack and view the animation keyframes (If the locator function runs at frame 28, look for 28.mcfunction)
  6. You should find that 28.mcfunction runs 28_(name_of_your_locator) BEFORE the data manager reads & writes

โœ… Expected Behavior

When summoning an AJ model through a locator function during animation it should not corrupt the animating model

๐Ÿ’ก Solutions & Alternatives

Since this is an issue for locators specifically and not functions ran as the root, find where the datapack exporter writes function keyframes for the root (which should happen after data manager read & write) and make sure function keyframes for locators are doing the same.

๐ŸŸฉ Minecraft Version

26.1.1

๐ŸŸฆ Blockbench Version

5.1.4

๐Ÿ’ป Operating System

Windows

๐Ÿ“ƒ Installed Blockbench Plugins

None other than Animated Java

โ›ฐ๏ธ Minecraft Environment

Singleplayer

Activity

  1. lolimtaco
    assigned
    SnaveSutit
    on Jun 19, 2026
  2. lolimtaco
    added
    ๐Ÿ› BugSomething isn't workingSomething isn't working
    on Jun 19, 2026
  3. SnaveSutit
    closed this as completedon Jun 23, 2026
  4. SnaveSutit
    added a commit that references this issue on Jun 23, 2026

    ๐Ÿ› Fix #516

    This issue will close once commit dd36372 is merged into the 'main' branch.
    dd36372
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.