Repository navigation
Global Warming
Global Warming is an optional pollution system. It's off by default: turn it on in the config with enabled = true under [global_warming].
When it's on, machines that burn fuel give off black smoke and pollute the chunks around them. Let pollution build up and the land dies: grass withers, dirt turns to ash, plants disappear and the biome becomes a wasteland. Clean it up and the land slowly recovers.
The idea is simple: burn fuel and you pay for it; renewable power is the only clean long-term option.
Every second, each running pollution source adds its pollution to every chunk within 64 blocks of it. Machines that can be lit or unlit only pollute while lit, and only sources in chunks near players count.
| Block | Pollution per second |
|---|---|
| Campfire | 2 |
| Soul Campfire | 3 |
| Smoker | 4 |
| Furnace | 5 |
| Blast Furnace | 8 |
| Biomass Gasifier | 5 |
| Firebox Boiler | 6 |
| Biofuel Engine | 10 |
| Blaze Burner (Create) | 15 |
| Steam Engine (Create) | 20 |
| Diesel Engine (Create: Diesel Generators) | 15 |
| Large Diesel Engine (Create: Diesel Generators) | 30 |
| Huge Diesel Engine (Create: Diesel Generators) | 50 |
| Portable Engine, any color (Create: Aeronautics) | 15 |
Entries from other mods only apply when that mod is installed.
Create: Aeronautics engines on a moving airship pollute the real chunks under the airship.
Blocks from any mod whose ID contains one of these words are counted automatically, at 3 per second:
furnace, engine, motor, boiler, burner, kiln, forge, oven, incinerator, smokestack, generator
Only blocks with a block entity (real machines) count, so decorative blocks with these names are ignored.
Blocks on the blacklist never pollute, even if they match the list or a keyword. By default it contains Create: New Age's Generator Coil, which has "generator" in its name but doesn't burn anything.
Once a chunk reaches 10,000 pollution:
- Every minute, 8 random spots near the surface of the chunk decay one step:
- Grass, Mycelium and Podzol → Dead Grass Block → Ruined Dirt → Ash Block
- Dirt → Ruined Dirt
- Leaves disappear
- Flowers wither into Dead Bushes
- Grass and ferns die, then disappear
- The chunk's biome changes to a wasteland (Badlands by default).
Pollution goes down on its own by 1 per second in every chunk. To speed it up:
- Trees: every leaf block near the surface absorbs a little pollution each minute. Trees slow pollution down until they die off themselves.
- Trellis with vines: absorb pollution like leaves do.
- Moss Stairs and Slabs: a green roof absorbs pollution like leaves do.
- Biofilter: removes pollution from every chunk around it while it's powered, and collects Carbon Dust while it does.
- Bioreactor: cleans pollution out of its own chunk while its algae are in the sun.
A sealed Greenhouse is safe from decay: nothing inside dies, even in a polluted chunk. When the chunk turns into the dead biome, the inside keeps its original biome, so grass and leaves in there stay green.
- Ash Blocks drop Ash, which crafts back into Ash Blocks and polished Ash Building Blocks.
- Ruined Dirt can be packed into Ruined Rammed Earth.
When a chunk drops back below 10,000, its biome comes back and the dead blocks slowly heal one step at a time (Ash → Ruined Dirt → Dead Grass Block → Grass Block, and dead plants back to grass), until the pollution reaches zero.
Everything is under [global_warming] in solarpunk-common.toml:
| Setting | Default | What it does |
|---|---|---|
enabled |
false |
Turns the system on |
per_block_pollution |
see the table above | Pollution per second for specific blocks, as block_id=amount
|
pollution_per_active_source_per_second |
5 |
Rate for blocks in the #solarpunk:pollution_sources tag that aren't in the list above |
aeronautics_portable_engine_pollution_per_second |
15 |
Rate for every Create: Aeronautics Portable Engine |
auto_detect_keywords |
see above | Words that mark other mods' blocks as polluters |
auto_detect_pollution_per_second |
3 |
Rate for those blocks |
pollution_blacklist |
create_new_age:generator_coil |
Blocks that never pollute |
pollution_radius_blocks |
64 |
How far each source's pollution reaches |
pollution_decay_rate_per_second |
1 |
How fast pollution fades on its own |
leaf_absorption_per_interval |
1 |
Pollution each leaf block (and Moss Stairs or Slab) absorbs per interval |
trellis_absorption_per_interval |
1 |
Pollution each Trellis with vines absorbs per interval |
biofilter_absorption_per_rpm |
0.625 |
Biofilter cleaning per second, per RPM |
biofilter_radius_blocks |
32 |
How far a Biofilter reaches |
biome_decay_threshold |
10000 |
Pollution at which a chunk starts dying |
biome_decay_interval_ticks |
1200 |
How often decay and healing happen (1200 = once a minute) |
blocks_decayed_per_interval |
8 |
How many spots per chunk decay or heal each interval |
dead_biome |
minecraft:badlands |
The biome dead chunks turn into |
Datapacks can add blocks to the #solarpunk:pollution_sources tag.
Create: Solarpunk
Solar Panels
Electricity
Solar Heat
Steam
Biofuel
- Biomass
- Biomass Gasifier
- Fermentation Vat
- Bioreactor
- Hemp
- Biofuel Engine
- Biochar
- Kinetic Sprinkler
- Greenhouse
Geothermal
Endgame
Global Warming
Building
More