Procedural 3D Shape Generator

Build a procedural 3D shape generator in Minecraft using rotating block displays, smooth interpolation, and colorful morphing geometric rings.

Java EditionHolograms & Display EntitiesHard20 commandsTested on a real 26.2 & 26.3 server
Floating block displays form glowing emerald, diamond, and gold 3D geometric shapes above a lit pedestal. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksTechnologyMysticCyanGreenGoldDecorationLearningServer LobbyBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math13-20 commands

The Procedural 3D Shape Generator uses rotating block display entities and smooth interpolation to construct complex floating geometry right before your eyes. A glowing central core emits rings of orbiting nodes that continuously shift their positions, rotations, and colors.

Every two seconds, the generator cycles through four distinct 3D configurations: a diamond gyroscope sphere, a golden star burst, an amethyst crystalline lattice, and an emerald ribbon cage. The transitions between shapes are seamlessly animated by Minecraft's built-in display entity interpolation.

1. Setup - type these once 6 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard players set #tick c9_timer 0
  3. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 minecraft:polished_deepslate
  4. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:sea_lantern
  5. /summon minecraft:block_display ~ ~7 ~ {Tags:["c9_gen","c9_core"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:15,block_state:{Name:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.8f],translation:[-0.9f,-0.9f,-0.9f]}}
  6. /summon minecraft:area_effect_cloud ~ ~7 ~ {Tags:["c9_gen","c9_spawner"],Duration:36,Radius:0f}

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

  1. /scoreboard players add #tick c9_timer 1
  2. /execute if score #tick c9_timer matches 160.. run scoreboard players set #tick c9_timer 0
  3. /execute as @e[tag=c9_spawner] at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_gen","c9_shape","c9_ring1"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:18,block_state:{Name:"minecraft:diamond_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.2f],translation:[-0.6f,-0.6f,4.5f]}}
  4. /execute as @e[tag=c9_spawner] at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_gen","c9_shape","c9_ring2"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:18,block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.2f],translation:[-0.6f,-0.6f,4.5f]}}
  5. /execute as @e[tag=c9_spawner] as @e[tag=c9_ring1] at @s run tp @s ~ ~ ~ ~20 ~10
  6. /execute as @e[tag=c9_spawner] as @e[tag=c9_ring2] at @s run tp @s ~ ~ ~ ~-20 ~-10
  7. /execute as @e[tag=c9_ring1] at @s run tp @s ~ ~ ~ ~4 ~2
  8. /execute as @e[tag=c9_ring2] at @s run tp @s ~ ~ ~ ~-4 ~-2
  9. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~6 ~4
  10. /execute as @e[tag=c9_core] at @s run particle minecraft:end_rod ~ ~ ~ 3.0 3.0 3.0 0.03 4 force
  11. /execute if score #tick c9_timer matches 1 as @e[tag=c9_shape] run data merge entity @s {start_interpolation:0,interpolation_duration:22,block_state:{Name:"minecraft:diamond_block"},glow_color_override:65535,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.2f],translation:[-0.6f,-0.6f,4.5f]}}
  12. /execute if score #tick c9_timer matches 41 as @e[tag=c9_shape] run data merge entity @s {start_interpolation:0,interpolation_duration:22,block_state:{Name:"minecraft:gold_block"},glow_color_override:16755200,transformation:{left_rotation:[0.382f,0f,0f,0.923f],right_rotation:[0f,0.382f,0f,0.923f],scale:[0.6f,4.2f,0.6f],translation:[-0.3f,-2.1f,2.8f]}}
  13. /execute if score #tick c9_timer matches 81 as @e[tag=c9_shape] run data merge entity @s {start_interpolation:0,interpolation_duration:22,block_state:{Name:"minecraft:amethyst_block"},glow_color_override:16711935,transformation:{left_rotation:[0.5f,0.5f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.6f],translation:[-3.0f,-3.0f,3.0f]}}
  14. /execute if score #tick c9_timer matches 121 as @e[tag=c9_shape] run data merge entity @s {start_interpolation:0,interpolation_duration:22,block_state:{Name:"minecraft:emerald_block"},glow_color_override:65280,transformation:{left_rotation:[0f,0.707f,0f,0.707f],right_rotation:[0f,0f,0f,1f],scale:[5.2f,0.5f,0.5f],translation:[-2.6f,-0.25f,2.0f]}}

How it works

Frames from the test run

Procedural 3D Shape Generator - frame 1Procedural 3D Shape Generator - frame 2Procedural 3D Shape Generator - frame 3

Recorded on our own test server: 69 frames at about 9.7 fps. Our image check saw: A floating beacon core above a sea lantern pedestal generates shifting 3D geometric shapes made of emerald, diamond, and gold block displays surrounded by 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. Create a flat area and stand where you want the center of the 3D generator to be.
  2. Run each of the 6 setup commands in chat one by one to create the base platform, scoreboard timer, central core, and 36-tick spawner.
  3. Place 14 repeating command blocks (or 1 repeating command block leading into 13 chain command blocks) nearby.
  4. Set all 14 command blocks to Always Active and paste the loop commands into them in order.
  5. Watch as the spawner builds the two intersecting rings over 1.8 seconds and begins morphing the floating 3D shapes every two seconds.

Use it with real players

To let a player carry the 3D shape generator around like an aura, add a repeating command block with /execute at @p run tp @e[tag=c9_gen] ~ ~3 ~ so the central core and all orbiting geometry follow above the player's head.

Remove it again 3 commands

  1. /kill @e[tag=c9_gen]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 minecraft:grass_block

FAQ

Why do the blocks orbit at a distance when they are all summoned at the same coordinates?

Each block display has a translation offset in its transformation data (for example, Z: 4.5f). Because a display entity's transformation is applied in its local coordinate space, rotating the entity's yaw and pitch swings the rendered block in a wide sphere around its actual position.

How do I add more shapes to the generator cycle?

Increase the timer reset in the second loop command from 160 to 200 (or higher), then add another data merge command triggered at tick 161 with your own custom scale, translation, and rotation values.

Commands used

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

Similar creations

Join 9Minecraft News & Guides