despawning entity after time

Started by scaryclown on Sun, 09/13/2020 - 08:43

Topic category: Help with modding (Java Edition)

Last seen on 15:55, 20. Oct 2020
Joined Jun 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
despawning entity after time
Sun, 09/13/2020 - 08:43

how do i make it where after an entity is spawned, they despawn after 1 minute (1200 ticks)

Last seen on 10:52, 27. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use timer approach and storeā€¦
Sun, 09/13/2020 - 09:40

Use timer approach and store timer value in entity NBT.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei