Started by
ZixZix
on
Topic category: Help with Minecraft modding (Java Edition)
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 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.
Could you be a little more detailed with the explanation? Please
I mean specifically, what options should I choose within the procedures?
if you want to add animation for your mob do this ,use geckolib plugin and check this video https://www.youtube.com/watch?v=t0vw4K-caUQ&t=329s
What about animations made with blockbench?
Geckolib is for animations made with blockbench
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.