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<WorldTag.has_storm>
ReturnsElementTag(Boolean)
DescriptionReturns whether there is currently a storm in this world.
ie, whether it is raining. To check for thunder, use Tag:WorldTag.thundering.
Generated Example
- if <player.location.world.has_storm>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L680