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 2487 tags...
Name<ListTag.sub_lists[<#>]>
ReturnsListTag(ListTag)
DescriptionReturns a list containing sublists of this list capped to a specific length.
Example
# Narrates "a|b", then "c|d", then "e|f"
- foreach <list[a|b|c|d|e|f].sub_lists[2]> as:sublist:
    - narrate <[sublist]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L755