Jump to content

jadend

Members
  • Posts

    2
  • Joined

  • Last visited

jadend's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Well, I finally figured out a solution.. For any poor lost souls wondering how to do it, just be sure to call your entitie’s updateSwingTime() method every tick.
  2. Hello, I've been trying to figure out how to make my custom PathfinderMob in Forge 1.19.3 play the swing animation when it attacks. I've been trying for days, and It's starting to drive me crazy. I see that inside of the MeleeAttackGoal, the checkAndPerformAttack calls the LivingEntitie's swing method. I've verified that this is indeed getting called, and it is sending the animation packet, however my entity still does not swing their main hand? My entity's model extends HumanoidModel, but is there something I'm missing to ensure the swing animation can play properly? Any help would be greatly appreciated.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.