REDSTONEPEDIA › Circuits › Minecart stations

Minecart unloader: empties a hopper minecart into a chest, then sends the cart back

empties a hopper minecart into a chest, then sends it back · 31 blocks

A hopper minecart full of items arrives, stops, and empties every item into the chest (4.79 items a second); once it is empty it leaves on its own, back the way it came.

the cart leaves 0.7 s after it is empty · fits in 6×3×4

empties a hopper minecart into a chest, then sends it backMinecart unloader3D view loading (or not available in this browser)

Try it

The view shows the unloader as built, without carts. In the game, send a hopper minecart full of items down its line: it stops, empties into the chest, and leaves on its own once it is empty.

How this design does it: The cart climbs a short powered slope and stops against a closed fence gate, which leaves it straddling two blocks: the hopper under the slope and the hopper beside it both pull from it, emptying a full cart in 64 seconds, twice as fast as one hopper.

Build it

Download .litematic Download the design as text

The .litematic opens in Litematica (Minecraft 26.3): every block of the design in one region. The text file is the same build written as plain text, block by block.

After building it, put a chest where the view shows its output (the items it unloads): it is not in the download or its block count.

Blocks used: comparator detector rail hopper oak fence gate powered rail rail redstone block redstone torch redstone wire repeater stone

Part of a whole line: Minecart line: moves a double chest 128 blocks in 21 min · ~65 iron + 24 gold · the cart waits when there's nothing to carry.

Smaller by 9 blocks, 2.48 items a second against this one's 4.79: Minecart unloader: empties a hopper minecart into a chest, then sends it back · 22 blocks.

Details: how it works, measurements and properties

In depth

A hopper minecart holds 320 items (5 stacks). A hopper under the cart pulls one item every 8 game ticks, 2.5 items a second, so an unloader is as fast as the hoppers that reach the cart: one under the cart empties a full one in about 2 minutes; two, by holding the cart where it straddles two blocks, in about 1. The station sends the cart back only once its hoppers find nothing more in it.

How to try it

The view shows the station as built, with its chest and no cart: the browser's simulator does not run hopper minecarts here. Drag to look around, pinch or scroll to zoom. Its numbers are in the measurements below.

Measurements

metricvaluewhat it means
lineterminusterminus: the cart leaves back the way it came; through line: it goes on
unload rate4.79 items/sitems a second moved from the cart into the chest while the cart stands in the station
departure delay0.7 sgame ticks from the cart being empty to its first move

Notes from its designer

The cart climbs a short powered slope and stops against a closed fence gate, which leaves it straddling two blocks: the hopper under the slope and the hopper beside it both pull from it, emptying a full cart in 64 seconds, twice as fast as one hopper. When the hoppers find nothing more, the slope turns on and the cart rolls back down the line. Pair it with ld-chest and 128 blocks of track: a double chest delivered in 21 minutes.

Properties

StudyMinecart stations
KindMinecart unloader: empties a hopper minecart into a chest, then sends the cart back
Blocks placed31
Box6×3×4 (72 blocks of space)
Made of (the blocks that change state)comparator, detector rail, hopper, oak fence gate, powered rail, rail, redstone block, redstone torch, redstone wire, repeater, stone
Inputs / outputsno input / OUT
Design fileul-gate

The design file

on GitHub

Design file (40 lines)
# Minecart unloader: empties a hopper minecart into a chest, then sends it back · 31 blocks
# https://vjeux.github.io/redstonepedia/circuits/rail/ul-gate.html
name: ul-gate
circuit: cart-unloader
port line.in: -5 0 0
port output: 1 -1 0
origin: -5 0 0
palette:
  S minecraft:stone
  Q minecraft:stone
  K minecraft:stone
  g minecraft:glass
  Z minecraft:redstone_block
  B minecraft:powered_rail[powered=true,shape=east_west,waterlogged=false]
  L minecraft:rail[shape=east_west,waterlogged=false]
  D minecraft:detector_rail[powered=false,shape=east_west,waterlogged=false]
  P minecraft:powered_rail[powered=false,shape=ascending_east,waterlogged=false]
  G minecraft:oak_fence_gate[facing=east,in_wall=false,open=false,powered=false]
  H minecraft:hopper[enabled=true,facing=east]
  V minecraft:hopper[enabled=true,facing=down]
  c minecraft:comparator[facing=north,mode=compare,powered=false]
  t minecraft:redstone_wall_torch[facing=west,lit=true]
  r minecraft:repeater[delay=2,facing=north,locked=false,powered=false]
  p minecraft:repeater[delay=1,facing=south,locked=false,powered=false]
  W minecraft:redstone_wire[east=none,north=none,power=0,south=none,west=none]
layer -1:
  .SZSSH.
  ...S.SS
  .......
  .......
layer 0:
  .BBDLPV
  ...r.pc
  ...K.tQ
  ...SSSS
layer 1:
  ......G
  .......
  ...W..W
  ...WWWW