Sides and Automation
Available since 0.1.0
Connect hoppers, pipes and cables. Choose what each side of a machine does, by default and from the screen.
Machines work with hoppers and with the pipes and cables of other mods: Mekanism, Pipez, Thermal and any mod that uses the standard NeoForge item, fluid and energy connections. Each side of a machine decides what can go in or out there.
The six sides
Sides are named from the machine's point of view, so they turn with it when it is rotated: front is always the side the machine faces.
top
|
left -- front -- right back is behind front
|
bottomEach side has one of four modes:
| Mode | What pipes can do there |
|---|---|
in | Put things in. |
out | Take things out. |
both | Put things in and take them out. |
none | Nothing. Pipes do not even connect. |
A side also respects the storage's direction: a pipe on an in side can only fill storages that accept input, and a pipe on an out side can only empty storages that give output.
Default sides
default_sides in the machine's carrier sets the mode of each side when the machine is placed:
"carrier": {
"type": "single_block",
"rotation": "horizontal",
"default_sides": {
"front": "none",
"top": "none",
"left": "in",
"right": "in",
"back": "in",
"bottom": "out"
}
}With this machine, pipes feed it from the left, right and back, results come out of the bottom, and nothing connects to the front or the top. A side you leave out is both.
Letting players choose
By default players can change the sides themselves, from the machine's screen. A tab with a hopper icon appears on the right of the screen; it opens a panel with the six sides of the machine.
In the panel:
- choose a storage at the top (for example the water tank or the output);
- left-click a side for the next mode, right-click for the previous one;
- Shift + left-click puts every side of every storage back to the defaults.
Each storage has its own sides, so the top can be the water input and the item output at the same time. Changes apply to pipes immediately and are saved with the machine.
To keep the sides fixed to your defaults, turn the tab off:
"carrier": {
"type": "single_block",
"allow_player_side_config": false
}Machine info in Jade and The One Probe
Jade and The One Probe show what is inside a machine when you look at it: items, fluids and energy. Nothing to configure.
With The One Probe's default settings, items and tanks only show while you hold the probe and sneak; energy always shows. That is The One Probe's own setting (needsProbe in config/theoneprobe-common.toml), not something Foundry Apparatus controls.
What is next
Every field of carrier is listed in the machine reference.