Smoothly Hinged Display Doorway

Build a freestanding stone and timber doorway with a custom block display door that turns its golden handle and swings open smoothly on hinges.

Java EditionHolograms & Display EntitiesEasy24 commandsTested on a real 26.2 & 26.3 server
A custom stone and timber doorway with lanterns swings open smoothly at night. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksMedievalOrangeGoldWhiteDecorationMap MakingAdventure MapParticlesBlock displaysArmor standsSmooth animation (interpolation)Scoreboard timersExecute chainsRiding & passengersSummoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

Traditional Minecraft doors snap instantaneously between open and closed states on a rigid block grid. This command creation combines real stone and timber architecture with custom block display entities to build a freestanding doorway that swings smoothly on its hinges.

Flanked by two warm hanging lanterns, the custom wooden door features a recessed spruce panel, a glowing stained-glass window, and an animated gold handle that twists downward right before the door glides open to reveal a shimmering portal aura inside the frame.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_door dummy
  2. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:stone_bricks
  3. /fill ~-1 ~ ~ ~-1 ~2 ~ minecraft:dark_oak_log
  4. /fill ~1 ~ ~ ~1 ~2 ~ minecraft:dark_oak_log
  5. /setblock ~-1 ~ ~ minecraft:chiseled_stone_bricks
  6. /setblock ~1 ~ ~ minecraft:chiseled_stone_bricks
  7. /fill ~-1 ~3 ~ ~1 ~3 ~ minecraft:dark_oak_log[axis=x]
  8. /fill ~-1 ~3 ~-1 ~1 ~3 ~1 minecraft:stone_brick_slab[type=bottom] keep
  9. /setblock ~-1 ~2 ~1 minecraft:lantern[hanging=true]
  10. /summon minecraft:armor_stand ~-0.5 ~ ~ {Tags:["c9_frame_root"],Invisible:1b,Marker:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_frame"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:lantern",Properties:{hanging:"true"}},transformation:{translation:[1.0f,2.0f,1.0f],left_rotation:[0f,0f,0f,1f],scale:[1.0f,1.0f,1.0f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_door"],teleport_duration:24,block_state:{Name:"minecraft:dark_oak_planks"},transformation:{translation:[0.0f,0.0f,-0.08f],left_rotation:[0f,0f,0f,1f],scale:[1.0f,3.0f,0.16f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_door"],teleport_duration:24,block_state:{Name:"minecraft:spruce_planks"},transformation:{translation:[0.08f,0.12f,-0.1f],left_rotation:[0f,0f,0f,1f],scale:[0.84f,2.76f,0.2f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_door"],teleport_duration:24,brightness:{sky:15,block:15},block_state:{Name:"minecraft:orange_stained_glass"},transformation:{translation:[0.2f,1.65f,-0.12f],left_rotation:[0f,0f,0f,1f],scale:[0.6f,0.95f,0.24f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_door","c9_knob"],teleport_duration:24,interpolation_duration:5,brightness:{sky:15,block:15},block_state:{Name:"minecraft:gold_block"},transformation:{translation:[0.76f,1.25f,-0.16f],left_rotation:[0f,0f,0f,1f],scale:[0.16f,0.1f,0.32f],right_rotation:[0f,0f,0f,1f]}}]}

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

  1. /execute as @e[tag=c9_door] run ride @s dismount
  2. /scoreboard players add #t c9_door 1
  3. /execute if score #t c9_door matches 101.. run scoreboard players set #t c9_door 1
  4. /execute if score #t c9_door matches 15 as @e[tag=c9_knob] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.76f,1.22f,-0.16f],left_rotation:[0.0f,0.0f,-0.342f,0.9397f],scale:[0.16f,0.1f,0.32f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  5. /execute if score #t c9_door matches 20 as @e[tag=c9_door] at @s run tp @s ~ ~ ~ -105 0
  6. /execute if score #t c9_door matches 20 run playsound minecraft:block.wooden_door.open master @a ~ ~ ~ 1.0 0.95
  7. /execute if score #t c9_door matches 45 as @e[tag=c9_knob] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.76f,1.25f,-0.16f],left_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[0.16f,0.1f,0.32f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  8. /execute if score #t c9_door matches 65 as @e[tag=c9_door] at @s run tp @s ~ ~ ~ 0 0
  9. /execute if score #t c9_door matches 89 run playsound minecraft:block.wooden_door.close master @a ~ ~ ~ 1.0 0.95
  10. /execute if score #t c9_door matches 20..44 run particle minecraft:dust{color:[1.0,0.78,0.2],scale:1.2} ~ ~1.5 ~-0.3 0.35 0.9 0.35 0 4 normal
  11. /execute if score #t c9_door matches 65..89 run particle minecraft:dust{color:[0.3,0.85,1.0],scale:1.1} ~ ~1.5 ~-0.3 0.35 0.9 0.35 0 3 normal
  12. /execute if score #t c9_door matches 40..66 run particle minecraft:end_rod ~ ~1.5 ~ 0.3 0.9 0.25 0.01 1 normal
  13. /particle minecraft:flame ~-1.0 ~2.35 ~1.5 0.02 0.03 0.02 0.003 1 normal
  14. /particle minecraft:flame ~1.0 ~2.35 ~1.5 0.02 0.03 0.02 0.003 1 normal

How it works

Frames from the test run

Smoothly Hinged Display Doorway - frame 1Smoothly Hinged Display Doorway - frame 2Smoothly Hinged Display Doorway - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A freestanding stone and wood doorway flanked by lanterns with a custom block-display door swinging open and closed while emitting white 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 area where you want the stone and timber doorway to appear.
  2. Run each of the 10 setup commands in order to create the scoreboard, build the stone brick base and dark oak frame, and summon the display door at the hinge.
  3. Place a repeating command block set to Always Active and paste the first loop command into it.
  4. Chain the remaining 13 loop commands in Always Active chain command blocks connected to the repeating block.
  5. Watch the golden handle turn downward and the custom 3-block-tall door glide open and closed with warm particle trails.

Use it with real players

To make the door open automatically whenever a player walks near it instead of running on a timer, replace the scoreboard timer commands with proximity checks: run /execute if entity @a[distance=..3.5] as @e[tag=c9_door] at @s run tp @s ~ ~ ~ -105 0 to swing it open when a player approaches, and /execute unless entity @a[distance=..3.5] as @e[tag=c9_door] at @s run tp @s ~ ~ ~ 0 0 to close it when they walk away.

Remove it again 6 commands

  1. /kill @e[tag=c9_door]
  2. /kill @e[tag=c9_frame]
  3. /kill @e[tag=c9_frame_root]
  4. /fill ~-2 ~-1 ~-2 ~2 ~3 ~2 minecraft:air
  5. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_block
  6. /scoreboard objectives remove c9_door

FAQ

Why do the door pieces rotate together without separating?

All four block_display entities are summoned and dismounted at the exact same hinge coordinate (~-0.5 ~ ~) and offset outward using their transformation translation. When rotated with /tp, they pivot around that shared hinge origin.

Can Players Walk Through the Doorway?

Yes! Block display entities do not have solid collision boxes, so players can walk right through the doorway while the door swings open.

Commands used

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

Similar creations

Join 9Minecraft News & Guides