Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2437 tags...
Name<EntityTag.is_persistent>
ReturnsElementTag(Boolean)
MechanismEntityTag.persistent
DescriptionReturns whether the mob-entity will not be removed completely when far away from players.
This is Bukkit's "getRemoveWhenFarAway" which is Mojang's "isPersistenceRequired".
In many cases, Tag:EntityTag.force_no_persist may be preferred.
Generated Example
- if <player.is_persistent>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1941