How to wait for a certain amount of ticks for an entity

Started by Rooster on

Topic category: Help with modding (Java Edition)

Last seen on 11:23, 7. Oct 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to wait for a certain amount of ticks for an entity

Hello so I am making a mod where there is a mob that every minute evolves. I have made 3 stages with different entities and I thought if I do a On initial entity spawn procedure and make it wait for a minute and then despawn and spawn the next stage it would work

But I dont know how to make it wait a certain amount of ticks. Is it possible?

Last seen on 11:23, 7. Oct 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh I dont know if it would…
Mon, 10/07/2024 - 11:24

Oh I dont know if it would change anything but I am using an animated entity with the geckolib plugin

Last seen on 12:15, 7. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This?
Mon, 10/07/2024 - 12:07

This?

Last seen on 12:15, 7. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But you should probably just…
Mon, 10/07/2024 - 12:07

But you should probably just make an NBT timer.