Cold Sweat: Altitude

A Cold Sweat addon that adds fully configurable altitude-based temperature zones using a simple band system, with support for Create: Aeronautics

78

Cold Sweat: Altitude

Cold Sweat: Altitude is a Cold Sweat addon that adds fully configurable altitude-based temperature zones using a simple band system.

Requires Cold Sweat (v2.4+).

Define custom temperature behaviour at any height - from deep underground to the upper sky - entirely through config. Each band can control temperature modifiers, dimension filtering, priority, protection requirements, shelter behaviour, and player warnings.

Features:

* Configurable altitude bands with min/max Y ranges * Additive or multiplicative temperature modifiers * Dimension whitelist/blacklist support * Priority-based band resolution (no stacking conflicts) * Item-tag-based protection scaling (For pack makers) * Optional shelter-based exposure reduction * Configurable heat sources from Create: Aeronautics * Shelter detection for Create: Aeronautics ships (Sable contraptions) * Per-band warning messages and cooldowns * Clean integration with Cold Sweat (no overrides) * Runtime commands for debugging and inspection

Designed to be pack-agnostic, Cold Sweat: Altitude lets modpack authors create progression systems like cold mountain peaks, warm cave layers, or dangerous upper atmospheres without writing custom code.

Note: This mod has been made for custom pack, however I thought others may find it useful

This is an addon and is not affiliated with or endorsed by the Cold Sweat mod or its authors.

Config

Cold Sweat: Altitude uses altitude bands to control temperature based on height. Each band defines a Y-level range and the temperature change within that range.

Config location `config/coldsweat_altitude-server.toml`

Reload after editing (while world is running) `/coldsweat_altitude reload`

Basic Band Example

<div><div><div><div><div><div><div><div> </div><div><div><div><div><div><pre><code>[[bands]]<br>id = "high_mountains"<br>enabled = true<br>dimensions = ["minecraft:overworld"]<br>dimensionMode = "WHITELIST"<br>minY = 192<br>maxY = 255<br>temperatureModifier = -0.08<br>modifierMode = "ADD"<br>priority = 10<br>enableShelterCheck = true<br>shelterCheckRadius = 4<br>shelterReduction = 0.35</code></pre></div></div></div></div></div></div></div></div></div><div><div> </div></div></div></div></div>

Important Values

minY / maxY Height range where the band applies.

temperatureModifier Temperature change applied in this band. Negative values make it colder, positive values make it warmer.

modifierMode ADD = adds directly (recommended) MULTIPLY = scales existing temperature

Example: -0.45 makes the area colder by 0.45

priority If multiple bands match, the highest priority band wins.

dimensions / dimensionMode WHITELIST = only listed dimensions BLACKLIST = exclude listed dimensions

Shelter

If enabled, the mod checks if the player is inside a sheltered space.

shelterCheckRadius Controls how far the shelter scan checks. Higher values detect larger rooms but cost more performance.

shelterReduction Controls how much shelter reduces the altitude effect:

0.0 = no reduction 0.5 = up to 50% reduction 0.75 = up to 75% reduction 1.0 = up to 100% reduction

Example: If temperatureModifier = -0.45 and shelterReduction = 0.75, full shelter leaves only 25% of the cold effect.

undefined

Protection Items

Custom item tags can be used to make existing equipment count as altitude protection.

<div><div><div><div><div><div><div><div> </div><div><div><div><div><div><pre><code>protectionTag = "coldsweat_altitude:cold_altitude_protection"<br>requiredPieces = 1<br>protectionReductionPerPiece = 0.20<br>fullProtectionPieces = 4</code></pre></div></div></div></div></div></div></div></div></div><div><div> </div></div></div></div></div>

protectionTag The item tag checked on equipped armor/items.

requiredPieces How many matching pieces are required before protection starts.

protectionReductionPerPiece The reduction per matching piece.

fullProtectionPieces The number of pieces treated as full protection.

Aeronautics Heat

If Create: Aeronautics / Sable is installed, ship interiors can use Aeronautics heat sources.

<div><div><div><div><div><div><div><div> </div><div><div><div><div><div><pre><code>aeronauticsBurnerHeat = 0.14<br>aeronauticsBurnerRange = 7.0<br>aeronauticsSteamVentHeat = 0.12<br>aeronauticsSteamVentRange = 8.0</code></pre></div></div></div></div></div></div></div></div></div><div><div> </div></div></div></div></div>

Higher heat values warm the player more. Higher ranges make the heat source reach farther.

Debugging

Use: `/coldsweat_altitude status`

This shows the active band, altitude modifier, shelter value, protection value, and detected heat sources.

ADS