How do I make my Geckolib entity play it's animation once when looked at (Nerdy's GeckoLib Plugin)

Started by Voidure on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make my Geckolib entity play it's animation once when looked at (Nerdy's GeckoLib Plugin)

How would I make my Geckolib entity play it's animation once when looked at while using Nerdy's GeckoLib Plugin? Any help would be appreciated

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doesn't geckolib respect the…
Sat, 10/04/2025 - 07:29

Doesn't geckolib respect the looping settings you set in blockbench?

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes but I need it to play it…
Sat, 10/04/2025 - 14:46

Yes but I need it to play it once. If I do it on tick update while looking the entity then the animation will just repeat itself from the starting point of the animation and crash my game

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh you could just use an nbt…
Sat, 10/04/2025 - 14:49

oh you could just use an nbt tag or a global variable then

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok good idea
Sat, 10/04/2025 - 14:56

ok good idea