Help synchronize animations with normal attack

Started by niceguyian on

Topic category: Help with modding (Java Edition)

Last seen on 21:01, 4. Oct 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help synchronize animations with normal attack

Hello!

I feel like I have read every post, watched every video, and tried everything to get my attack animation to actually sync with the damage my custom mob does. (I created it using Geckolib) I have linked my "If attacked" procedure right here, I really need some support on this one because I have been trying for weeks with all these tutorials and posts online but nothing works.

https://imgur.com/a/fEkntvV

I'm using MCreator 2024.2 and the mod version is 1.20.1.

Here some more info on the animation and what happens when:

damage dealt/impact animation: 0.75 second = 15 ticks
total animation length: 1.5 seconds = 30 ticks

Thanks for any replies.

Last seen on 21:07, 4. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doesn't the procedure you…
Fri, 10/04/2024 - 21:06

Doesn't the procedure you linked make the mob damage you twice?

Last seen on 21:07, 4. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(Once for the mobs normal…
Fri, 10/04/2024 - 21:07

(Once for the mobs normal attack and then once more for the procedure's damage)