Help with geckolib attack animation/damage sync

Started by AndreaBri on

Topic category: Help with modding (Java Edition)

Last seen on 12:43, 1. Feb 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with geckolib attack animation/damage sync

Sry if I misspell or if I write a sentence the wrong way, English is not my first language. 

So I recently started modding minecraft but already came by a head scratching problem. I use geckolib puglin to make custom mob animations and one of the options this puglin gives you is to make your own custom attack animation, I thought it was a cool idea so I made one. The problem is the animation starts more or less 1 second after the damage has been dealt, I tried looking for solutions everywhere but nothing works for me, I just don’t know what to do anymore. 

If is important I use MC 2023.4 and my the 5.2 version of the Nerdy’s GeckoLib puglin.

PLS HELP 

Last seen on 11:36, 30. Aug 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What about using before…
Wed, 01/24/2024 - 15:23

What about using before entity takes damage, if the source entity is your mod, play animation for source entity?