Summon a rotating 4D Klein bottle sculpture made of glowing cyan and magenta glass rings, complete with an animated figure-eight light loop and fireworks.
Neon GlowTechnologyMysticSpaceCyanPinkPurpleDecorationServer LobbyLearningBlock displaysFireworksSoundsRotation math21+ commands
The Floating Klein Bottle Infinite Light Loop constructs a recognizable non-orientable topological vessel above an obsidian pedestal using 54 choreographed block_display entities. Unlike standard blocks, these displays use lowercase Tags and staggered yaw rotations so the cyan outer bulb, sea-lantern core, and magenta neck sweep smoothly around a shared central axis.
As the glass vessel turns, a pair of orbital plasma emitters trace a continuous figure-eight infinity curve from the base up through the self-intersecting neck, punctuated by multi-color firework bursts at the core.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/scoreboard players set #build c9_t 0/summon block_display ~ ~0.5 ~ {Tags:["c9_kb","c9_ped"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft: crying_obsidian"},transformation:{translation:[-1.8f,-0.5f,-1.8f],scale:[3.6f,0.6f,3.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~1.1 ~ {Tags:["c9_kb","c9_ped"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-1.1f,-0.2f,-1.1f],scale:[2.2f,0.3f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon marker ~ ~5.0 ~ {Tags:["c9_kb","c9_orb1"]}/summon marker ~ ~8.2 ~ {Tags:["c9_kb","c9_orb2"]}/playsound minecraft:block.beacon.activate ambient @a ~ ~6 ~ 2.0 1.2/scoreboard players add #tick c9_t 1/execute if score #build c9_t matches ..17 run scoreboard players add #build c9_t 1/execute if score #build c9_t matches 1..12 run summon block_display ~ ~4.5 ~ {Tags:["c9_kb","c9_rot"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{translation:[-2.2f,-1.8f,-0.35f],scale:[4.4f,3.6f,0.7f],left_rotation:[0f,0f,0.195f,0.981f],right_rotation:[0f,0f,0f,1f]}}/execute if score #build c9_t matches 1..12 run summon block_display ~ ~6.8 ~ {Tags:["c9_kb","c9_rot"],Glowing:1b,glow_color_override:11272191,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-1.1f,-1.3f,-0.3f],scale:[2.2f,2.6f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #build c9_t matches 1..12 run summon block_display ~ ~9.2 ~ {Tags:["c9_kb","c9_rot"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},block_state:{Name:"minecraft:magenta_stained_glass"},transformation:{translation:[-1.6f,-1.0f,-0.25f],scale:[3.2f,2.0f,0.5f],left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f]}}/execute if score #build c9_t matches 1..12 as @e[tag=c9_rot] at @s run tp @s ~ ~ ~ ~15 ~/execute if score #build c9_t matches 13..18 run summon block_display ~ ~6.8 ~ {Tags:["c9_kb","c9_loop"],Glowing:1b,glow_color_override:16733695,brightness:{sky:15,block:15},block_state:{Name:"minecraft:magenta_stained_glass"},transformation:{translation:[1.3f,-2.7f,-0.35f],scale:[0.85f,5.4f,0.7f],left_rotation:[0f,0f,0.131f,0.991f],right_rotation:[0f,0f,0f,1f]}}/execute if score #build c9_t matches 13..18 run summon block_display ~ ~4.5 ~ {Tags:["c9_kb","c9_loop"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-0.6f,-2.2f,-0.6f],scale:[1.2f,4.4f,1.2f],left_rotation:[0f,0f,-0.174f,0.985f],right_rotation:[0f,0f,0f,1f]}}/execute if score #build c9_t matches 13..18 as @e[tag=c9_loop] at @s run tp @s ~ ~ ~ ~60 ~/execute as @e[tag=c9_kb,tag=!c9_ped] at @s run tp @s ~ ~ ~ ~2.5 ~/execute as @e[tag=c9_orb1] at @s run tp @s ~ ~ ~ ~14 ~10/execute at @e[tag=c9_orb1] positioned ^ ^ ^2.8 run particle minecraft:dust_color_transition{from_color:[0.0,1.0,1.0],to_color:[1.0,0.0,1.0],scale:2.0} ~ ~ ~ 0.15 0.15 0.15 0 6 force/execute as @e[tag=c9_orb2] at @s run tp @s ~ ~ ~ ~-16 ~-12/execute at @e[tag=c9_orb2] positioned ^ ^ ^2.2 run particle minecraft:end_rod ~ ~ ~ 0.12 0.12 0.12 0.03 5 force/execute if score #tick c9_t matches 90.. run scoreboard players set #tick c9_t 0/execute if score #tick c9_t matches 85 run summon firework_rocket ~ ~6.8 ~ {Life:0,LifeTime:0,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",has_twinkle:1b,has_trail:1b,colors:[I;65535,16711935,5636095],fade_colors:[I;16777215]}]}}}}loop #3 During the first 12 ticks, three radial layers of block_display entities are summoned with capitalised Tags:[...] so entity selectors can target them reliably, forming the wide cyan base, sea-lantern waist, and curved magenta top.loop #6 Every tick during the 12-tick construction phase, all existing c9_rot displays rotate by 15 degrees in yaw, spreading the 12 ribs evenly across a full 180-degree revolution.loop #7 Ticks 13 to 18 add six outer magenta handle struts offset by +1.3 blocks on X and an inner tilted amethyst neck tube passing through the bottle wall to complete the Klein bottle self-intersection.loop #10 Rotates all bottle display pieces and particle orbit markers smoothly at 2.5 degrees per tick around the stage centre.loop #12 Projects cyan-to-magenta transition dust particles 2.8 blocks out along the rotating marker's local look vector to trace the lower light loop.


Recorded on our own test server: 56 frames at about 9.2 fps. Our image check saw: A glowing magenta and cyan glass bottle-like structure built from angled display entities rotates above a sea lantern base while surrounded by colorful particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To bind the Klein Bottle light loop above a player's head or a magic staff pedestal, replace the fixed coordinate origin in the loop with /execute at @p positioned ~ ~2 ~ run ... after building the displays, and teleport the c9_kb entities relative to the player each tick.
/kill @e[tag=c9_kb]/scoreboard objectives remove c9_tIn Minecraft Java Edition, the entity NBT tag list is case-sensitive and must be written as Tags with a capital T. Using lowercase tags prevented @e[tag=...] selectors from rotating the ribs into a 3D bottle.
No. The #build scoreboard counter stops at 18 ticks, capping the sculpture at exactly 50 block_display entities and 2 markers.
▶Superfluid Helium Fountain Zero-Gravity Light LoopNeon GlowHard24 cmds
▶Harmonic Cymatics Sand-Plate Particle WeaverNeon GlowExpert24 cmds
▶Luminous Guillotine Pendulum Ribbon SlicerNeon GlowHard24 cmds
▶Quantum Newton's Apple Gravity Inversion TreeNeon GlowHard22 cmds
▶Aurora Ribbon Calligrapher Brush Sky StrokeNeon GlowMedium24 cmds
▶Kaleidoscope Starburst Sky MirrorNeon GlowExpert26 cmds