Instant Self-Assembling Fortress

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.

Java EditionHolograms & Display EntitiesMedium19 commandsTested on a real 26.2 & 26.3 server
Oversized glowing stone blocks expand outward from a core to self-assemble into a miniature Minecraft fortress. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 5 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard players set #t c9_t 0
  3. /setblock ~ ~ ~ beacon
  4. /setblock ~ ~-1 ~ emerald_block
  5. /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]}}

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

  1. /scoreboard players add #t c9_t 1
  2. /execute if score #t c9_t matches 140.. run scoreboard players set #t c9_t 1
  3. /execute if score #t c9_t matches 1 run kill @e[tag=c9_part]
  4. /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]}}
  5. /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]}}
  6. /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]}}
  7. /execute as @e[tag=c9_new] run spreadplayers ~ ~ 4 7 false @s
  8. /execute as @e[tag=c9_new] at @s run tp @s ~ ~1 ~
  9. /execute as @e[tag=c9_w,tag=c9_new] run data modify entity @s transformation.scale set value [3f,4f,3f]
  10. /execute as @e[tag=c9_tw,tag=c9_new] run data modify entity @s transformation.scale set value [3f,6f,3f]
  11. /execute as @e[tag=c9_rf,tag=c9_new] run data modify entity @s transformation.scale set value [4f,2f,4f]
  12. /tag @e[tag=c9_new] remove c9_new
  13. /execute if score #t c9_t matches 110 as @e[tag=c9_part] run tp @s ~ ~1 ~
  14. /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 force

How it works

Frames from the test run

Instant Self-Assembling Fortress - frame 1Instant Self-Assembling Fortress - frame 2Instant Self-Assembling Fortress - frame 3

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.

Build it in your world

  1. Stand on a flat open area and run the 5 setup commands in your chat one by one.
  2. Place one repeating command block set to Always Active, and paste the first loop command into it.
  3. Chain 13 chain command blocks (Always Active, Unconditional) onto the repeating command block.
  4. Paste the remaining 13 loop commands in order into the chain command blocks.
  5. Watch the beacon construct and re-absorb the medieval stronghold every 7 seconds.

Use it with real players

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.

Remove it again 4 commands

  1. /kill @e[tag=c9_e]
  2. /setblock ~ ~ ~ air
  3. /setblock ~ ~-1 ~ grass_block
  4. /scoreboard objectives remove c9_t

FAQ

Can players walk on the assembled fortress walls?

By 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.

Why do the blocks glide smoothly when spreadplayers is used?

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.

Commands used

/data/execute/kill/particle/scoreboard/setblock/spreadplayers/summon/tag/tp

Similar creations

Join 9Minecraft News & Guides