How to stop Geckolib animation loop.

Started by Paleonerd on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to stop Geckolib animation loop.
Thu, 02/01/2024 - 01:52 (edited)

So i made an alligator gar and an animation for when it flops on land. I set up this procedure so that it always plays when the entity is on land. It works, but the problem is that if the fish re-enters the water, its still looping the flop animation. Pls help.

Here's the procedure I used btw. It's in the Gar's entity tick update.

https://imgur.com/Wrnwypc

Edited by Paleonerd on Thu, 02/01/2024 - 01:52