Animated-Java / animated-java

A Blockbench plugin that makes complex animation a breeze in Minecraft: Java Edition.
Other
165 stars 27 forks source link

[BUG] Commands keyframes at the beginning of looping animations don't play #303

Closed Urakaan-Map-Makeur closed 2 months ago

Urakaan-Map-Makeur commented 2 months ago

--------

Hello there !

I just found a bug when using commands with "locators" and animations in "loop" mode.

If I set a locator at 0 seconds with a command, it works perfectly. However, if I put the animation in loop mode, the command will only be executed once, and during the looping animations, it will no longer be triggered.

If I shift the locator by 0.5 seconds, the command will be executed each time, though.

--------

To summarize, if I place a locator at 0 seconds with a command and start the animation in loop mode, it will only be executed once during the first animation and never again. Shifting the locator from 0 seconds to 0.5 or more works perfectly.

--------

Locator config : Screen1

The "locator" causing the issue during looping : Screen2

To bypass the issue, you can shift the "locator" slightly forward in time : Screen3

--------

Best regards 🙂