despawning entity after time

Started by scaryclown on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
despawning entity after time

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

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