Summon a spinning geometric laser cage made of cyan and magenta display planes that traps a bouncing firework orb before bursting in mid-air.
Light Beams & LasersTechnologyCelebrationCyanPinkRainbowDecorationServer LobbyCinematicBlock displaysFireworksSmooth animation (interpolation)Rotation math21+ commands
The Bouncing Polyhedron Laser Cage builds a suspended geometric prison out of glowing cyan and magenta light planes. Six intersecting block display entities rotate across symmetry axes in mid-air, expanding and pulsing smoothly around a central point.
Inside the cage, a bright energy core ricochets rapidly off the shifting laser walls, leaving a trail of firework sparks and glowing dust before triggering an overload explosion.
/scoreboard objectives add c9_tick dummy/summon marker ~ ~7 ~ {Tags:["c9_all","c9_core"]}/summon block_display ~ ~7 ~ {Tags:["c9_all","c9_beam","c9_b1"],Rotation:[0f,35f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-3.4f,-0.15f,-3.4f],left_rotation:[0f,0f,0f,1f],scale:[6.8f,0.3f,6.8f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~7 ~ {Tags:["c9_all","c9_beam","c9_b2"],Rotation:[60f,35f],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:pearlescent_froglight"},transformation:{translation:[-3.4f,-0.15f,-3.4f],left_rotation:[0f,0f,0f,1f],scale:[6.8f,0.3f,6.8f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~7 ~ {Tags:["c9_all","c9_beam","c9_b3"],Rotation:[120f,35f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-3.4f,-0.15f,-3.4f],left_rotation:[0f,0f,0f,1f],scale:[6.8f,0.3f,6.8f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~7 ~ {Tags:["c9_all","c9_beam","c9_b4"],Rotation:[180f,35f],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:pearlescent_froglight"},transformation:{translation:[-3.4f,-0.15f,-3.4f],left_rotation:[0f,0f,0f,1f],scale:[6.8f,0.3f,6.8f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~7 ~ {Tags:["c9_all","c9_beam","c9_b5"],Rotation:[240f,35f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-3.4f,-0.15f,-3.4f],left_rotation:[0f,0f,0f,1f],scale:[6.8f,0.3f,6.8f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~7 ~ {Tags:["c9_all","c9_beam","c9_b6"],Rotation:[300f,35f],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:pearlescent_froglight"},transformation:{translation:[-3.4f,-0.15f,-3.4f],left_rotation:[0f,0f,0f,1f],scale:[6.8f,0.3f,6.8f],right_rotation:[0f,0f,0f,1f]}}/summon area_effect_cloud ~ ~7 ~ {Tags:["c9_all","c9_orb"],Radius:0f,Duration:2000000,Rotation:[35f,-25f]}/scoreboard players add @e[tag=c9_core] c9_tick 1/execute if score @e[tag=c9_core,limit=1] c9_tick matches 1 as @e[tag=c9_beam] run data merge entity @s {start_interpolation:0,interpolation_duration:25,transformation:{translation:[-3.6f,-0.15f,-3.6f],left_rotation:[0f,0f,0f,1f],scale:[7.2f,0.3f,7.2f],right_rotation:[0f,0f,0f,1f]}}/execute if score @e[tag=c9_core,limit=1] c9_tick matches 50 as @e[tag=c9_beam] run data merge entity @s {start_interpolation:0,interpolation_duration:25,transformation:{translation:[-2.2f,-0.25f,-2.2f],left_rotation:[0f,0f,0f,1f],scale:[4.4f,0.5f,4.4f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_beam] at @s run tp @s ~ ~ ~ ~4 ~2/execute at @e[tag=c9_core] run particle dust{color:[0.0,1.0,1.0],scale:1.6} ~ ~ ~ 2.2 2.2 2.2 0 5 force/execute at @e[tag=c9_core] run particle dust{color:[1.0,0.0,1.0],scale:1.6} ~ ~ ~ 2.2 2.2 2.2 0 5 force/execute as @e[tag=c9_orb] at @s run tp @s ^ ^ ^0.95 ~4 ~-3/execute as @e[tag=c9_orb] at @s run particle firework ~ ~ ~ 0.08 0.08 0.08 0.04 10 force/execute as @e[tag=c9_orb] at @s run particle end_rod ~ ~ ~ 0.05 0.05 0.05 0.02 4 force/execute as @e[tag=c9_orb] at @s unless entity @e[tag=c9_core,distance=..3.3] run tp @s ~ ~ ~ ~135 ~-75/execute as @e[tag=c9_orb] at @s unless entity @e[tag=c9_core,distance=..4.2] at @e[tag=c9_core,limit=1] run tp @s ~ ~ ~ ~115 ~40/execute if score @e[tag=c9_core,limit=1] c9_tick matches 95 at @e[tag=c9_core] run summon firework_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",has_twinkle:1b,colors:[I;65535,16711935,16776960],fade_colors:[I;16777215]}]}}}}/execute if score @e[tag=c9_core,limit=1] c9_tick matches 95 as @e[tag=c9_beam] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-6.0f,-0.04f,-6.0f],left_rotation:[0f,0f,0f,1f],scale:[12.0f,0.08f,12.0f],right_rotation:[0f,0f,0f,1f]}}/execute if score @e[tag=c9_core,limit=1] c9_tick matches 115.. run scoreboard players set @e[tag=c9_core] c9_tick 0setup #4 Summons one of the six intersecting block_display planes at 60-degree yaw intervals with centered translation offsets so that rotating the entity spins the plane around its center.loop #3 Uses display transformation interpolation to smoothly expand and contract the size of the polyhedron planes over 25 ticks.loop #5 Rotates every laser plane by 4 degrees of yaw and 2 degrees of pitch each tick, creating a tumbling 3D polyhedron.loop #11 Checks when the moving energy orb reaches a distance of 3.3 blocks from the core and flips its rotation angles so it bounces back inside the cage.loop #13 At tick 95 of the cycle, summons an instant firework burst matching the cyan and magenta colors of the laser cage while the cage flashes wide open.


Recorded on our own test server: 54 frames at about 8.9 fps. Our image check saw: Intersecting translucent block planes with glowing cyan and magenta outlines rotate and scale in mid-air while colorful dust and firework particles burst around and inside them.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To turn this into a player-activated spell or trap, replace @e[tag=c9_core] with an armor stand or marker summoned 3 blocks ahead of a target entity using /execute at @p run summon marker ^ ^2 ^8 {Tags:["c9_all","c9_core"]}, and teleport any trapped mob within 3.5 blocks of the core back toward the center each tick.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_tickEach block_display entity has teleport_duration set to 2 and interpolation_duration set to 20, which tells the Minecraft client to smoothly blend rotation and scale changes between server ticks.
Yes. Change the block_state Name to another bright block like glowstone or shroomlight, and adjust the decimal integer in glow_color_override along with the RGB values in the dust particles.
▶Tesseract Hypercube Laser UnfoldingLight Beams & LasersExpert20 cmds
▶Kinetic Rube Goldberg Light-Orb Marble RunLight Beams & LasersExpert24 cmds
▶Laser Loom Weaving Tapestry Of LightLight Beams & LasersExpert24 cmds
▶Prismatic Crookes Radiometer Solar Spin MillLight Beams & LasersMedium24 cmds
▶Spirograph Laser Pendulum RigLight Beams & LasersExpert21 cmds
▶Chromatic Jacob's Ladder Rising Arc TowersLight Beams & LasersMedium24 cmds