How do I detect how long an entity has existed for?

Started by OliB2012 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I detect how long an entity has existed for?

I am trying to play an animation as soon as my entity spawns. 

How Do I Detect The Spawn Without Using The Triggers Because They Can Start An Animation?