Build an automated Nether Fortress drawbridge in vanilla Minecraft using display entities, smooth interpolation, and angled diagonal iron chains.
Machines & MechanismsNetherMedievalDarkOrangeBlackRedMap MakingAdventure MapDecorationBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Sounds21+ commands
Traditional Minecraft drawbridges are flat and blocky, moving one grid space at a time. This creation uses block_display entities and matrix transformations to build a Nether Fortress gate that swings down smoothly over a bubbling lava moat, held on both sides by diagonal iron chains that stretch and tilt in real time.
The entire build runs automatically on a scoreboard loop: the bridge lowers with a heavy clank of chains, locks into place over the lava with a burst of flames, and winds back up into the gatehouse tower.
/scoreboard objectives add c9_t dummy/fill ~-5 ~-1 ~-4 ~5 ~-1 ~7 minecraft:polished_blackstone_bricks/fill ~-3 ~-1 ~0 ~3 ~-1 ~5 minecraft:lava/fill ~-3 ~ ~-2 ~3 ~8 ~-1 minecraft:nether_bricks/fill ~-2 ~1 ~-2 ~2 ~5 ~-1 minecraft:air/fill ~-4 ~ ~-2 ~-3 ~9 ~-1 minecraft:polished_blackstone_bricks/fill ~3 ~ ~-2 ~4 ~9 ~-1 minecraft:polished_blackstone_bricks/fill ~-4 ~8 ~-2 ~4 ~9 ~-1 minecraft:chiseled_polished_blackstone/summon minecraft:marker ~ ~1 ~-0.5 {Tags:["c9_m","c9_ctrl"]}/summon minecraft:block_display ~ ~1 ~-0.5 {Tags:["c9_m","c9_bridge"],interpolation_duration:60,teleport_duration:1,block_state:{Name:"minecraft:nether_bricks"},transformation:{translation:[-2.0f,0.0f,0.0f],scale:[4.0f,5.0f,0.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute unless entity @e[tag=c9_ch_l] run summon minecraft:block_display ~-2.1 ~6 ~-0.5 {Tags:["c9_m","c9_ch_l"],interpolation_duration:60,block_state:{Name:"minecraft:iron_chain"},transformation:{translation:[-0.15f,-0.5f,0.0f],scale:[0.3f,0.5f,0.3f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute unless entity @e[tag=c9_ch_r] run summon minecraft:block_display ~2.1 ~6 ~-0.5 {Tags:["c9_m","c9_ch_r"],interpolation_duration:60,block_state:{Name:"minecraft:iron_chain"},transformation:{translation:[-0.15f,-0.5f,0.0f],scale:[0.3f,0.5f,0.3f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/scoreboard players add @e[tag=c9_ctrl] c9_t 1/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 160.. run scoreboard players set @e[tag=c9_ctrl] c9_t 0/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 5 run data merge entity @e[tag=c9_bridge,limit=1] {start_interpolation:0,interpolation_duration:60,transformation:{translation:[-2.0f,0.0f,0.0f],scale:[4.0f,5.0f,0.4f],left_rotation:[0.7071f,0.0f,0.0f,0.7071f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 5 as @e[tag=c9_ch_l] run data merge entity @s {start_interpolation:0,interpolation_duration:60,transformation:{translation:[-0.15f,-5.0f,5.0f],scale:[0.3f,7.07f,0.3f],left_rotation:[-0.3827f,0.0f,0.0f,0.9239f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 5 as @e[tag=c9_ch_r] run data merge entity @s {start_interpolation:0,interpolation_duration:60,transformation:{translation:[-0.15f,-5.0f,5.0f],scale:[0.3f,7.07f,0.3f],left_rotation:[-0.3827f,0.0f,0.0f,0.9239f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 5..65 run playsound minecraft:block.chain.step master @a ~ ~4 ~2 0.4 0.7/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 65 run playsound minecraft:block.anvil.land master @a ~ ~1 ~4 0.7 0.6/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 65 run particle minecraft:lava ~ ~1 ~4.5 1.8 0.2 0.5 0.1 25 force/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 90 run data merge entity @e[tag=c9_bridge,limit=1] {start_interpolation:0,interpolation_duration:60,transformation:{translation:[-2.0f,0.0f,0.0f],scale:[4.0f,5.0f,0.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 90 as @e[tag=c9_ch_l] run data merge entity @s {start_interpolation:0,interpolation_duration:60,transformation:{translation:[-0.15f,-0.5f,0.0f],scale:[0.3f,0.5f,0.3f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 90 as @e[tag=c9_ch_r] run data merge entity @s {start_interpolation:0,interpolation_duration:60,transformation:{translation:[-0.15f,-0.5f,0.0f],scale:[0.3f,0.5f,0.3f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/particle minecraft:flame ~ ~0.2 ~2.5 2.0 0.2 1.8 0.01 2 forcesetup #10 Summons the main drawbridge panel as a <code>block_display</code> scaled to 4 blocks wide, 5 blocks tall, and 0.4 blocks thick, pivoted at the bottom of the archway.loop #5 At tick 5, rotates the drawbridge 90 degrees forward around the X axis using quaternion <code>[0.7071, 0, 0, 0.7071]</code> over 60 ticks (3 seconds).loop #6 Simultaneously tilts the left iron chain to a 45-degree diagonal (<code>[-0.3827, 0, 0, 0.9239]</code>) and stretches its length to <code>7.07f</code> so it stays pinned between the top winch and the outer tip of the lowering bridge.loop #11 At tick 90, reverses the interpolation back to upright so the drawbridge closes back into the fortress frame.


Recorded on our own test server: 66 frames at about 9.4 fps. Our image check saw: A dark stone and Nether brick gateway with a drawbridge smoothly tilting and lowering over a lava moat, attached by thin diagonal chains on both sides.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let players control the drawbridge with a lever instead of the automatic timer, remove loop commands 3 and 4, and power command 5 (lower) when the lever turns ON and command 11 (raise) when the lever turns OFF. You can also place barrier blocks at ~-2 ~ ~0 to ~2 ~ ~4 when lowered so players can walk across the lava.
/kill @e[tag=c9_m]/scoreboard objectives remove c9_t/fill ~-5 ~-1 ~-4 ~5 ~9 ~7 minecraft:air/fill ~-5 ~-1 ~-4 ~5 ~-1 ~7 minecraft:grass_blockWhen the 5-block tall bridge lies flat at 90 degrees, its tip is 5 blocks forward and 5 blocks below the chain anchor. By the Pythagorean theorem, the diagonal distance is 7.07 blocks at a 45-degree angle, matching the chain's transformation.
Block displays are visual only and have no hitbox. To make it walkable, place invisible barrier blocks over the lava while the bridge is down and clear them when it raises.
▶Gothic Cathedral Organ Pipe SymphonyMachines & MechanismsHard22 cmds
▶Animated Guillotine with Block DisplaysMachines & MechanismsMedium24 cmds
▶Automated Guillotine ExecutionMachines & MechanismsMedium26 cmds
▶Sliding Dungeon GateMachines & MechanismsMedium24 cmds
▶Animated Falling BladeMachines & MechanismsMedium26 cmds
▶Gothic Clocktower TransformationMachines & MechanismsHard24 cmds