How to stop Geckolib animation loop.

Started by Paleonerd on

Topic category: Help with modding (Java Edition)

Last seen on 21:52, 21. Feb 2024
Joined Jan 2023

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.

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