Topic category: Help with modding (Java Edition)
Hello, I'm creating mobs with custom animations in MCreator with Geckolib and Blockbench.
Everything was going so well until I had problems with the mobs attack animations, as the mob I'm creating ends up immediately causing damage to the player after contact. As such, the mob deals damage to the player before its attack animation is executed or completed.
Is there any way to delay the damage done by the mob to the player, so that the player receives the damage only when the mob attack animation is completed?
An example is the iron golem, as it deals damage to the player or other entities only when it raises its arms.