Home > Mindustry > Mindustry Item Transportation (Serpulo, v6/v7)

Mindustry Item Transportation (Serpulo, v6/v7)

A polite introduction to how exactly conveyors, sorters, gates, and bridges work, what you can do with these, and what to watch out for.

Mindustry Item Transportation (Serpulo, v6/v7)

For practical purposes, this guide focuses on game mechanics rather than ever-changing numbers.

The source files for this guide are available on GitHub[github.com].

Conveyors

Conveyor belts transport items.

There are several kinds of conveyor belts in the game, varying in their speed/health/properties.

Most conveyor belts can be joined together to combine lines of items:

Item transportation (Serpulo, v6/v7)
  • When joining a conveyor belt to another, items traveling straight take priority when the conveyor is full.
  • If two conveyor belts meet face to face (with output going in a third direction), items are mixed at ~1:1 rate even if the conveyors are full.
  • It is best to not rely on conveyor belts being over capacity, but you can control resource priority this way.

Junctions

Conveyor belts transport items.

There are several kinds of conveyor belts in the game, varying in their speed/health/properties.

Most conveyor belts can be joined together to combine lines of items:

Item transportation (Serpulo, v6/v7)
  • When joining a conveyor belt to another, items traveling straight take priority when the conveyor is full.
  • If two conveyor belts meet face to face (with output going in a third direction), items are mixed at ~1:1 rate even if the conveyors are full.
  • It is best to not rely on conveyor belts being over capacity, but you can control resource priority this way.

Junctions

Junctions allow conveyors belts to cross without joining.

Most uses are obvious – you can cross paths or cut a few blocks on a corner turn while inverting conveyor order.

See also:  Mindustry Building Etiquette
Item transportation (Serpulo, v6/v7)

Although you cannot see their contents, junctions themselves store a few items – 6 per movement direction as of Mindustry v7.

You can observe this by disconnecting junction’s outputs, disconnecting inputs, and then connecting outputs again:

Item transportation (Serpulo, v6/v7)

Leftover items flowing out of a junction

Routers

Routers are the best and also the worst – “a necessary evil” as the game puts it.

A router accepts items from any side and outputs them to whichever side that can accept it (“routing”):

Item transportation (Serpulo, v6/v7)

A router can put items directly into buildings, but be careful – buildings with item outputs can also put items back in the router, clogging the line (as an item cannot re-enter the building and cannot leave).

A distributor is a bigger version of a router, capable of splitting items between more outputs. It can be particularly convenient for supplying ammo to turrets:

Item transportation (Serpulo, v6/v7)

A less obvious thing about routers is that a router can even output items backwards into a junction, meaning that junctions inside a common checkerboard-pattern factory supply chain tend to store items in 3 or even 4 directions:

Item transportation (Serpulo, v6/v7)

While routers and distributors are perfect for splitting items evenly between conveyors or destinations that need them, for many cases it is preferable to have deterministic logic, which gets us to:

Overflow/underflow gates

An overflow moves items forward when possible and to the side(s) otherwise:

Item transportation (Serpulo, v6/v7)

An underflow is the opposite:

Item transportation (Serpulo, v6/v7)

The two allow for resource distribution logic – for example, you might want to feed your graphite to the turrets first-most and send the rest to the core.

Sorters

Sorters can be placed and configured by pressing on them afterwards. A sorter passes the chosen item forward while passing the rest to the side(s).
An inverted sorter is the opposite – it passes the chosen item to the side(s) while passing the rest forward:

See also:  Mindustry Resource Flowchart
Item transportation (Serpulo, v6/v7)

A sorter with no item type selected (click on item type again to deselect), also called a “null sorter”, will always output items to the side while an inverted sorter will always output items forward:

Item transportation (Serpulo, v6/v7)

This enables the inverted sorter to be used as a faux junction and a normal sorter to “bounce” two conveyor belts off each other without using any space:

Item transportation (Serpulo, v6/v7)

Since sorters and gates accept items from any direction, This enables them to be used in variously creative ways, such as to swap contents of two item lines:

Item transportation (Serpulo, v6/v7)

If a sorter cannot move items in the intended direction, it will not let them through, causing the line to become “clogged”.

You can get around this by introducing an overflow gate behind the sorter that sends any extra resources back on the main line:

Item transportation (Serpulo, v6/v7)

Gate & sorter notes

First thing to note is that – in contrast to most other blocks – sorters and gates have no inventory and process items instantly: as soon as an item enters one of these from one side, it exits from another:

[img]img/flow-control/sorter-instant.png[/img]

However (perhaps to discourage using sorters instead of actual conveyors), an item may only pass through two blocks of the group (e.g. two sorters, or a sorter and an overflow, etc.) at a time, and then you’ll need a “normal” block between sets of 2:

[img]img/flow-control/sorter-limit.png[/img]

All 4 blocks will try to split resources equally between side inputs, which allows them to be used in place of a router in 2-output situations:

[img]img/flow-control/overflow-split.png[/img]

For reasons best described as “videogames are hard to make”[github.com], you may occasionally see a single item escape through the overflow/underflow gate despite the intended destination not having a full conveyor belt. This isn’t usually a big concern, but can be fixed by adding a junction after the gate:

See also:  Mindustry Building Etiquette

[img]img/flow-control/overflow-anomaly.png[/img]

Bridges

Bridges allow transporting items across various obstacles – terrain, conveyors, conduits, buildings, or anything else.

They also play a key role when creating compact schematics.

Item transportation (Serpulo, v6/v7)

The “beginning” block of a bridge can accept inputs from the back or from the sides, but not from the direction where it’s going:

Item transportation (Serpulo, v6/v7)

The “end” block of a bridge will output items wherever it can, except in the direction where it came from:

Item transportation (Serpulo, v6/v7)

You cannot output items from the beginning of a bridge and cannot input items to the end of a bridge:

Item transportation (Serpulo, v6/v7)

You can input blocks from multiple directions into the beginning of a bridge, though as of the current game version this tends to work slightly strangely when the bridge is over capacity:

Item transportation (Serpulo, v6/v7)

You can chain bridges – the “midpoints” will act as beginning-points, accepting additional items and not outputting anything:

Item transportation (Serpulo, v6/v7)

You can also join multiple bridges together, although results are less predictable if the bridge is over capacity:

Item transportation (Serpulo, v6/v7)

Bridges can intersect other bridges, including in less-obvious ways:

Item transportation (Serpulo, v6/v7)
(second example has each of 3 bridges go for 3 tiles to the right)

Bridges can be zero-length, which can be used to bypass “no input from movement direction” / “no input to the bridge end” rules:

Item transportation (Serpulo, v6/v7)

Closing notes

Some notes on what I’ve been meaning to get around to

Production

  • Output is evenly split between surrounding blocks that can accept it
  • Buildings can output directly into other buildings

Unloader

  • In v7, unloaders were made a little slower, but smarter, and can be used to equalize resources between adjacent buildings.

Overdrive projector

  • Boosting power sources is free* electricity.
  • Affects conveyors, but this mostly helps only when the whole conveyor is under effect.

Mass Driver

  • Can unload directly to buildings or core.
  • Best not to make it rotate back and forth.
Written by YellowAfterlife

Leave a Comment