Build a live planetary solar system in Minecraft using block displays and particles that orbit a glowing central star with inclined 3D orbital mechanics.
Eclipses & Celestial EventsSpaceGoldBlueRedLearningDecorationCinematicBlock displaysArmor standsSmooth animation (interpolation)Rotation math21+ commands
This command creation constructs a glowing miniature solar system right above your world. A bright golden central star sits suspended in the air while four unique planets—each made from scaled block displays—orbit around it at different speeds, distances, and 3D tilt angles. A nimble icy moon even orbits around the outer ring planet as it travels.
Everything runs purely on vanilla rotation math and particle emitters. As the planets sweep along their orbital paths, they leave colorful trails of dust, fire, and magic particles behind them, creating a live cosmic light show that looks especially vivid against the night sky.
/summon block_display ~ ~8 ~ {Tags:["c9_sim","c9_sun"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:ochre_froglight"},transformation:{translation:[-1.25f,-1.25f,-1.25f],left_rotation:[0f,0f,0f,1f],scale:[2.5f,2.5f,2.5f],right_rotation:[0f,0f,0f,1f]}}/summon armor_stand ~ ~8 ~ {Tags:["c9_sim","c9_pivot","c9_p1"],Invisible:1b,NoGravity:1b,Marker:1b,Rotation:[0f,12f]}/summon armor_stand ~ ~8 ~ {Tags:["c9_sim","c9_pivot","c9_p2"],Invisible:1b,NoGravity:1b,Marker:1b,Rotation:[90f,-10f]}/summon armor_stand ~ ~8 ~ {Tags:["c9_sim","c9_pivot","c9_p3"],Invisible:1b,NoGravity:1b,Marker:1b,Rotation:[180f,18f]}/summon armor_stand ~ ~8 ~ {Tags:["c9_sim","c9_pivot","c9_p4"],Invisible:1b,NoGravity:1b,Marker:1b,Rotation:[270f,-24f]}/summon block_display ~ ~8 ~ {Tags:["c9_sim","c9_body","c9_b1"],Glowing:1b,glow_color_override:16724736,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:magma_block"},transformation:{translation:[-0.4f,-0.4f,-0.4f],left_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~8 ~ {Tags:["c9_sim","c9_body","c9_b2"],Glowing:1b,glow_color_override:39423,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.6f,-0.6f,-0.6f],left_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.2f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~8 ~ {Tags:["c9_sim","c9_body","c9_b3"],Glowing:1b,glow_color_override:11167487,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-0.75f,-0.75f,-0.75f],left_rotation:[0f,0f,0f,1f],scale:[1.5f,1.5f,1.5f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~8 ~ {Tags:["c9_sim","c9_body","c9_b4"],Glowing:1b,glow_color_override:65500,brightness:{sky:15,block:15},teleport_duration:1,block_state:{Name:"minecraft:blue_ice"},transformation:{translation:[-0.25f,-0.25f,-0.25f],left_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_p1] at @s run tp @s ~ ~ ~ ~5.5 ~/execute as @e[tag=c9_p2] at @s run tp @s ~ ~ ~ ~3.2 ~/execute as @e[tag=c9_p3] at @s run tp @s ~ ~ ~ ~1.8 ~/execute as @e[tag=c9_p4] at @s run tp @s ~ ~ ~ ~13.0 ~/execute at @e[tag=c9_p1] positioned ^ ^ ^4.2 run tp @e[tag=c9_b1,limit=1] ~ ~ ~ ~8 ~/execute at @e[tag=c9_p2] positioned ^ ^ ^7.5 run tp @e[tag=c9_b2,limit=1] ~ ~ ~ ~5 ~/execute at @e[tag=c9_p3] positioned ^ ^ ^11.5 run tp @e[tag=c9_b3,limit=1] ~ ~ ~ ~3 ~/execute at @e[tag=c9_b3] rotated as @e[tag=c9_p4,limit=1] positioned ^ ^ ^2.3 run tp @e[tag=c9_b4,limit=1] ~ ~ ~ ~12 ~/execute at @e[tag=c9_sun] run particle flame ~ ~ ~ 0.9 0.9 0.9 0.02 6 force/execute at @e[tag=c9_sun] run particle end_rod ~ ~ ~ 3.5 2.0 3.5 0.01 1 force/execute at @e[tag=c9_b1] run particle dust{color:[1.0,0.35,0.05],scale:1.2} ~ ~ ~ 0.1 0.1 0.1 0 3 force/execute at @e[tag=c9_b2] run particle dust{color:[0.1,0.75,1.0],scale:1.4} ~ ~ ~ 0.15 0.15 0.15 0 4 force/execute at @e[tag=c9_b3] run particle dust{color:[0.75,0.25,1.0],scale:1.6} ~ ~ ~ 0.2 0.2 0.2 0 5 force/execute at @e[tag=c9_b4] run particle snowflake ~ ~ ~ 0.05 0.05 0.05 0 2 forcesetup #1 Summons the central star 8 blocks above the ground using an <code>ochre_froglight</code> block display scaled up to 2.5x size and centered with a negative translation offset.setup #2 Creates invisible marker armor stands at the center of the sun with fixed pitch tilts (<code>12f</code>, <code>-10f</code>, <code>18f</code>, <code>-24f</code>). These act as inclined orbital planes.setup #6 Spawns the orbiting planet block displays with custom scale, full brightness, coloured glow outlines, and <code>teleport_duration:1</code> for smooth frame-interpolated movement.loop #1 Rotates each central pivot armor stand at a different angular velocity every tick. Inner planets rotate faster than outer planets, mimicking Kepler's laws of orbital motion.loop #5 Projects each planet outward along its pivot's local look vector (<code>^ ^ ^distance</code>) so the planet travels along a tilted 3D circular orbit around the sun.loop #8 Positions the icy moon (<code>c9_b4</code>) relative to the outer amethyst planet (<code>c9_b3</code>) using the rotation of pivot 4, creating a true satellite orbit around a moving planet.


Recorded on our own test server: 57 frames at about 9.5 fps. Our image check saw: A glowing central golden block is orbited by several colorful, scaled block displays leaving particle trails against a night sky.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the solar system orbit around a player instead of a fixed point, add a repeating command block running /execute at @p run tp @e[tag=c9_pivot] ~ ~2 ~ and /execute at @p run tp @e[tag=c9_sun] ~ ~2 ~ so the entire gravitational center follows you wherever you walk.
/kill @e[tag=c9_sim]Change the second number in the pivot armor stand's Rotation tag during setup to adjust the orbital tilt angle, or change the ^ ^ ^distance number in the loop teleport commands to make an orbit wider or tighter.
Each block_display entity has teleport_duration:1 set in its NBT data, which tells the Minecraft client to smoothly interpolate position and rotation changes between server ticks.
▶Sundog Halo Ice Crystal SkyEclipses & Celestial EventsHard24 cmds
▶Supernova Shockwave Cloud NebulaeEclipses & Celestial EventsExpert19 cmds
▶Astral Projection Whale Pod Sky SwimEclipses & Celestial EventsExpert24 cmds
▶Automated Spacecraft LiftoffEclipses & Celestial EventsMedium21 cmds
▶Binary Star Eclipse DanceEclipses & Celestial EventsExpert24 cmds
▶Bioluminescent Squid AbductionEclipses & Celestial EventsMedium25 cmds