Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 632 mechanisms...
Namewater_fog_color
ObjectBiomeTag
InputColorTag
Related Tags<BiomeTag.water_fog_color> Returns the biome's water fog color, which is visible when underwater (see also Tag:BiomeTag.fog_color).
DescriptionSets the biome's water fog color, which is visible when underwater (see also Mechanism:BiomeTag.fog_color).
Example
# Makes the plains biome's water fog color fuchsia permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> water_fog_color:fuchsia
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L389