This project is in the works.

Toxic air you can't just walk through. Gas masks with filters that wear out, air tanks, sealed clean rooms and real airlocks.

Beta. Everything below works and is tested, but numbers and recipes may still change before 1.0. Please report bugs in the comments.

Bad air
- Toxic surface (off by default): the open air turns bad from a day you choose, above a height you choose, in the dimensions and biomes you choose. A roof counts as shelter, so players head underground or build sealed bases.
- Contamination Emitters for labs, bunkers and ruins. Their gas spreads through open air only: walls, shut doors and sealed rooms keep it out, an open door lets it pour in.
- Zones placed by command, for map makers.
- Exposure builds up while you breathe bad air: coughing and hunger, then weakness, slowness and dizziness, then damage. A meter above the hunger bar shows it. Animals and villagers breathe it too.
Gear
- Gas Mask with a wide visor. It needs a Filter, which wears out only in bad air (an Advanced Filter lasts four times as long). Running wears it faster.
- Air Tank, worn on your back with a mask: clean air that's used before your filter. Refill it at an Air Scrubber.
- Very strong bad air partly gets through a filter mask; only a tank keeps it all out.
- Your mask and tank beep when they run low and when they run out.
Clean air
- Air Scrubber: keeps a sealed room's air clean while it has power (redstone or FE) and a filter. Right-click it to open its filter slot and see how much filter is left. Hoppers can feed it filters, and a comparator reads how full the filter is.
- Airlock Door: a two-block sliding door with a window. It seals the room while shut and slides shut on its own.
- Decontamination Shower and Floor Drain: stand under the shower to wash off what you breathed in.
- Air Sensor: a redstone signal when the air turns bad (or flip it to signal clean air).
- Steel, Rubber, Activated Carbon and Circuit Boards to make it all.

- Craft a Gas Mask and a few Filters. Wear the mask, then right-click with a filter to fit it.
- Build a room with no gaps. Solid blocks, glass panes, Airlock Doors and iron doors seal; wooden doors don't.
- Put an Air Scrubber in a wall with its fan facing into the room, give it a filter, and power it with a lever or FE. Its light turns green when the room is sealed and clean.
- Add an Air Tank for long trips outside, and a shower by the door to wash down when you come back.
Right-click a scrubber any time to see whether the room is sealed and how much filter it has left.

Hold a Basic or Advanced Airlock Kit and look at the ground: a see-through preview shows where it will go, green when there's room and red where something is in the way. Right-click to build a 5x5x5 airlock with a sliding door at each end, a shower over a floor drain, and lights.
The Advanced kit adds an Airlock Controller and a powered scrubber, and works like a real airlock:
- Only one door opens at a time.
- Coming in, the outer door shuts behind you, the chamber washes you down, then the inner door opens.
- While the chamber's air is unsafe, an alarm sounds, the light turns red and the inner door stays locked. The way out always opens.
Built your own airlock? Place an Airlock Controller, sneak + right-click it, then right-click your outer door and your inner door.

Made to be tuned for post-apocalyptic, SCP and hardcore survival packs:
- Server config for almost every number: how fast exposure builds and fades, which effects apply, filter and tank life, sprinting, what the scrubber runs on, room size, airlock timings, and the toxic surface rule.
- Data pack rules for the toxic surface:
data/\<namespace\>/contamination/surface\_rules/\*.json, by dimension, day, height and biome (ids or tags). - Tags for which blocks seal a room or let air through, which doors seal when shut, which mobs are immune, and which helmets from other mods count as a sealed mask.
/contamination checktells you how bad the air is where you stand and why.

None of these are required:
- Tresvane Alarms: wire an Air Sensor or an Airlock Controller into a Tresvane Controller to sound the alarm.
- Tresvane Tesla Gates: an armed Tesla gate counts as a closed doorway for a clean room.
- Curios API: wear the gas mask in a head slot and the air tank in a back slot.

| Minecraft | Forge | NeoForge |
|---|---|---|
| 1.20.1 | ✔ (47.4.8) | ✔ (47.1.106) |
| 1.21.1 | ✔ (52.1.16) | ✔ (21.1.250) |
- Needed on both client and server
- Curios support on Forge and NeoForge 1.20.1 (Curios 5.3 or newer) and NeoForge 1.21.1 (Curios 9). Curios doesn't make a Forge 1.21.1 build, so there the mask and tank use the armour slots.

- Audio made with ElevenLabs, alongside CC0 (public domain) sound effects from OpenGameArt.org by AntumDeluge, mikeask, 0new4y, bart, qubodup and LFA.
This is Tresvane Studios' original work. Ripping, decompiling or re-uploading it, in any game or on any platform, isn't allowed, and copies are reported with copyright (DMCA) takedown notices. Copyright rule · Report a copy
