Self-Building Wooden Cabin

Drop a glowing crafting capsule that uses a golden builder beam to automatically construct a cozy oak and spruce wooden cabin layer by layer.

Java EditionMini-games & UtilitiesEasy21 commandsTested on a real 26.2 & 26.3 server
A golden beam rises with sparkling particles, automatically constructing a wooden cabin layer by layer. Download the GIF Video & GIF © www.9minecraft.net

Spawners & GeneratorsNatureMedievalGoldOrangeBuilding ToolMap MakingBlock displaysItem displaysBlock building (fill/setblock/clone)21+ commands

Building a starter house by hand takes time, especially when night is falling. This command creation drops a glowing crafting capsule onto the grass that constructs a complete wooden cabin right in front of you. A golden builder beam rises from the stone brick foundation up to the spruce roof, laying down oak walls, stripped log pillars, windows, and warm lantern lighting in seconds.

The build cycle repeats in the demo so you can watch the laser ring and glowing crane assemble each layer of the cabin from the ground up.

1. Setup - type these once 7 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-6 ~ ~-6 ~6 ~9 ~6 air
  3. /fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 grass_block
  4. /summon marker ~ ~ ~ {Tags:["c9_ctrl"]}
  5. /scoreboard players set @e[tag=c9_ctrl] c9_t 0
  6. /summon block_display ~-0.5 ~7 ~-0.5 {Tags:["c9_core"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:crafting_table"}}
  7. /summon item_display ~ ~1 ~ {Tags:["c9_beam"],Glowing:1b,glow_color_override:16766720,item:{id:"minecraft:gold_block",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[8.5f,0.12f,8.5f]}}

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

  1. /execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_t 1
  2. /execute as @e[tag=c9_ctrl] if score @s c9_t matches 115.. run scoreboard players set @s c9_t 1
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run fill ~-5 ~ ~-5 ~5 ~8 ~5 air
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1..15 as @e[tag=c9_core] at @s run tp @s ~-0.5 ~6 ~-0.5 ~20 ~
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 16..95 as @e[tag=c9_beam] at @s run tp @s ~ ~0.085 ~ ~12 ~
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 at @e[tag=c9_ctrl] run tp @e[tag=c9_beam] ~ ~0.2 ~
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 16..95 at @e[tag=c9_beam] run particle dust{color:[1.0,0.8,0.1],scale:1.8} ~ ~ ~ 3.6 0.1 3.6 0 45
  8. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 16..95 at @e[tag=c9_beam] run particle end_rod ~ ~ ~ 3.4 0.2 3.4 0.02 10
  9. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 20 run fill ~-4 ~ ~-4 ~4 ~ ~4 stone_bricks
  10. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 32 run fill ~-3 ~1 ~-3 ~3 ~3 ~3 oak_planks hollow
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 44 run fill ~-3 ~2 ~-3 ~3 ~2 ~3 glass_pane replace oak_planks
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 56 run fill ~-3 ~1 ~-3 ~3 ~3 ~3 stripped_oak_log replace glass_pane
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 68 run fill ~-4 ~4 ~-4 ~4 ~4 ~4 spruce_planks
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 80 run fill ~-3 ~5 ~-3 ~3 ~5 ~3 glowstone

How it works

Frames from the test run

Self-Building Wooden Cabin - frame 1Self-Building Wooden Cabin - frame 2Self-Building Wooden Cabin - frame 3

Recorded on our own test server: 45 frames at about 7.4 fps. Our image check saw: A glowing golden square beam rises from the grass, surrounded by golden particles, progressively building a stone brick foundation, oak walls, stripped log pillars, and a spruce roof.

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. Give yourself a command block with /give @s command_block and move to a flat open patch of grass.
  2. Run the 7 setup commands in chat or in impulse command blocks at the exact spot where you want the cabin centred.
  3. Place a stack of 14 repeating command blocks (or 1 repeating block connected to 13 chain command blocks), all set to Always Active.
  4. Paste the 14 loop commands in order into the command blocks.
  5. Watch the golden builder beam rise through the air and assemble the stone foundation, oak walls, windows, and spruce roof.

Use it with real players

To let players build the cabin ONCE where they throw a capsule instead of looping at the stage centre, remove loop command 2 (which resets the timer at tick 115) and wrap the setup and loop commands with /execute at @e[type=snowball,tag=c9_capsule] so the cabin prints wherever their thrown snowball lands.

Remove it again 5 commands

  1. /kill @e[tag=c9_ctrl]
  2. /kill @e[tag=c9_core]
  3. /kill @e[tag=c9_beam]
  4. /scoreboard objectives remove c9_t
  5. /fill ~-6 ~ ~-6 ~6 ~9 ~6 air

FAQ

Why does the cabin rebuild itself every few seconds?

Loop command 2 resets the c9_t scoreboard timer when it reaches 115 ticks so you can watch the full building animation repeatedly. Remove that command if you want the cabin to stay built permanently.

Can I change the blocks used for the walls and roof?

Yes. Edit the block names in loop commands 9 through 14 to swap stone_bricks, oak_planks, or spruce_planks for any blocks you prefer.

Commands used

/execute/fill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides