Antikythera Mechanism Eclipse Hazard Predictor

Build a giant rotating copper and gold astronomical dial on your arena floor that predicts lunar eclipses and calls down meteor hazards when aligned.

Java EditionMini-games & UtilitiesExpert25 commandsTested on a real 26.2 & 26.3 server
A fiery pillar erupts from a glowing copper and gold clockwork dial embedded in the ground. Download the GIF Video & GIF © www.9minecraft.net

Arenas & Mini-gamesSpaceFireTechnologyGoldOrangeCyanBoss FightMini-gameMap MakingParticlesBlock displaysItem displaysArmor standsScoreboard timersExecute chainsBlock building (fill/setblock/clone)Status effectsGlowing outlinesRotation math21+ commands

The Antikythera Mechanism Eclipse Hazard Predictor embeds a monumental bronze and gold dial directly into your floor. Concentric copper and gold gear-hands rotate at varying orbital speeds around a glowing solar core while an orbiting moon sphere traces the outer perimeter.

As the celestial pointers draw near alignment, ominous warning particles rise from the mechanism. When the eclipse peaks, a gravity anomaly lifts nearby targets into the air while burning magma meteors rain down around the perimeter.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 deepslate_tiles
  3. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 exposed_cut_copper
  4. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 weathered_copper
  5. /setblock ~ ~-1 ~ ochre_froglight
  6. /summon block_display ~ ~0.05 ~ {Tags:["c9_all","c9_core","c9_hand1"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,0f,-0.25f],scale:[0.5f,0.3f,5.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /summon block_display ~ ~0.15 ~ {Tags:["c9_all","c9_hand2"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:oxidized_cut_copper"},transformation:{translation:[-0.2f,0f,-0.2f],scale:[0.4f,0.3f,3.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /summon item_display ~ ~0.8 ~ {Tags:["c9_all","c9_moon1"],Glowing:1b,glow_color_override:11184895,item:{id:"minecraft:end_crystal"},transformation:{translation:[0f,0f,4.5f],scale:[1.0f,1.0f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /summon armor_stand ~2.5 ~ ~2.5 {Tags:["c9_all","c9_target"],CustomName:{"text":"Test Subject","color":"aqua"},CustomNameVisible:1b,Glowing:1b,equipment:{feet:{id:"minecraft:iron_boots",count:1},legs:{id:"minecraft:iron_leggings",count:1},chest:{id:"minecraft:iron_chestplate",count:1},head:{id:"minecraft:turtle_helmet",count:1}}}
  10. /scoreboard players set @e[tag=c9_core] c9_timer 0

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

  1. /scoreboard players add @e[tag=c9_core] c9_timer 1
  2. /execute as @e[tag=c9_core,scores={c9_timer=120..}] run scoreboard players set @s c9_timer 1
  3. /execute as @e[tag=c9_hand1] at @s run tp @s ~ ~ ~ ~3 ~
  4. /execute as @e[tag=c9_hand2] at @s run tp @s ~ ~ ~ ~-6 ~
  5. /execute as @e[tag=c9_moon1] at @s run tp @s ~ ~ ~ ~6 ~
  6. /particle dust{color:[0.2,0.9,0.7],scale:1.5} ~ ~0.3 ~ 3.5 0.1 3.5 0 8
  7. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 40..65 run particle trial_spawner_detection_ominous ~ ~0.4 ~ 3 0.5 3 0.05 15
  8. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 66..115 run particle portal ~ ~1.5 ~ 2.5 1.5 2.5 0.8 40
  9. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 66..115 run particle reverse_portal ~ ~0.5 ~ 0.4 2.5 0.4 0.15 15
  10. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 70 run effect give @e[tag=c9_target] levitation 2 3 true
  11. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 75..100 at @e[tag=c9_moon1] run summon block_display ~ ~12 ~ {Tags:["c9_all","c9_meteor"],Glowing:1b,glow_color_override:16724736,block_state:{Name:"minecraft:magma_block"},transformation:{translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  12. /execute as @e[tag=c9_meteor] at @s run tp @s ~ ~-0.9 ~ ~15 ~15
  13. /execute as @e[tag=c9_meteor] at @s run particle lava ~ ~ ~ 0.2 0.2 0.2 0.1 2
  14. /execute as @e[tag=c9_meteor] at @s unless block ~ ~-0.6 ~ air run particle explosion ~ ~0.5 ~ 0.2 0.2 0.2 0.1 1
  15. /execute as @e[tag=c9_meteor] at @s unless block ~ ~-0.6 ~ air run kill @s

How it works

Frames from the test run

Antikythera Mechanism Eclipse Hazard Predictor - frame 1Antikythera Mechanism Eclipse Hazard Predictor - frame 2Antikythera Mechanism Eclipse Hazard Predictor - frame 3

Recorded on our own test server: 58 frames at about 9.5 fps. Our image check saw: A copper and deepslate dial embedded in the ground has rotating gold and oxidized copper hands, an orbiting sphere, warning smoke particles, and a pillar of fire erupting from the center.

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 center of a flat open area where you want the 13x13 bronze dial embedded into the ground.
  2. Run each of the 10 setup commands once in chat or paste them into impulse command blocks powered from the center.
  3. Place 15 repeating command blocks (set to Always Active) or a single repeating block chained into 14 chain command blocks.
  4. Paste the loop commands in order into the repeating chain, making sure they execute positioned at the center of the dial.
  5. Watch the copper and gold hands spin until the eclipse timer hits alignment, triggering the levitation wave and magma meteor shower.

Use it with real players

To make the eclipse hazard affect real players instead of the test armor stand, change @e[tag=c9_target] in loop command 10 to @a[distance=..7], and add a damage command when meteors strike the floor: /execute as @e[tag=c9_meteor] at @s unless block ~ ~-0.6 ~ air run damage @a[distance=..2.5] 6 minecraft:magic.

Remove it again 3 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 grass_block

FAQ

Why does the moon orbit the outside of the dial while the entity stays in the middle?

The item_display entity sits right at the center of the dial, but its transformation translation is set to 4.5 blocks along the Z axis. Rotating the entity in place swings the crystal in a wide circle.

Can I change how often the eclipse hazard happens?

Yes. In loop command 2, increase the reset threshold from 120 (6 seconds) to a higher tick count like 400 (20 seconds) so players have more time between eclipse warnings.

Commands used

/effect/execute/fill/kill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides