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 2444 tags...
Name<BiomeTag.has_downfall>
ReturnsElementTag(Boolean)
MechanismBiomeTag.has_downfall
DescriptionReturns whether the biome has downfall (rain/snow).
Example
# Tells the linked player whether there's a possibility of rain.
- if <player.location.biome.has_downfall>:
  - narrate "It might rain or snow!"
- else:
  - narrate "It will be dry."
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L327