Galacticraft Legacy · Explained · Intermediate
Oxygen Mechanics Explained: How to Build a Breathable Sealed Space Base
Surviving in the vacuum of space requires more than just a pair of Oxygen Tanks; establishing a permanent outpost demands a self-sustaining life support network. This guide breaks down the exact mechanics of generating, storing, and distributing oxygen in Galacticraft Legacy so you can take off your helmet inside a fully pressurized lunar or planetary base. You will learn the underlying logic of leaf-based oxygen generation, airlock automation, and how to calculate volume limits for Oxygen Sealers versus Oxygen Bubble Distributors.
What you need
- Oxygen Collector
- Oxygen Sealer and/or Oxygen Bubble Distributor
- Oxygen Storage Module (optional but recommended for buffer)
- Oxygen Compressor and Oxygen Decompressor
- Fluid Pipes (for oxygen) and Aluminum Wire (for power)
- A reliable power source (Solar Panels, Coal Generator, or Energy Storage Module)
- Air Lock Frame blocks and an Air Lock Controller
- Shears and at least 60 to 100 Oak Leaves (or any vanilla leaf blocks), or Wheat/Crops
- Sealable Aluminum Wire and Sealable Fluid Pipe
Step by step
1Construct the Leaf Matrix for Your Oxygen Collector
Place your Oxygen Collector in a central location and connect it to your power grid using Aluminum Wire on its power input side. The collector scans an area around itself—specifically an 11x11x11 cube centered on the machine—for breathing plants like leaves or growing crops. Use Shears to harvest vanilla leaves and place them in tight clusters around the collector, avoiding blocking the pipe and wire connections. Check the machine's GUI to monitor the collection rate; keep adding leaves until the output reaches 100% efficiency and generates steady oxygen per second.
Tip: Player-placed leaves (harvested with Shears) do not decay in space, eliminating the need for wood logs in your leaf matrix.
2Buffer and Compress Your Oxygen Supply
Connect Fluid Pipes from the oxygen output port of the Oxygen Collector to an Oxygen Storage Module to build a reserve for power outages or night cycles. From the storage module, run another line of Fluid Pipes into an Oxygen Compressor. When powered, you can place Light, Medium, or Heavy Oxygen Tanks into the compressor's slot to refill your personal gear before heading outside. Always ensure you match the colored ports on the machine casings: green/blue circular ports are typically for oxygen, while electric socket icons are for power.
Tip: Use a Wrench to paint your Fluid Pipes different colors if you want to keep separate oxygen lines from connecting accidentally.
3Deploy an Oxygen Bubble Distributor for Early Outposts
If you haven't built sealed walls yet, place an Oxygen Bubble Distributor on the lunar surface and supply it with both power and oxygen via pipes. Once active, it projects a visible, spherical forcefield of breathable air around itself. You can toggle the visibility of the bubble inside the machine's GUI if the graphic obstructs your view. This method requires zero structural integrity, making it ideal for temporary landing pads or outdoor farms.
4Build an Airtight Room with Sealable Blocks
To build a true indoor base, construct a room using solid, full-cube blocks such as Moon Turf, Tin Decoration Blocks, or standard Cobblestone. Avoid using vanilla Glass Panes, Stairs, Slabs, or Doors, as the mod's sealing algorithm treats partial blocks as air gaps that leak oxygen into space. When you need to bring power and oxygen from your exterior collector into the room, pass them through the wall using Sealable Aluminum Wire and Sealable Fluid Pipes instead of standard cables.
Tip: If a block looks like it has even a single pixel of empty space, assume it will cause a hull breach.
5Assemble an Automated Air Lock
Build a hollow rectangular doorway frame out of Air Lock Frame blocks, ensuring you replace one of the frame blocks with an Air Lock Controller. The interior opening of the frame can be up to several blocks wide and tall, depending on your needs. Right-click the Air Lock Controller to open its configuration interface and set it to open automatically when a player comes within 1 or 2 meters. To prevent all the air from rushing out when you enter, build a two-door airlock chamber: an outer airlock, a small 2-block corridor, and an inner airlock.
Tip: You can also set the Air Lock Controller to respond to a redstone signal or limit access exclusively to your specific username.
6Install and Calculate Oxygen Sealer Coverage
Place your Oxygen Sealer inside the enclosed room with its top vent facing an open air block, then hook up power and oxygen lines from the bottom or sides. A single Oxygen Sealer can pressurize a maximum volume of roughly 750 to 800 air blocks; if your room exceeds this volume, the GUI will report 'Area Too Large' and fail to seal. For large hangars or multi-room bases, simply place a second or third Oxygen Sealer inside the same enclosed space. They will automatically coordinate during the room-check scan and combine their maximum volume capacities.
Tip: Install a Thermal Padding Controller into the slot inside the Oxygen Sealer GUI to automatically regulate the room's ambient temperature.
How it works
The oxygen system in Galacticraft Legacy relies on two distinct environmental algorithms: radial distance checks and flood-fill voxel scanning. First, the Oxygen Collector runs a continuous proximity check within a 5-block radius in every direction (forming an 11x11x11 cube). Each valid leaf block or crop tile inside this zone contributes a flat amount of oxygen production per tick. Because it is a simple block-count check, the leaves do not need sunlight or dirt to produce oxygen in the vacuum of space.
When distributing that oxygen, the Oxygen Bubble Distributor uses a basic radial check—any player whose head hitbox enters the sphere's radius is granted the 'breathable' status effect, completely ignoring walls or roofs. Conversely, the Oxygen Sealer uses a 3D flood-fill algorithm starting from the block directly above its top vent. It expands outward block-by-block until it hits solid, airtight surfaces.
If the flood-fill algorithm successfully hits solid boundaries on all sides before running out of its maximum block allowance (roughly 750+ blocks per sealer), the room changes state to 'Sealed'. However, if the scan exceeds the block capacity limit—either because the room is massive or because there is a 1-block leak leading into the infinite vacuum of space—the check aborts and the room remains unbreathable. Multiple sealers in the same room pool their scan budgets together, allowing you to pressurize massive domes.
Common mistakes
- Using standard wires or pipes through walls: Breaking a wall block to run normal Aluminum Wire creates an air leak. Always craft and place Sealable Aluminum Wire and Sealable Fluid Pipes where lines penetrate your hull.
- Using single-door Air Locks: While a single Air Lock seals a room when closed, opening it immediately depressurizes the room and forces the Oxygen Sealer to recalculate. Always build a double-airlock vestibule so one door remains closed while the other opens.
- Placing leaves in a Decay state: If you break leaves and place them without using Shears (or use mod-added leaves that don't lose their decay tag), they will slowly vanish in space, starving your base of oxygen while you are exploring.
- Blocking the Oxygen Sealer's top vent: The sealer only scans for enclosed rooms starting from the top face of the machine. Putting a machine, wire, or ceiling block directly on top of the Sealer will cause it to instantly read 'Unsealed'.
- Building with vanilla slabs, stairs, or chests as exterior walls: The flood-fill mechanic treats blocks that do not occupy a full 1x1x1 cube as transparent to oxygen. Keep all decorative stairs, chests, and machines strictly on the interior of a solid outer shell.
FAQ
Why does my Oxygen Sealer say 'Unsealed' even though my room is small and completely enclosed?
You likely have a partial block in your outer wall (such as a glass pane, stair, or non-sealable wire), or the block directly above the Oxygen Sealer is obstructed. Also verify that the machine is receiving enough continuous power and oxygen; if either buffers out to zero, the seal drops immediately.
Is it better to use an Oxygen Sealer or an Oxygen Bubble Distributor?
The Bubble Distributor is better for early-game camps and outdoor work zones because it requires no walls, cannot leak, and has a constant oxygen drain. The Oxygen Sealer is superior for permanent bases because it conforms to the exact shape of your rooms, can be expanded with multiple units, and supports ambient thermal control.
Do leaves need water, dirt, or light to produce oxygen in space?
No. If you harvest vanilla tree leaves with Shears and place them around the Oxygen Collector, they do not require dirt, water, or light. Only planted crops like wheat require hydrated farmland and light to survive and generate oxygen.
How do I know the exact oxygen consumption of my machines?
Hover over your Oxygen Sealer, Collector, or Compressor in your inventory or check their internal GUI status bars, and consult JEI or the in-game guide for exact per-tick rates, as modpack configurations can alter default consumption numbers.
By pairing a leaf-fed Oxygen Collector with properly calculated Oxygen Sealers and double-door Air Locks, you can transform any barren celestial rock into a permanently breathable, helmet-free sanctuary.