2. Environment Effects - lilypuree/Metabolism GitHub Wiki

Overview

Being in different dimensions, stepping on ice or magma blocks, sprinting long distances, etc. can make you hot/cold. In Metabolism, these effects are called environment effects. It is possible for mods and datapacks to add new effects or modify existing ones.

The combination of all environment effects that can apply to the player will set the heat target, which is used to change their heat variable.

Environment effects also include warmth effects, and resistances, which alleviate the heat applied to the player.

How effects are combined

  1. (At night) All values are multiplied by each effect's night multiplier.

  2. Warmth, heat and cold effects and its respective resistances are calculated separately.

    2-1. The strongest base(non-additive) effect is determined.

    2-2. Additive effects are added on top.

  3. Combined heat target = hot target + cold target(negative)

  4. Reduce (c) by corresponding resistance. This will not change heat to cold or vice versa.


List of all Environment Effects

  • armor resistance is applied when at least one piece is equipped.

Warmth Effects

condition additive range warmth per cycle (40 ticks)
being under the sun O - 0.2
near a campfire/soul campfire X 4 blocks 1

Heat Effects

condition additive range heat target \ heat target at night
in the nether X - 6
sprinting O - 4
on hot block O - 4
*deep (0 ≥ y > -25) X - 4
*deeper (-25 ≥ y) X - 8
**in hot biomes, sky visible X - 6 \ 1.5

*applies in the overworld (except the deep dark) **defined by the metabolism:hot_biomes tag

Cold Effects

condition additive range heat target \ heat target at night
in the end X - -10
in deep dark X - -10
*high (100 < y ≤ 125), sky visible X - -3 \ -6
*higher (125 < y ≤ 150), sky visible X - -6 \ -9
*highest (150 < y), sky visible X - -8 \ -12
*in complete darkness O - -4
in snowy weather O - -8
in water O - -4
**on cold block O - -6
in cold block(powder snow) O - -8

*applies in the overworld ** cold blocks are ice, snow, and soul sand/soil blocks.

Heat Resistance

condition additive range heat target
gold armor O - -3
netherite armor O - -6
soul campfire X 4 -3

Cold Resistance

condition additive range heat target
leather armor O - 3
campfire X 4 3