¿How do I make an attack animation with geckolib?

Started by ZixZix on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
¿How do I make an attack animation with geckolib?

 

I currently use version 2020.5 of Mcreator and after seeing some tutorials on how to animate, I wonder, How can I make it so that when a mob attacks, the animation is played when attacking? I use geckolib for animations and blockbench for models

Use procedures to trigger…
Sun, 11/15/2020 - 09:59

Use procedures to trigger the animation when you want it. To play it on attack, use AI condition for attack AI, and use start condition to play animation and return true for the value so AI actually runs.

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you be a little more…
Mon, 11/16/2020 - 17:47

Could you be a little more detailed with the explanation? Please

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean specifically, what…
Mon, 11/16/2020 - 18:06

I mean specifically, what options should I choose within the procedures?

 

 

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What about animations made…
Sun, 01/03/2021 - 14:59

What about animations made with blockbench?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would like to know the…
Tue, 03/30/2021 - 13:30
I would like to know the same. I have an animation made and I have seen how to put animations in the Geckolib, but the problem is that I do not know what procedures to take so that every time the entity wants to attack, it uses the animation in its attack. I would appreciate it very much if you would help me. (Sorry if it's misspelled, my English is bad)
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made this exact procedure…
Thu, 04/15/2021 - 21:14

I made this exact procedure and it did not work, it's weird because if I put any other block in the "do" line, it works, but when I use the "play animation" block, it doesn't.

Also, the problem is not with the animation, I've tested it.