An autonomous mechanical structure duplicates itself across the terrain while computing a live Rule 90 black-and-white cellular automaton on its top surface.
SimulationsTechnologyIndustrialWhiteBlackCyanLearningCinematicBlock displaysBlock building (fill/setblock/clone)21+ commands
Watch an autonomous machine replicate itself across the flatland step by step while computing a live cellular automaton on its roof. A scanning laser beam sweeps across the growing structure, cloning mechanical bays forward and printing a crisp black-and-white Sierpinski fractal pattern using Rule 90 logic.
Once the machine stretches across the stage, a bright golden reset wave sweeps through the structure, clearing the memory grid so the self-cloning cycle can begin again.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/scoreboard players set #row c9_t 0/fill ~-5 ~ ~-13 ~5 ~2 ~13 air/fill ~-4 ~ ~-12 ~4 ~ ~-12 iron_block/fill ~-4 ~ ~-13 ~4 ~1 ~-13 polished_deepslate/fill ~-4 ~1 ~-12 ~4 ~1 ~-12 white_concrete/setblock ~ ~1 ~-12 black_concrete/summon marker ~ ~1 ~-12 {Tags:["c9_m","c9_scanner"]}/summon block_display ~-4.5 ~1.1 ~-12.5 {Tags:["c9_m","c9_beam"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[9f,0.25f,0.4f],translation:[0f,0f,0f]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 12.. run scoreboard players set #tick c9_t 0/execute if score #tick c9_t matches 0 if score #row c9_t matches ..22 run scoreboard players add #row c9_t 1/execute if score #tick c9_t matches 0 if score #row c9_t matches ..22 at @e[tag=c9_scanner] run clone ~-4 ~-1 ~ ~4 ~-1 ~ ~-4 ~-1 ~1/execute if score #tick c9_t matches 0 if score #row c9_t matches ..22 as @e[tag=c9_scanner] at @s run tp @s ~ ~ ~1/execute if score #tick c9_t matches 0 if score #row c9_t matches ..22 at @e[tag=c9_scanner] run setblock ~-4 ~-1 ~ sea_lantern/execute if score #tick c9_t matches 0 if score #row c9_t matches ..22 at @e[tag=c9_scanner] run setblock ~4 ~-1 ~ sea_lantern/execute if score #tick c9_t matches 0 if score #row c9_t matches ..22 at @e[tag=c9_scanner] run fill ~-4 ~ ~ ~4 ~ ~ white_concrete/execute if score #tick c9_t matches 1 if score #row c9_t matches ..22 at @e[tag=c9_scanner] align xyz run summon area_effect_cloud ~-3.5 ~ ~0.5 {Tags:["c9_m","c9_cell"],Duration:3,Radius:0.1f}/execute if score #tick c9_t matches 1 if score #row c9_t matches ..22 as @e[tag=c9_cell] at @s run summon area_effect_cloud ~1 ~ ~ {Tags:["c9_m","c9_cell"],Duration:2,Radius:0.1f}/execute if score #tick c9_t matches 1..2 if score #row c9_t matches ..22 as @e[tag=c9_cell] at @s if loaded ~ ~ ~ run summon area_effect_cloud ~2 ~ ~ {Tags:["c9_m","c9_cell"],Duration:1,Radius:0.1f}/execute if score #tick c9_t matches 2 if score #row c9_t matches ..22 as @e[tag=c9_cell] at @s store result score @s c9_t run clone ~-1 ~ ~-1 ~1 ~ ~-1 ~-1 ~1 ~-1 filtered black_concrete force/execute if score #tick c9_t matches 2 if score #row c9_t matches ..22 as @e[tag=c9_cell] at @s run fill ~-1 ~1 ~-1 ~1 ~1 ~-1 air/execute if score #tick c9_t matches 2 if score #row c9_t matches ..22 as @e[tag=c9_cell,scores={c9_t=1}] at @s run setblock ~ ~ ~ black_concreteloop #4 Every 12 ticks, the scanner marker clones its own iron and sea-lantern foundation slices one block forward along the Z axis, physically growing the machine across the terrain.loop #9 Summons a short-lived seed cloud on the left side of the new row, which branches across all 9 columns over two ticks without leaving permanent entities behind.loop #12 Uses a filtered clone test on the 3-block neighborhood in the previous row to count how many black concrete cells are adjacent, storing the result in the cell's scoreboard.loop #14 Applies elementary cellular automaton Rule 90 (XOR logic): if exactly one neighbor in the previous row was black, the new cell becomes black concrete, generating a fractal triangle.


Recorded on our own test server: 40 frames at about 5.5 fps. Our image check saw: A white mechanical block structure on a grassy flatland expands forward while a cyan laser beam scans across its roof, generating a black-and-white Sierpinski triangle cellular automaton pattern alongside blue-and-white particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To step through the cellular automaton manually instead of running on an automatic timer, disconnect the first two loop commands and trigger a single impulse block with /scoreboard players set #tick c9_t 0 followed by a 2-tick redstone repeater pulse whenever a player presses a button.
/kill @e[tag=c9_m]/scoreboard objectives remove c9_t/fill ~-5 ~ ~-13 ~5 ~2 ~13 airEach cell checks the three tiles behind it using a filtered clone command that counts black concrete blocks. When the count equals 1, it places a black concrete block.
No, the #row scoreboard counter caps the duplication at 23 rows so the entire structure stays neatly inside the 41x41 stage.
▶Monumental Dam Spillway Floodgate ReleaseSimulationsHard24 cmds
▶Particle Hadron Collider Beam ClashSimulationsHard24 cmds
▶Clockwork Siege DefenseSimulationsHard24 cmds
▶Kinetic Shrapnel DetonationSimulationsHard21 cmds
▶Obstacle-Weaving AutomatonSimulationsHard24 cmds
▶Four-Dimensional Hypercube Tesseract RotationSimulationsExpert24 cmds