Problems with custom mob attack animation

Started by YgorSouza on

Topic category: Help with Minecraft modding (Java Edition)

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
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.

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.

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?

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?


 

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.