From a glowing central beacon, stone bricks, corner towers, and roofs fly through the air and snap together to build a medieval fortress by themselves.
Animated BlocksMedievalMysticCyanWhiteBuilding ToolCinematicMap MakingBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)13-20 commands
Watch an empty field transform into a fortified stronghold in seconds. Starting from a glowing beacon core at the center, dozens of oversized display blocks launch outward, trailing magic particles before locking into place as sturdy stone brick walls, corner watchtowers, and deep slate roofs.
This creation uses Minecraft's block_display entities combined with transformation matrices and smooth interpolation. Once fully assembled, the fortress holds its shape before collapsing back into the beacon to repeat the construction cycle.
/scoreboard objectives add c9_t dummy/scoreboard players set #t c9_t 0/setblock ~ ~ ~ beacon/setblock ~ ~-1 ~ emerald_block/summon block_display ~ ~1 ~ {Tags:["c9_e","c9_core"],Glowing:1b,glow_color_override:65535,teleport_duration:5,interpolation_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.5f,0f,-0.5f],scale:[1f,1f,1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add #t c9_t 1/execute if score #t c9_t matches 140.. run scoreboard players set #t c9_t 1/execute if score #t c9_t matches 1 run kill @e[tag=c9_part]/execute if score #t c9_t matches 2..9 run summon block_display ~ ~1 ~ {Tags:["c9_e","c9_part","c9_w","c9_new"],Glowing:1b,glow_color_override:16766720,teleport_duration:15,interpolation_duration:15,block_state:{Name:"minecraft:stone_bricks"},transformation:{translation:[-1.5f,0f,-1.5f],scale:[0.2f,0.2f,0.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #t c9_t matches 10..13 run summon block_display ~ ~1 ~ {Tags:["c9_e","c9_part","c9_tw","c9_new"],Glowing:1b,glow_color_override:65535,teleport_duration:18,interpolation_duration:18,block_state:{Name:"minecraft:chiseled_stone_bricks"},transformation:{translation:[-1.5f,0f,-1.5f],scale:[0.2f,0.2f,0.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #t c9_t matches 14..17 run summon block_display ~ ~1 ~ {Tags:["c9_e","c9_part","c9_rf","c9_new"],Glowing:1b,glow_color_override:16733695,teleport_duration:20,interpolation_duration:20,block_state:{Name:"minecraft:deepslate_tile_wall"},transformation:{translation:[-2f,6f,-2f],scale:[0.2f,0.2f,0.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_new] run spreadplayers ~ ~ 4 7 false @s/execute as @e[tag=c9_new] at @s run tp @s ~ ~1 ~/execute as @e[tag=c9_w,tag=c9_new] run data modify entity @s transformation.scale set value [3f,4f,3f]/execute as @e[tag=c9_tw,tag=c9_new] run data modify entity @s transformation.scale set value [3f,6f,3f]/execute as @e[tag=c9_rf,tag=c9_new] run data modify entity @s transformation.scale set value [4f,2f,4f]/tag @e[tag=c9_new] remove c9_new/execute if score #t c9_t matches 110 as @e[tag=c9_part] run tp @s ~ ~1 ~/execute at @e[tag=c9_part] if score #t c9_t matches 2..40 run particle end_rod ~ ~2 ~ 0.5 0.5 0.5 0.05 1 forcesetup #1 Creates the master timer scoreboard objective <code>c9_t</code> and places a central beacon core.loop #4 Between ticks 2 and 9, summons eight miniature stone brick display blocks at the center with a 15-tick interpolation and teleport duration.loop #7 Uses <code>/spreadplayers</code> on newly summoned parts to fling them outward into a perimeter ring around the beacon. Because <code>teleport_duration</code> is set, they glide smoothly through the air instead of snapping instantly.loop #9 Scales up the stone brick walls, towers, and roofs while they are flying outward so they grow to massive size right as they land.loop #13 At tick 110, teleports all fortress parts back into the center beacon before the cycle resets at tick 140.


Recorded on our own test server: 70 frames at about 9.9 fps. Our image check saw: Oversized glowing block display entities expand outward from a central point to assemble a small stone brick and deepslate structure.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To trigger the self-assembling fortress around a player when they drop a Nether Star instead of looping at a fixed spot, remove the timer reset in loop command 2 and wrap the commands in /execute at @e[type=item,nbt={Item:{id:"minecraft:nether_star"}}] run ..., then kill the dropped star once tick 20 is reached.
/kill @e[tag=c9_e]/setblock ~ ~ ~ air/setblock ~ ~-1 ~ grass_block/scoreboard objectives remove c9_tBy default, block_display entities are visual and have no collision hitbox. If you want solid walls, you can run a command at tick 35 executing at each c9_part to fill a small area with barrier blocks.
In Java Edition 26.x, setting the teleport_duration NBT tag on a block_display entity makes it smoothly interpolate its position over that many ticks whenever it is moved by /tp or /spreadplayers.
/data/execute/kill/particle/scoreboard/setblock/spreadplayers/summon/tag/tp
▶Shattered Sword Reforging RitualAnimated BlocksMedium24 cmds
▶Ancient Shrine GateAnimated BlocksMedium26 cmds
▶Automated Castle ConstructionAnimated BlocksHard19 cmds
▶Block Display MiniaturizerAnimated BlocksMedium24 cmds
▶Enchanted Grimoire Page-Turning RitualAnimated BlocksHard24 cmds
▶Morphing Banquet HallAnimated BlocksHard23 cmds