I'm curious about how to create playback conditions for regular attack animations.

Started by dkrdjdi on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm curious about how to create playback conditions for regular attack animations.

https://imgur.com/mT1JCt4

I've tried many other things
The attack animation has not been played.

 

Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The first time the entity is…
Wed, 12/18/2024 - 04:35

The first time the entity is spawn, it plays the attack animation and it is not played thereafter.

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, Im trying to make a…
Wed, 12/18/2024 - 19:41

Hi, Im trying to make a custom animation for a ranged unit. But i have no idea how to make the animations play at the right time. Im a bit confused about the image. Could you explain?

Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The image I posted is an…
Thu, 12/19/2024 - 03:09

The image I posted is an animation trigger for proximity objects.

In the image, it is set to a cool time of 1 second (20 ticks) after the attack.

I don't know because I haven't tested the distant entity yet
It should be tested with a delay using a tick speed.

[Implementation method]
If the real-time update event exceeds a certain tick, the tick will decrease,
The logic needs to be turned on and off depending on the situation.