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.sum>
ReturnsElementTag(Decimal)
DescriptionReturns the sum of all numbers in the list. Ignores non-numerical values.
Example
# Narrates "6"
- narrate <list[1|2|3].sum>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L1777