Steampunk Espresso Machine Brewing Cycle

Build a giant brass and copper espresso machine with spinning gears, trembling boilers, venting steam, and a dark stream of coffee filling a giant cup.

Java EditionHolograms & Display EntitiesHard24 commandsTested on a real 26.2 & 26.3 server
A copper and blackstone espresso machine brews coffee with steam particles and a spinning clock dial. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialTechnologyOrangeBlackYellowDecorationServer LobbyBlock displaysItem displaysBlock building (fill/setblock/clone)Rotation math21+ commands

This command creation builds an animated steampunk espresso machine right in the middle of your world. Constructed from copper, gold, and blackstone, the contraption features a constantly spinning brass flywheel, a pressure gauge needle that climbs into the red zone, and an upper boiler assembly that physically shudders and hisses as internal pressure peaks.

Once the pressure gauge hits maximum, the machine vents blasts of white steam and drives its central press piston down. Two rich streams of dark espresso pour from the dual spouts into a giant glazed terracotta cup below, filling it with a swirling layer of golden crema before resetting for the next brew cycle.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-5 ~ ~-4 ~5 ~ ~4 polished_blackstone_bricks
  3. /fill ~-4 ~1 ~-3 ~4 ~1 ~3 chiseled_copper
  4. /fill ~-4 ~2 ~-3 ~4 ~11 ~-1 cut_copper
  5. /fill ~-3 ~3 ~-1 ~3 ~10 ~-1 copper_grate
  6. /fill ~-3 ~11 ~-3 ~3 ~13 ~2 waxed_copper_block
  7. /fill ~-2 ~2 ~1 ~2 ~2 ~3 smooth_quartz
  8. /fill ~-1 ~3 ~1 ~1 ~5 ~3 yellow_terracotta hollow
  9. /setblock ~ ~4 ~4 acacia_fence
  10. /summon marker ~ ~ ~ {Tags:["c9_root","c9_ent"]}

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

  1. /execute unless entity @e[tag=c9_parts] run summon block_display ~ ~11.5 ~ {Tags:["c9_ent","c9_parts","c9_boiler"],transformation:{translation:[-2.0f,-1.5f,-0.5f],scale:[4.0f,3.0f,2.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:gold_block"}}
  2. /execute unless entity @e[tag=c9_piston] run summon block_display ~ ~9.5 ~1.5 {Tags:["c9_ent","c9_piston"],transformation:{translation:[-0.6f,0f,-0.6f],scale:[1.2f,3.0f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}}
  3. /execute unless entity @e[tag=c9_wheel] run summon item_display ~-4.2 ~7 ~ {Tags:["c9_ent","c9_wheel"],transformation:{translation:[0f,0f,0f],scale:[3.5f,3.5f,1.5f],left_rotation:[0f,0.7071f,0f,0.7071f],right_rotation:[0f,0f,0f,1f]},item:{id:"minecraft:clock"}}
  4. /execute unless entity @e[tag=c9_gauge] run summon item_display ~ ~11.5 ~2.15 {Tags:["c9_ent","c9_gauge"],transformation:{translation:[0f,0f,0f],scale:[1.8f,1.8f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},item:{id:"minecraft:blaze_rod"}}
  5. /execute unless entity @e[tag=c9_liquid] run summon block_display ~ ~3.1 ~2 {Tags:["c9_ent","c9_liquid"],transformation:{translation:[-0.9f,0f,-0.9f],scale:[1.8f,0.1f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:brown_concrete"}}
  6. /scoreboard players add @e[tag=c9_root] c9_tick 1
  7. /execute as @e[tag=c9_root,scores={c9_tick=160..}] run scoreboard players set @s c9_tick 0
  8. /execute as @e[tag=c9_wheel] at @s run tp @s ~ ~ ~ ~12 ~
  9. /execute if score @e[tag=c9_root,limit=1] c9_tick matches 1..60 as @e[tag=c9_root] at @s run particle flame ~ ~2.2 ~-0.5 2 0.2 0.3 0.02 8 force
  10. /execute if score @e[tag=c9_root,limit=1] c9_tick matches 25 as @e[tag=c9_gauge] run data modify entity @s transformation.right_rotation set value [0f,0f,-0.7071f,0.7071f]
  11. /execute if score @e[tag=c9_root,limit=1] c9_tick matches 40..75 as @e[tag=c9_boiler] at @s run tp @s ~ ~ ~ ~4 ~
  12. /execute if score @e[tag=c9_root,limit=1] c9_tick matches 40..75 run particle cloud ~ ~12 ~0.5 2.2 1.2 1.2 0.12 15 force
  13. /execute if score @e[tag=c9_root,limit=1] c9_tick matches 55 run summon block_display ~ ~8.2 ~1.5 {Tags:["c9_ent","c9_boiler"],transformation:{translation:[-1.2f,0f,-1.2f],scale:[2.4f,1.2f,2.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:polished_blackstone"}}
  14. /execute if score @e[tag=c9_root,limit=1] c9_tick matches 65..135 run summon block_display ~-0.4 ~8.0 ~2 {Tags:["c9_ent","c9_drop"],transformation:{translation:[-0.18f,0f,-0.18f],scale:[0.36f,0.65f,0.36f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:brown_concrete"}}

How it works

Frames from the test run

Steampunk Espresso Machine Brewing Cycle - frame 1Steampunk Espresso Machine Brewing Cycle - frame 2Steampunk Espresso Machine Brewing Cycle - frame 3

Recorded on our own test server: 48 frames at about 7.8 fps. Our image check saw: A copper and blackstone espresso machine structure with a spinning clock item on the side, an animated upper nozzle dispensing brown liquid into a yellow mug, and white steam particles.

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 on a flat open area of at least 15x15 blocks with plenty of vertical clearance.
  2. Run each command from the Setup list in chat one by one to construct the copper chassis, giant cup, and root timer marker.
  3. Place a line of 14 Repeating Command Blocks set to Always Active near your stage.
  4. Paste one command from the Loop list into each repeating command block.
  5. Watch the machine heat up, spin its flywheel, vent steam, and brew espresso into the cup every 8 seconds.

Use it with real players

To let players trigger the espresso cycle manually with a lever or button instead of running automatically, remove the repeating command block that adds 1 to c9_tick when the score is 0, and place an impulse command block behind a button on the machine that runs /scoreboard players set @e[tag=c9_root] c9_tick 1.

Remove it again 3 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_tick
  3. /fill ~-5 ~ ~-4 ~5 ~14 ~4 air

FAQ

Why are the display blocks not moving smoothly?

Make sure all 14 loop command blocks are set to Repeating and Always Active, and that your server tick rate is running at normal speed.

Can I change the colour of the giant espresso cup?

Yes! Replace yellow_terracotta in the ninth setup command with any other terracotta or concrete block to customize your mug.

Commands used

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

Similar creations

Join 9Minecraft News & Guides