Perpetual Bouncing Micro-Cubes

Two dozen glowing miniature 3D cubes erupt from a floating sea lantern core and bounce endlessly across the grass with cyan dust bursts.

Java EditionHolograms & Display EntitiesMedium26 commandsTested on a real 26.2 & 26.3 server
Glowing colorful miniature cubes bounce around a floating sea lantern on a grassy platform at night. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksTechnologyCelebrationRainbowCyanDecorationServer LobbyLearningBlock displaysArmor standsSmooth animation (interpolation)Riding & passengersSummoned mobsRotation math21+ commands

Watch two dozen glowing miniature 3D cubes erupt from a floating sea lantern core and bounce endlessly around the arena. Driven by custom scoreboard gravity and directional ricochet logic, all 24 colourful micro-cubes weave through the air at staggered heights, snapping cleanly off the grass with bright cyan dust bursts.

Because everything uses lightweight display entities and pure scoreboard math instead of mob physics, the bouncing cubes maintain smooth trajectories and crisp lighting without causing server lag.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_y dummy
  2. /scoreboard objectives add c9_vy dummy
  3. /scoreboard players set #v c9_vy 0
  4. /summon minecraft:block_display ~ ~2.2 ~ {Tags:["c9_core"],block_state:{Name:"minecraft:sea_lantern"},Glowing:1b,brightness:{sky:15,block:15},transformation:[0.9f,0f,0f,-0.45f,0f,0.9f,0f,-0.45f,0f,0f,0.9f,-0.45f,0f,0f,0f,1f]}
  5. /summon minecraft:armor_stand ~ ~2.2 ~ {Tags:["c9_m"],Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[10f,0f],block_state:{Name:"minecraft:red_concrete"},Glowing:1b,glow_color_override:16724787,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[100f,0f],block_state:{Name:"minecraft:orange_concrete"},Glowing:1b,glow_color_override:16750848,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[190f,0f],block_state:{Name:"minecraft:yellow_concrete"},Glowing:1b,glow_color_override:16776960,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[280f,0f],block_state:{Name:"minecraft:lime_concrete"},Glowing:1b,glow_color_override:5635925,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]}]}
  6. /summon minecraft:armor_stand ~ ~2.2 ~ {Tags:["c9_m"],Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[25f,0f],block_state:{Name:"minecraft:green_concrete"},Glowing:1b,glow_color_override:5635925,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[115f,0f],block_state:{Name:"minecraft:cyan_concrete"},Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[205f,0f],block_state:{Name:"minecraft:light_blue_concrete"},Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[295f,0f],block_state:{Name:"minecraft:blue_concrete"},Glowing:1b,glow_color_override:5592575,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]}]}
  7. /summon minecraft:armor_stand ~ ~2.2 ~ {Tags:["c9_m"],Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[40f,0f],block_state:{Name:"minecraft:purple_concrete"},Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[130f,0f],block_state:{Name:"minecraft:magenta_concrete"},Glowing:1b,glow_color_override:16733695,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[220f,0f],block_state:{Name:"minecraft:pink_concrete"},Glowing:1b,glow_color_override:16755370,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[310f,0f],block_state:{Name:"minecraft:white_concrete"},Glowing:1b,glow_color_override:16777215,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]}]}
  8. /summon minecraft:armor_stand ~ ~2.2 ~ {Tags:["c9_m"],Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[55f,0f],block_state:{Name:"minecraft:gold_block"},Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[145f,0f],block_state:{Name:"minecraft:diamond_block"},Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[235f,0f],block_state:{Name:"minecraft:emerald_block"},Glowing:1b,glow_color_override:5635925,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[325f,0f],block_state:{Name:"minecraft:amethyst_block"},Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]}]}
  9. /summon minecraft:armor_stand ~ ~2.2 ~ {Tags:["c9_m"],Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[70f,0f],block_state:{Name:"minecraft:glowstone"},Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[160f,0f],block_state:{Name:"minecraft:redstone_block"},Glowing:1b,glow_color_override:16724787,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[250f,0f],block_state:{Name:"minecraft:lapis_block"},Glowing:1b,glow_color_override:5592575,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[340f,0f],block_state:{Name:"minecraft:copper_block"},Glowing:1b,glow_color_override:16750848,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]}]}
  10. /summon minecraft:armor_stand ~ ~2.2 ~ {Tags:["c9_m"],Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[85f,0f],block_state:{Name:"minecraft:prismarine"},Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[175f,0f],block_state:{Name:"minecraft:sponge"},Glowing:1b,glow_color_override:16776960,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[265f,0f],block_state:{Name:"minecraft:melon"},Glowing:1b,glow_color_override:5635925,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_cube"],Rotation:[355f,0f],block_state:{Name:"minecraft:slime_block"},Glowing:1b,glow_color_override:5635925,brightness:{sky:15,block:15},teleport_duration:2,transformation:[0.55f,0f,0f,-0.275f,0f,0.55f,0f,0f,0f,0f,0.55f,-0.275f,0f,0f,0f,1f]}]}

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

  1. /execute if entity @e[tag=c9_m] run kill @e[tag=c9_m]
  2. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~6 ~
  3. /execute at @e[tag=c9_core] run particle minecraft:end_rod ~ ~0.4 ~ 0.3 0.3 0.3 0.03 1
  4. /execute as @e[tag=c9_cube] unless score @s c9_y matches -999999..999999 run scoreboard players set @s c9_y 220
  5. /execute as @e[tag=c9_cube] unless score @s c9_vy matches -999999..999999 store result score @s c9_vy run scoreboard players add #v c9_vy 2
  6. /scoreboard players remove @e[tag=c9_cube] c9_vy 3
  7. /execute as @e[tag=c9_cube] run scoreboard players operation @s c9_y += @s c9_vy
  8. /execute as @e[tag=c9_cube,scores={c9_y=..5}] at @s run particle minecraft:dust{color:[0.2,0.95,1.0],scale:1.5} ~ ~0.1 ~ 0.25 0.05 0.25 0 10
  9. /execute as @e[tag=c9_cube,scores={c9_y=..5}] run scoreboard players set @s c9_y 5
  10. /execute as @e[tag=c9_cube,scores={c9_y=5}] run scoreboard players set @s c9_vy 42
  11. /execute as @e[tag=c9_cube] at @s run tp @s ^ ^ ^0.22
  12. /execute as @e[tag=c9_cube] store result entity @s transformation[7] float 0.01 run scoreboard players get @s c9_y
  13. /execute positioned ~-25 ~-5 ~-25 as @e[tag=c9_cube,dx=16,dy=20,dz=50] at @s run tp @s ~0.3 ~ ~ ~135 ~
  14. /execute positioned ~9 ~-5 ~-25 as @e[tag=c9_cube,dx=16,dy=20,dz=50] at @s run tp @s ~-0.3 ~ ~ ~135 ~
  15. /execute positioned ~-25 ~-5 ~-25 as @e[tag=c9_cube,dx=50,dy=20,dz=16] at @s run tp @s ~ ~ ~0.3 ~135 ~
  16. /execute positioned ~-25 ~-5 ~9 as @e[tag=c9_cube,dx=50,dy=20,dz=16] at @s run tp @s ~ ~ ~-0.3 ~135 ~

How it works

Frames from the test run

Perpetual Bouncing Micro-Cubes - frame 1Perpetual Bouncing Micro-Cubes - frame 2Perpetual Bouncing Micro-Cubes - frame 3

Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: Around two dozen glowing miniature colored blocks bounce at different heights around a central floating sea lantern with blue dust particles on the grass.

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. Stand at the centre of a flat open area with at least a 20x20 clear floor.
  2. Run all 10 Setup commands once in chat or from impulse command blocks to create the scoreboards, the floating sea lantern core, and the 24 micro-cubes.
  3. Place 16 command blocks in a chain: set the first to Repeating, Unconditional, Always Active, and the remaining 15 to Chain, Unconditional, Always Active.
  4. Paste the 16 Loop commands in order into the command blocks. Ensure the repeating block runs positioned at the centre of your arena (or place the chain directly below the centre).
  5. Watch the 24 glowing cubes burst outward from the core and bounce continuously across the floor.

Use it with real players

To make the cubes bounce around a moving player instead of a fixed stage centre, wrap the four boundary ricochet commands in /execute at @p positioned ~-25 ~-5 ~-25 ... so the invisible containment box follows you wherever you walk.

Remove it again 5 commands

  1. /kill @e[tag=c9_core]
  2. /kill @e[tag=c9_cube]
  3. /kill @e[tag=c9_m]
  4. /scoreboard objectives remove c9_y
  5. /scoreboard objectives remove c9_vy

FAQ

Why store the vertical height in transformation[7] instead of Pos[1]?

Because horizontal movement uses /tp @s ^ ^ ^0.22 every tick, which resets the entity's Y coordinate if executed at the stage height. Putting vertical bounce offset into transformation[7] keeps horizontal teleportation and vertical gravity completely independent.

Can I change how high the micro-cubes bounce?

Yes! Increase the rebound score in the loop command that sets c9_vy to 42 (for example, set it to 60 for higher arcs) or reduce the gravity subtraction from 3 to 2 for floatier bounces.

Commands used

/execute/kill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides