A giant floating golden abacus flicks glowing jade and ruby beads across laser rods at blinding speeds before erupting into a colorful firework nova.
Time & Space MagicSpaceMysticHoly & LightGoldGreenRedDecorationCinematicMap MakingBlock displaysItem displaysFireworksSmooth animation (interpolation)Sounds21+ commands
The Celestial Abacus Karma Calculator summons a massive, floating golden frame suspended in mid-air above a sacred pedestal. Glowing jade and ruby spheres glide rapidly back and forth across three horizontal laser rods, clicking with crystalline chimes as the cosmic machine tallies your spiritual balance.
Using smooth display entity interpolation and scoreboard-driven phases, the beads accelerate into a blur before freezing to lock in the final judgment. Moments later, the center of the abacus erupts into a vibrant firework nova of emerald, gold, and crimson sparks before resetting for the next cycle.
/scoreboard objectives add c9_t dummy/scoreboard players set #t c9_t 0/summon marker ~ ~5 ~ {Tags:["c9_abacus","c9_root"]}/summon block_display ~ ~5 ~ {Tags:["c9_abacus"],Glowing:1b,glow_color_override:16761095,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-6.0f,-4.0f,-0.4f],scale:[12.0f,0.8f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~5 ~ {Tags:["c9_abacus"],Glowing:1b,glow_color_override:16761095,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-6.0f,3.2f,-0.4f],scale:[12.0f,0.8f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~5 ~ {Tags:["c9_abacus"],Glowing:1b,glow_color_override:16761095,block_state:{Name:"minecraft:gilded_blackstone"},transformation:{translation:[-6.0f,-3.2f,-0.5f],scale:[1.0f,6.4f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~5 ~ {Tags:["c9_abacus"],Glowing:1b,glow_color_override:16761095,block_state:{Name:"minecraft:gilded_blackstone"},transformation:{translation:[5.0f,-3.2f,-0.5f],scale:[1.0f,6.4f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~7.2 ~ {Tags:["c9_abacus","c9_bead","c9_jade","c9_g1"],Glowing:1b,glow_color_override:589568,item:{id:"minecraft:emerald_block",count:1},transformation:{translation:[-3.8f,0f,0f],scale:[1.1f,1.1f,1.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~5.0 ~ {Tags:["c9_abacus","c9_bead","c9_ruby","c9_g2"],Glowing:1b,glow_color_override:16718392,item:{id:"minecraft:redstone_block",count:1},transformation:{translation:[3.8f,0f,0f],scale:[1.1f,1.1f,1.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon item_display ~ ~2.8 ~ {Tags:["c9_abacus","c9_bead","c9_jade","c9_g3"],Glowing:1b,glow_color_override:589568,item:{id:"minecraft:emerald_block",count:1},transformation:{translation:[-3.8f,0f,0f],scale:[1.1f,1.1f,1.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add #t c9_t 1/execute if score #t c9_t matches 100.. run scoreboard players set #t c9_t 0/particle dust{color:[1.0,0.85,0.2],scale:1.2} ~ ~7.2 ~ 2.4 0.02 0.02 0 12 force/particle dust{color:[1.0,0.85,0.2],scale:1.2} ~ ~5.0 ~ 2.4 0.02 0.02 0 12 force/particle dust{color:[1.0,0.85,0.2],scale:1.2} ~ ~2.8 ~ 2.4 0.02 0.02 0 12 force/execute at @e[tag=c9_jade] run particle dust{color:[0.1,1.0,0.4],scale:1.5} ~ ~ ~ 0.6 0.3 0.3 0 3 force/execute at @e[tag=c9_ruby] run particle dust{color:[1.0,0.1,0.3],scale:1.5} ~ ~ ~ 0.6 0.3 0.3 0 3 force/execute if score #t c9_t matches 5 at @e[tag=c9_root] run playsound minecraft:block.amethyst_block.chime master @a ~ ~ ~ 2 1.2/execute if score #t c9_t matches 5 as @e[tag=c9_g1] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{translation:[3.6f,0f,0f],scale:[1.1f,1.1f,1.1f],left_rotation:[0f,0.707f,0f,0.707f],right_rotation:[0f,0f,0f,1f]}}/execute if score #t c9_t matches 15 as @e[tag=c9_g2] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{translation:[-3.6f,0f,0f],scale:[1.1f,1.1f,1.1f],left_rotation:[0f,0.707f,0f,0.707f],right_rotation:[0f,0f,0f,1f]}}/execute if score #t c9_t matches 25 as @e[tag=c9_g3] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{translation:[3.6f,0f,0f],scale:[1.1f,1.1f,1.1f],left_rotation:[0f,0.707f,0f,0.707f],right_rotation:[0f,0f,0f,1f]}}/execute if score #t c9_t matches 40 as @e[tag=c9_bead] run data merge entity @s {start_interpolation:0,interpolation_duration:8,transformation:{translation:[0.0f,0f,0f],scale:[1.4f,1.4f,1.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #t c9_t matches 65 at @e[tag=c9_root] 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;589568,16761095,16718392],fade_colors:[I;16777215]}]}}}}/execute if score #t c9_t matches 85 as @e[tag=c9_bead] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{translation:[-3.6f,0f,0f],scale:[1.1f,1.1f,1.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}setup #4 Summons the bottom beam of the golden abacus frame using a <code>block_display</code> stretched 12 blocks wide with a golden glow override.setup #8 Summons the top jade bead using an <code>item_display</code> holding an emerald block, positioned on the left side of the top laser rod.loop #3 Draws the top horizontal laser rod across the frame every tick using golden <code>dust</code> particles spread along the X axis.loop #9 At tick 5, uses <code>interpolation_duration:10</code> to smoothly slide and spin the top jade bead across the laser rod from left to right.loop #12 At tick 40, snaps all jade and ruby beads to the exact center of the abacus and scales them up to lock in the karma calculation.loop #13 At tick 65, detonates an instant <code>firework_rocket</code> with <code>LifeTime:0</code> at the center of the abacus, bursting into jade, gold, and ruby colors.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A floating golden-outlined frame with three horizontal particle trails across which glowing green and red blocks slide back and forth.
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 abacus judge a specific player when they approach, replace the automatic timer reset in the second loop command with a proximity detector: /execute if entity @a[distance=..8] if score #t c9_t matches 100.. run scoreboard players set #t c9_t 0. The abacus will remain dormant until a player walks within 8 blocks of the pedestal.
/kill @e[tag=c9_abacus]/scoreboard objectives remove c9_tThey are item_display entities that use Minecraft's built-in transformation interpolation. Changing the translation vector along with start_interpolation and interpolation_duration makes the client animate the movement smoothly.
Yes! Edit the colors integer array inside the firework_rocket command at loop step 13 to use any decimal RGB values you like.
▶Celestial Seamstress Constellation StitchingTime & Space MagicExpert24 cmds
▶Shattered Porcelain Kintsugi RepairTime & Space MagicExpert24 cmds
▶Astral Telescope Starlight ExtractionTime & Space MagicMedium24 cmds
▶Celestial Astrolabe Gyroscopic AlignmentTime & Space MagicExpert24 cmds
▶Celestial Sextant Horizon FoldTime & Space MagicExpert22 cmds
▶Gravitational Anomaly SphereTime & Space MagicHard24 cmds