how to play an animation when entity spots a player

Started by The Man wh on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to play an animation when entity spots a player

So i wanted to make an infection mod and i wanted for some of the mobs to play an animation when they spot the player but i can't figure out how to mke this so im asking for help