Problems with custom mob attack animation

Started by YgorSouza on

Topic category: Help with modding (Java Edition)

Last seen on 04:12, 30. May 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problems with custom mob attack animation
Tue, 05/30/2023 - 02:47 (edited)

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.

Edited by YgorSouza on Tue, 05/30/2023 - 02:47
Last seen on 21:49, 19. Jun 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm also having this issue…
Mon, 06/05/2023 - 15:31

I'm also having this issue. Hopefully someone comes foward with a fix for this.

Last seen on 03:13, 24. Apr 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the "Wait for x Ticks"…
Mon, 06/05/2023 - 16:38

Use the "Wait for x Ticks" Procedures. That should be a possible work-around.

Last seen on 19:33, 18. Feb 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you using the GeckoLib…
Mon, 06/05/2023 - 18:49

Are you using the GeckoLib plugin by @NerdyPuzzle?

Last seen on 22:41, 26. Aug 2023
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you find out how to do…
Fri, 08/25/2023 - 17:41
Did you find out how to do it?


 

Last seen on 22:02, 28. Nov 2023
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any luck? I need help with…
Sun, 10/15/2023 - 19:38

Any luck? I need help with this as well.