Mob performs an animation before firing

Started by Chorus on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob performs an animation before firing

I'm making a mob shooting bullets. I use geckolib to do shot animations, which even works well, but I would like it to do a roni loading animation before firing the bullet (for example, the pillager loads the crossbow before firing) Does anyone know how to do this?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Since you're using Geckolib…
Tue, 10/01/2024 - 15:55

Since you're using Geckolib you could probably just make your own animation for it and make a procedure for the shooting which also plays that animation.