Set entity persistence
Choose whether an entity is saved with the world and never despawns, or may vanish when nobody is near.
A Minecraft element (a step) in Entities & mobs. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player uses a command → Spawn an entity → Set entity persistence on.
Also called
persistent, never despawn, keep mob, save entity, despawn
Works as a data pack?
Yes. A vanilla data pack does this exactly as the plugin does.
What you give it
- Entity
- Keep it