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 2454 tags...
Name<ObjectTag.null_if_tag[<dynamic-boolean>]>
ReturnsObjectTag
DescriptionParses the given tag on the object, expecting a boolean return.
This requires a fully formed tag as input, making use of the 'null_if_value' definition.
If the return is 'true', the 'null_if' tag returns null.
If the return is 'false', the 'null_if' tag returns the original object.
Consider also Tag:ObjectTag.null_if_tag.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/CoreObjectTags.java#L176