Spreading Glitch Infection

Watch a glowing glitch monolith infect the ground as self-replicating markers crawl outward, mutating the grass into a shifting neon corruption.

Java EditionComplex Contraptions & CinematicsMedium23 commandsTested on a real 26.2 & 26.3 server
A glowing monolith spreads a dark obsidian infection covered in neon magenta spires across the grass. Download the GIF Video & GIF © www.9minecraft.net

SimulationsTechnologyDarkMysticCyanPinkBlackMap MakingCinematicAdventure MapBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Glowing outlines21+ commands

A floating glitch monolith hovers above the ground, leaking unstable digital energy into the terrain below. Invisible crawling markers branch out in random directions across the floor, leaving behind a rapidly mutating mosaic of obsidian, blackstone, and neon glass along with rising corruption spires.

This creation demonstrates how to build a self-limiting cellular automaton in vanilla Minecraft using marker entities, randomized spreading, and animated block displays that jitter in mid-air.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard objectives add c9_rng dummy
  3. /setblock ~ ~-1 ~ crying_obsidian
  4. /summon block_display ~ ~1.5 ~ {Tags:["c9_all","c9_core"],Glowing:1b,glow_color_override:16711935,block_state:{Name:"minecraft:crying_obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f]}}
  5. /summon block_display ~ ~1.5 ~ {Tags:["c9_all","c9_ring"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.8f,-0.8f,-0.8f],scale:[1.6f,1.6f,1.6f]}}
  6. /summon marker ~2 ~ ~ {Tags:["c9_all","c9_seed"]}
  7. /summon marker ~-2 ~ ~ {Tags:["c9_all","c9_seed"]}
  8. /summon marker ~ ~ ~2 {Tags:["c9_all","c9_seed"]}
  9. /summon marker ~ ~ ~-2 {Tags:["c9_all","c9_seed"]}

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

  1. /scoreboard players add #tick c9_t 1
  2. /execute as @e[tag=c9_all] run scoreboard players add @s c9_t 1
  3. /execute as @e[tag=c9_all] run scoreboard players add @s c9_rng 37
  4. /scoreboard players add #tick c9_rng 73
  5. /execute as @e[tag=c9_all] run scoreboard players operation @s c9_rng += #tick c9_rng
  6. /scoreboard players set #mod5 c9_rng 5
  7. /execute as @e[tag=c9_all] run scoreboard players operation @s c9_rng %= #mod5 c9_rng
  8. /execute as @e[tag=c9_core,scores={c9_t=8..}] run data merge entity @s {scoreboard_reset:1,start_interpolation:0,interpolation_duration:6,transformation:{left_rotation:[0.38f,0.45f,0.19f,0.78f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,-0.8f,-0.5f],scale:[1.0f,1.6f,1.0f]}}
  9. /execute as @e[tag=c9_core,scores={c9_t=16..}] run data merge entity @s {start_interpolation:0,interpolation_duration:6,transformation:{left_rotation:[-0.25f,0.65f,-0.25f,0.67f],right_rotation:[0f,0f,0f,1f],translation:[-0.75f,-0.4f,-0.75f],scale:[1.5f,0.8f,1.5f]}}
  10. /execute as @e[tag=c9_core,scores={c9_t=16..}] run scoreboard players set @s c9_t 0
  11. /execute at @e[tag=c9_core] run particle dust{color:[1.0,0.0,0.8],scale:1.6} ~ ~ ~ 0.9 0.9 0.9 0 3
  12. /execute as @e[tag=c9_seed,scores={c9_t=6..}] at @s run spreadplayers ~ ~ 1 2 false @s
  13. /execute as @e[tag=c9_seed,scores={c9_t=6..}] at @s unless entity @e[tag=c9_node,distance=..1.4] if entity @e[tag=c9_core,distance=..15] run summon block_display ~ ~-0.8 ~ {Tags:["c9_all","c9_node"],Glowing:1b,glow_color_override:16711935,block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.2f,0f,-0.2f],scale:[0.4f,1.4f,0.4f]}}
  14. /execute as @e[tag=c9_seed,scores={c9_t=6..}] at @s if entity @e[tag=c9_core,distance=..15] run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 crying_obsidian replace grass_block

How it works

Frames from the test run

Spreading Glitch Infection - frame 1Spreading Glitch Infection - frame 2Spreading Glitch Infection - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A cyan-outlined floating monolith sits above a large patch of crying obsidian and dark blocks studded with glowing magenta corruption spires.

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. Create a flat grass area at least 35x35 blocks wide so the infection has room to spread.
  2. Stand in the exact center of the area and run the 9 setup commands in chat one by one.
  3. Place a column or line of 14 Repeating Command Blocks nearby (set to Always Active).
  4. Paste each of the 14 loop commands into its own repeating command block.
  5. If your command blocks are not at the center of the stage, wrap the loop commands or place the central core where you want the infection to stay anchored.
  6. Watch the four invisible seed markers hop across the terrain, corrupting the grass and sprouting glowing magenta crystals.

Use it with real players

To make the glitch infection sprout around a player instead of a fixed stage center, replace @e[tag=c9_core] in the distance checks with @p, and summon the c9_seed markers at the player's location when they drop a specific item like a Chorus Fruit.

Remove it again 4 commands

  1. /kill @e[tag=c9_all]
  2. /fill ~-17 ~-1 ~-17 ~17 ~-1 ~17 grass_block replace crying_obsidian
  3. /scoreboard objectives remove c9_t
  4. /scoreboard objectives remove c9_rng

FAQ

Will the glitch infection spread forever and lag my world?

No. The seed markers check that they are within 15 blocks of the central core before placing blocks or summoning spires, and they never summon new spires within 1.4 blocks of an existing one.

Can I change the blocks that the infection places on the floor?

Yes. In the final loop command, change crying_obsidian to sculk, blackstone, or magenta_concrete to customize the look of the corruption.

Commands used

/data/execute/fill/particle/scoreboard/setblock/spreadplayers/summon

Similar creations

Join 9Minecraft News & Guides