Clockwork Mythic Vault Unsealing

Build an automated clockwork vault in vanilla Minecraft using display entities, smooth transformations, and glowing particle rings that unseal on a loop.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A glowing Nether Star rises from a golden and diamond pedestal surrounded by swirling magical particles. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialMysticRoyalGoldBlueWhiteDecorationAdventure MapServer LobbyBlock displaysItem displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands

Watch an ornate golden vault unseal itself through a choreographed sequence of spinning brass gears, retracting obsidian doors, and rising diamond pillars. At the climax of the animation, a glowing nether star relic and an enchanted sword levitate from the core surrounded by swirling particle rings.

This creation shows how to combine block_display and item_display entities with transformation matrices and teleport interpolation to animate multi-part machinery without any mods or resource packs.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 polished_blackstone_bricks
  3. /setblock ~ ~-1 ~ gilded_blackstone
  4. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_ped"],block_state:{Name:"minecraft:chiseled_polished_blackstone"}, glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,transformation:{translation:[-0.6f,0.0f,-0.6f],scale:[1.2f,0.8f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_gear1"],block_state:{Name:"minecraft:gold_block"},glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,transformation:{translation:[-0.9f,0.2f,-0.9f],scale:[1.8f,0.15f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_gear2"],block_state:{Name:"minecraft:copper_Sblock"},glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,transformation:{translation:[-0.9f,0.45f,-0.9f],scale:[1.8f,0.15f,1.8f],left_rotation:[0f,0.3826834f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}
  7. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_lid1"],block_state:{Name:"minecraft:crying_obsidian"},glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,transformation:{translation:[-0.5f,0.8f,-0.5f],scale:[0.5f,0.25f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_lid2"],block_state:{Name:"minecraft:crying_obsidian"},glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,transformation:{translation:[0.0f,0.8f,-0.5f],scale:[0.5f,0.25f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_pil"],block_state:{Name:"minecraft:diamond_block"},glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,transformation:{translation:[-0.25f,0.1f,-0.25f],scale:[0.5f,0.6f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /summon item_display ~ ~0.6 ~ {Tags:["c9_v","c9_relic"],item:{id:"minecraft:nether_star",count:1},billboard:"center",glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.01f,0.01f,0.01f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

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

  1. /execute if score #tick c9_t matches 140.. run scoreboard players set #tick c9_t 0
  2. /scoreboard players add #tick c9_t 1
  3. /execute if score #tick c9_t matches 20..120 as @e[tag=c9_gear1] at @s run tp @s ~ ~ ~ ~6 ~
  4. /execute if score #tick c9_t matches 20..120 as @e[tag=c9_gear2] at @s run tp @s ~ ~ ~ ~-6 ~
  5. /execute if score #tick c9_t matches 25 run data merge entity @e[tag=c9_lid1,limit=1] {start_interpolation:0,transformation:{translation:[-1.3f,0.8f,-0.5f],scale:[0.5f,0.25f,1.0f],left_rotation:[0f,0f,0.3826834f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}
  6. /execute if score #tick c9_t matches 25 run data merge entity @e[tag=c9_lid2,limit=1] {start_interpolation:0,transformation:{translation:[0.8f,0.8f,-0.5f],scale:[0.5f,0.25f,1.0f],left_rotation:[0f,0f,-0.3826834f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}
  7. /execute if score #tick c9_t matches 45 run data merge entity @e[tag=c9_pil,limit=1] {start_interpolation:0,transformation:{translation:[-0.25f,0.9f,-0.25f],scale:[0.5f,1.4f,0.5f],left_rotation:[0f,0.3826834f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}
  8. /execute if score #tick c9_t matches 50 run data merge entity @e[tag=c9_relic,limit=1] {start_interpolation:0,transformation:{translation:[0.0f,2.4f,0.0f],scale:[1.5f,1.5f,1.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute if score #tick c9_t matches 50..105 as @e[tag=c9_gear1] at @s anchored eyes positioned ^ ^2.2 ^1.6 run particle dust{color:[1.0,0.8,0.1],scale:1.5} ~ ~ ~ 0.05 0.05 0.05 0 2 force
  10. /execute if score #tick c9_t matches 50..105 as @e[tag=c9_gear2] at @s anchored eyes positioned ^ ^1.4 ^1.2 run particle soul_fire_flame ~ ~ ~ 0.05 0.05 0.05 0.01 2 force
  11. /execute if score #tick c9_t matches 65..100 run particle end_rod ~ ~3.0 ~ 0.4 0.4 0.4 0.05 3 force
  12. /execute if score #tick c9_t matches 110 run data merge entity @e[tag=c9_relic,limit=1] {start_interpolation:0,transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.01f,0.01f,0.01f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  13. /execute if score #tick c9_t matches 115 run data merge entity @e[tag=c9_pil,limit=1] {start_interpolation:0,transformation:{translation:[-0.25f,0.1f,-0.25f],scale:[0.5f,0.6f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  14. /execute if score #tick c9_t matches 120 as @e[tag=c9_v] run data merge entity @e[tag=c9_lid1,limit=1] {start_interpolation:0,transformation:{translation:[-0.5f,0.8f,-0.5f],scale:[0.5f,0.25f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

How it works

Frames from the test run

Clockwork Mythic Vault Unsealing - frame 1Clockwork Mythic Vault Unsealing - frame 2Clockwork Mythic Vault Unsealing - frame 3

Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: A small vault made of gold, lodestone, and crying obsidian opens up with a rotating gold base, revealing a rising diamond pillar, a glowing nether star, and swirling blue, gold, and 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. Note: Before running Setup command #6, change copper_Sblock to copper_block (or use waxed_copper_block) if pasting manually.
  2. Stand at the center of your build area and run each command from the Setup list in chat one by one.
  3. Place a line of 14 Repeating Command Blocks set to Always Active nearby.
  4. Paste one Loop command into each repeating command block in order.
  5. To make the right lid also close cleanly on reset, you can add one extra repeating block running the lid2 reset transformation at tick 120.

Use it with real players

To make the vault open only when a player approaches instead of looping automatically, replace the first two loop commands with /execute if entity @a[distance=..6] if score #tick c9_t matches ..109 run scoreboard players add #tick c9_t 1 and run the reset ticks when no player is within 6 blocks.

Remove it again 3 commands

  1. /kill @e[tag=c9_v]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 grass_block

FAQ

Why do the vault doors and pillar move smoothly instead of snapping?

Each display entity has interpolation_duration set to 25 ticks. Setting start_interpolation to 0 alongside a new transformation makes the client blend between the old and new positions.

How are the particle rings spinning without dozens of armor stands?

The particle commands execute from the rotating gear display entities using local caret coordinates (^ ^ ^), turning their continuous yaw rotation into circular particle emitters.

Commands used

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

Similar creations

Join 9Minecraft News & Guides