Started by
Sharpblade1
on
Topic category: Troubleshooting, bugs, and solutions
In using the geckolib plugin, I’ve noticed that when a mob with an attack animation attacks you, the player is damaged and then, the animation plays. In the mod “Call of Yucatah” created by “Sweetygamer2” they seemed to be able to use attack animations, and they work properly.
So is there anything you can suggest, for a solution to this problem of damage and then animation.
Thank you
Smart. Well thank for all your great work and help. gtg
Have a good rest of your day!
You're welcome, have a great day too
Hey! I may be a little late to this thread, but I'd like to know where you're running this procedure?
I first thought about On Entity Tick Update, but it tells me “missing dependencies” because of the “Source entity.” >.<
It's on entity attacked
Hello Cico25 if the procedure mentioned here works for you that's great. If not, then I have found a different way of working around the attack delay.
You have procedure on entity tick update that "if entity <player> is distance <>" then "play animation <>" for this to work right you must make sure that when that animation plays is right before where that entity can damage that player.
Also the duration of the animation is not to short otherwise it may play twice.
Hope this was helpful.