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...
Namefog_color
ObjectBiomeTag
InputColorTag
Related Tags<BiomeTag.fog_color> Returns the biome's fog color, which is visible when outside water (see also Tag:BiomeTag.water_fog_color).
DescriptionSets the biome's fog color, which is visible when outside water (see also Mechanism:BiomeTag.water_fog_color).
Example
# Makes the plains biome's fog color red permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> fog_color:red
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L372