[Legacy] GeckoLib Fabric

[Legacy] GeckoLib Fabric

3M Downloads

Play Once is forcibly when "loop": true in BB

BlackAures1 opened this issue ยท 9 comments

commented

On newer versions of the plugin Play Once is forcibly applied, although the file clearly states that it is "loop": true. The other animation file doesn't have this problem, but I need this particular file with my 400+ animations. What can I do to fix this automatically instead of manually? Also, if I "fix" it manually, what prevents it from breaking everything again after restarting the software?

Animations here
Model here

  • When uninstalling the geckolib plugin there is no problem with incorrect "play once".
  • Full reinstallation of plugins and blockbench did not help

image
image

commented

I'll look into the plugin issue - however in this case it shouldn't matter

In Geckolib3, the animation json's loop type was completely ignored - it's all determined by what loop type you use in code

commented

image
If anyone needs a fix, it looks like this

commented

That doesn't do anything
Geckolib accepts both true/false & "loop" options

commented

Same problem image changing from true to loop helped, but doing it all manually is very inconvenient.

If you have Notepad+ you can replace everything in bulk. "Replace All"

image

commented

That doesn't do anything
Geckolib accepts both true/false & "loop" options

It has helped me personally. Maybe in newer versions there is a problem with "true". Because in old versions it was not like that. This error appeared about 1-2 weeks ago. I would also like to remind you that this problem only appears when the geckolib plugin is installed. In pure Blockbench this is not the case.

commented

Oh with the plugin

Sorry I misunderstood - I thought you meant with geckolib itself

commented

Same problem
image
changing from true to loop helped, but doing it all manually is very inconvenient.

commented

I fixed the problem simply by installing the old plugin version 3.07
here: https://github.com/fadookie/geckolib-plugin?tab=readme-ov-file

commented

Incoming fix

Sorry it's taken so long