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<MapTag.get_subset[<key>|...]>
ReturnsMapTag
DescriptionReturns the subset of the map represented by the given keys, ordered based on the input list.
Keys that aren't present in the original map will be ignored.
Example
# Narrates a map of '[b=2;a=1]'
- narrate <map[a=1;b=2;c=3].get_subset[b|a]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/MapTag.java#L635