custom entity wont play attack animation more than once

Started by Abnormal_420_69 on

Topic category: Help with MCreator software

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
custom entity wont play attack animation more than once

The attack animation on my mob only plays the first time it hits me, then it wont play again unless i die and attack it again which resets it's brain i guess, but again it only plays it once, and then further attacks have no animation playing. anyone know why it won't work like in this gif? 

And yes, my entity's behavioral characteristic is "Mob" instead of "creature", that's not what's causing the issue. My MCreator version is "2025.3". The procedure is plugged into the playback condition slot in the listing for the attack animation in the entities animations panel. I can provide more info if needed.

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i figured out what i was…
Fri, 02/20/2026 - 20:59

i figured out what i was doing to get the bug on my end, turns out since i wanted my mob to be tameable it was overiding my mob type from "Mob" to "animal" which stopped it from playing the animation more than once. unfortunatley this means i cant make the mob the way i wanted without either scrapping the attack animation or making it un-tameable until this has a proper fix. here is my example workspace of this, i made a couple guys before i figured it out so the only ones you need to care about are "jhonny long arms hammer edition BROKEN" and "jhonny long arms hammer edition UNTAMEABLE".  also i used the "Minecraft Forge 1.20.1 Generator" add-on. https://mega.nz/folder/aTYAyTKQ#US09pdBUwMgEqlJ6RtCJMw

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found a solution. Since my…
Thu, 02/26/2026 - 23:06

I found a solution. Since my mob is tameable, I created a synced data boolean called Attack. Then I made a global trigger for when the entity attacks another entity and set that value there. I also made a simple animation condition to check it. The tick duration should match the length of your animation. I couldn't have done this without the help of NorthWestTrees I asked in his discord server and he helped me. Here is his Youtube channel. https://www.youtube.com/@NorthWestTreesMCreator

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Btw, when I made a synced…
Thu, 02/26/2026 - 23:14

Btw, when I made a synced data using logic, make sure to translate your animation seconds into Minecraft ticks.

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
^This worked perfectly for…
Sat, 02/28/2026 - 19:52

^This worked perfectly for Me! Thank you so much!

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm glad it worked!
Sun, 03/01/2026 - 02:40

I'm glad it worked!