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 625 mechanisms...
Namebase_temperature
ObjectBiomeTag
InputElementTag(Decimal)
Related Tags<BiomeTag.base_temperature> Returns the base temperature of this biome, which is used for per-location temperature calculations (see Tag:BiomeTag.temperature_at).
DescriptionSets the base temperature for this biome server-wide.
This is used as a base for temperature calculations, but the end temperature is calculated per-location (see Tag:BiomeTag.temperature_at).
Resets on server restart.
Example
# Adjusts the temperature of the plains biome permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> temperature:0.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L466