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 2437 tags...
Name<WorldTag.sky_darkness>
ReturnsElementTag(Number)
DescriptionReturns the current darkness level of the sky in this world.
This is determined by an equation that factors in rain, thunder, and time of day.
When 4 or higher, players are typically allowed to sleep through the night.
Generated Example
- narrate "the number value is <player.location.world.sky_darkness>"
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L972