| Name | time_lived |
| Object | EntityTag |
| Input | DurationTag |
| Related Tags | <EntityTag.time_lived> Returns how long the entity has lived.
|
| Description | Sets the amount of time this entity has lived for.
For entities that automatically despawn such as dropped_items or falling_blocks, it can be useful to set this value to "-2147483648t" (the minimum valid number of ticks) to cause it to persist indefinitely. For falling_block usage, see also EntityTag.auto_expire |
| Generated Example | |
| Synonyms (Search Aid) | entitytag.age_nbt, entitytag.time_nbt |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3627 |