Transparent Item Tubes & Auto-Sorter

Build a glowing glass pneumatic tube network with a central elevator and four color-coded sorting branches that visibly route spinning items into pedestals.

Java EditionHolograms & Display EntitiesMedium26 commandsTested on a real 26.2 & 26.3 server
Glowing items travel through a transparent glass tube sorter onto color-coded storage blocks at night. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialTechnologyCyanGreenRedDecorationMap MakingItem displaysBlock building (fill/setblock/clone)21+ commands

Traditional hoppers hide your items inside dark grey funnels, making storage rooms feel static and quiet. This command creation builds a transparent glass pneumatic tube network right in the middle of your base, complete with a central elevator and four color-coded sorting branches.

You can watch glowing diamonds, emeralds, gold ingots, and redstone blocks travel straight up the central column, split off at the four-way junction, and drop directly onto their matching colored pedestals with bursts of particles.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-6 ~ ~-6 ~6 ~ ~6 polished_deepslate
  3. /fill ~ ~1 ~ ~ ~6 ~ white_stained_glass
  4. /fill ~-5 ~6 ~ ~5 ~6 ~ white_stained_glass
  5. /fill ~ ~6 ~-5 ~ ~6 ~5 white_stained_glass
  6. /setblock ~ ~ ~ lodestone
  7. /setblock ~-5 ~1 ~ light_blue_concrete
  8. /setblock ~5 ~1 ~ lime_concrete
  9. /setblock ~ ~1 ~-5 yellow_concrete
  10. /setblock ~ ~1 ~5 red_concrete

2. Loop - one repeating command block each (Always Active) 16 commands

  1. /scoreboard players add #tick c9_t 1
  2. /execute if score #tick c9_t matches 60.. run scoreboard players set #tick c9_t 0
  3. /execute if score #tick c9_t matches 1 run summon item_display ~ ~1.2 ~ {Tags:["c9_item","c9_dia"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:diamond",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.8f,0.8f,0.8f]}}
  4. /execute if score #tick c9_t matches 16 run summon item_display ~ ~1.2 ~ {Tags:["c9_item","c9_eme"],Glowing:1b,glow_color_override:65280,item:{id:"minecraft:emerald",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.8f,0.8f,0.8f]}}
  5. /execute if score #tick c9_t matches 31 run summon item_display ~ ~1.2 ~ {Tags:["c9_item","c9_gld"],Glowing:1b,glow_color_override:16766720,item:{id:"minecraft:gold_ingot",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.8f,0.8f,0.8f]}}
  6. /execute if score #tick c9_t matches 46 run summon item_display ~ ~1.2 ~ {Tags:["c9_item","c9_red"],Glowing:1b,glow_color_override:16711680,item:{id:"minecraft:redstone_block",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.8f,0.8f,0.8f]}}
  7. /scoreboard players add @e[tag=c9_item] c9_t 1
  8. /execute as @e[tag=c9_item,scores={c9_t=1..25}] at @s run tp @s ~ ~0.2 ~ ~15 ~
  9. /execute as @e[tag=c9_dia,scores={c9_t=26..50}] at @s run tp @s ~-0.2 ~ ~ ~15 ~
  10. /execute as @e[tag=c9_eme,scores={c9_t=26..50}] at @s run tp @s ~0.2 ~ ~ ~15 ~
  11. /execute as @e[tag=c9_gld,scores={c9_t=26..50}] at @s run tp @s ~ ~ ~-0.2 ~15 ~
  12. /execute as @e[tag=c9_red,scores={c9_t=26..50}] at @s run tp @s ~ ~ ~0.2 ~15 ~
  13. /execute as @e[tag=c9_item,scores={c9_t=51..72}] at @s run tp @s ~ ~-0.2 ~ ~15 ~
  14. /execute as @e[tag=c9_item] at @s run particle end_rod ~ ~ ~ 0.05 0.05 0.05 0.01 1
  15. /execute as @e[tag=c9_item,scores={c9_t=72}] at @s run particle happy_villager ~ ~0.3 ~ 0.3 0.3 0.3 0.1 12
  16. /kill @e[tag=c9_item,scores={c9_t=73..}]

How it works

Frames from the test run

Transparent Item Tubes & Auto-Sorter - frame 1Transparent Item Tubes & Auto-Sorter - frame 2Transparent Item Tubes & Auto-Sorter - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: Glowing diamonds, emeralds, gold ingots, and redstone blocks travel through a transparent glass tube system with four branches dropping items onto colored blocks.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand at the center of an open area where you want your sorting hub to stand.
  2. Run the 10 setup commands in chat or in impulse command blocks to create the scoreboard objective, the polished deepslate floor, the glass tubes, and the four colored sorting pedestals.
  3. Place 14 repeating command blocks (or one repeating block feeding 13 chain command blocks), all set to Always Active.
  4. Paste the loop commands in order into the command blocks, making sure their execution coordinates align with the center lodestone.
  5. Watch as glowing items automatically spawn at the center lodestone, rise through the glass pipe, sort into four directions, and drop onto their color-coded blocks.

Use it with real players

To sort real items dropped by players onto the central lodestone instead of spawning demo items, replace the four timed summon commands with /execute as @e[type=item,distance=..1.5,nbt={Item:{id:"minecraft:diamond"}}] run summon item_display ... (and similar checks for each item type), then /kill the dropped item entity and award the real item into a chest at the end of the tube when c9_t hits 72.

Remove it again 3 commands

  1. /kill @e[tag=c9_item]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-6 ~ ~-6 ~6 ~7 ~6 air

FAQ

Why do the items pass smoothly through solid stained glass blocks?

They are item_display entities rather than physical dropped items, so they have no collision box and can travel cleanly inside solid glass blocks without getting pushed out.

How can I make the sorting tubes longer to reach chests across my base?

Extend the stained glass fill commands and increase the tick range on the horizontal teleport commands (currently 26..50); every 5 extra ticks moves the item 1 full block further along the tube.

Commands used

/execute/fill/kill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides