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 2 out of 2437 tags...
Name<ListTag.parse[<tag>]>
ReturnsListTag
DescriptionReturns a copy of the list with all its contents parsed through the given tag.
One should generally prefer Tag:ListTag.parse_tag.
Example
# Narrates a list of 'ONE|TWO'
- narrate <list[one|two].parse[to_uppercase]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L2369

Name<ListTag.parse_tag[<parseable-value>]>
ReturnsListTag
DescriptionReturns a copy of the list with all its contents parsed through the given tag.
This requires a fully formed tag as input, making use of the 'parse_value' definition.
Example
# Narrates a list of 'ONE|TWO'
- narrate <list[one|two].parse_tag[<[parse_value].to_uppercase>]>
Example
# Narrates a list of 'charlie|alpha|bravo'
- narrate <list[3|1|2].parse_tag[<list[alpha|bravo|charlie].get[<[parse_value]>]>]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L2470