Optional
decayThe decay chance based on the temperature. IE, when at or below the minimum temperature, uses the minimum decay chance, and when at or above the maximum temperature, uses the maximum decay chance.
Defaults to range(0, 1)
The temperature range that determines the rate of decay. IE, when using a decayChance
of range(0, 1)
,
when at or below the minimum temperature, the item doesn't decay, and when at or above the maximum temperature,
the item decays at the maximum rate of 1
.
Generated using TypeDoc
For items and terrain that can decay, the temperature range that controls the rate of decay. If not provided for items, they will always decays no matter the temperature. If not provided for terrain, they will not decay (or melt).
Example: