Falling Pixel Element Simulator

Build a vertical 2D cellular automaton wall in Minecraft where glowing sand, water, and rising fire pixels tumble over ledges and interact dynamically.

Java EditionComplex Contraptions & CinematicsHard22 commandsTested on a real 26.2 & 26.3 server
Glowing yellow, cyan, and red pixels fall across platforms on a large vertical black screen. Download the GIF Video & GIF © www.9minecraft.net

SimulationsTechnologyFireWaterYellowCyanRedLearningMini-gameDecorationBlock displaysBlock building (fill/setblock/clone)21+ commands

The Falling Pixel Element Simulator turns a huge vertical blackboard into a live 2D physics screen. Emitters at the top and bottom continuously release glowing yellow sand, cyan water, and rising orange fire pixels that cascade down the board, slide across angled obstacle ledges, and collide in mid-air.

Each element obeys its own cellular automaton rules: heavy sand piles up into pyramids on ledges, fluid water flows sideways across flat surfaces to cascade off the edges, and rising embers drift upward until they vaporize water into bursts of steam and flame.

1. Setup - type these once 8 commands

  1. /scoreboard objectives add c9_sim dummy
  2. /fill ~-9 ~ ~-1 ~9 ~17 ~1 black_concrete
  3. /fill ~-8 ~1 ~-1 ~8 ~16 ~1 gray_concrete
  4. /fill ~-8 ~1 ~ ~8 ~16 ~ black_stained_glass
  5. /fill ~-6 ~10 ~-1 ~-2 ~10 ~1 iron_block
  6. /fill ~2 ~7 ~-1 ~6 ~7 ~1 iron_block
  7. /fill ~-2 ~4 ~-1 ~2 ~4 ~1 iron_block
  8. /summon marker ~ ~1 ~ {Tags:["c9_sim","c9_ctrl"]}

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

  1. /execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_sim 1
  2. /execute as @e[tag=c9_ctrl,scores={c9_sim=2}] run summon block_display ~-4 ~15 ~ {Tags:["c9_sim","c9_px","c9_sand"],Glowing:1b,glow_color_override:16776960,brightness:{sky:15,block:15},block_state:{Name:"minecraft:yellow_concrete"},transformation:[0.9f,0f,0f,-0.45f,0f,0.9f,0f,0f,0f,0f,2.6f,-1.3f,0f,0f,0f,1f]}
  3. /execute as @e[tag=c9_ctrl,scores={c9_sim=4}] run summon block_display ~4 ~15 ~ {Tags:["c9_sim","c9_px","c9_water"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:cyan_concrete"},transformation:[0.9f,0f,0f,-0.45f,0f,0.9f,0f,0f,0f,0f,2.6f,-1.3f,0f,0f,0f,1f]}
  4. /execute as @e[tag=c9_ctrl,scores={c9_sim=6}] run summon block_display ~ ~2 ~ {Tags:["c9_sim","c9_px","c9_fire"],Glowing:1b,glow_color_override:16733525,brightness:{sky:15,block:15},block_state:{Name:"minecraft:magma_block"},transformation:[0.9f,0f,0f,-0.45f,0f,0.9f,0f,0f,0f,0f,2.6f,-1.3f,0f,0f,0f,1f]}
  5. /execute as @e[tag=c9_ctrl,scores={c9_sim=7..}] run scoreboard players set @s c9_sim 0
  6. /execute as @e[tag=c9_px] run scoreboard players add @s c9_sim 1
  7. /execute as @e[tag=c9_sand] at @s if block ~ ~-0.6 ~ black_stained_glass unless entity @e[tag=c9_px,dx=0,dy=-1,dz=0,distance=0.1..0.95] run tp @s ~ ~-0.5 ~
  8. /execute as @e[tag=c9_sand] at @s unless block ~ ~-0.6 ~ black_stained_glass if block ~0.8 ~-0.6 ~ black_stained_glass unless entity @e[tag=c9_px,distance=0.1..0.9] run tp @s ~0.75 ~-0.5 ~
  9. /execute as @e[tag=c9_water] at @s if block ~ ~-0.6 ~ black_stained_glass unless entity @e[tag=c9_px,dx=0,dy=-1,dz=0,distance=0.1..0.95] run tp @s ~ ~-0.5 ~
  10. /execute as @e[tag=c9_water] at @s unless block ~ ~-0.6 ~ black_stained_glass if block ~-0.8 ~ ~ black_stained_glass unless entity @e[tag=c9_px,distance=0.1..0.85] run tp @s ~-0.75 ~ ~
  11. /execute as @e[tag=c9_fire] at @s if block ~ ~0.6 ~ black_stained_glass run tp @s ~ ~0.4 ~
  12. /execute as @e[tag=c9_fire] at @s unless block ~ ~0.6 ~ black_stained_glass if block ~0.8 ~0.4 ~ black_stained_glass run tp @s ~0.6 ~0.2 ~
  13. /execute as @e[tag=c9_fire] at @s if entity @e[tag=c9_water,distance=..1.4] run particle cloud ~ ~0.5 ~ 0.4 0.4 1.2 0.05 12 force
  14. /kill @e[tag=c9_px,scores={c9_sim=95..}]

How it works

Frames from the test run

Falling Pixel Element Simulator - frame 1Falling Pixel Element Simulator - frame 2Falling Pixel Element Simulator - frame 3

Recorded on our own test server: 54 frames at about 8.8 fps. Our image check saw: A large vertical black board in Minecraft displays glowing yellow, cyan, and red outlined pixel elements falling and interacting with horizontal platforms, while many tiny slimes gather at the base.

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 with at least 18 blocks of space on all sides.
  2. Run each of the 8 setup commands in chat to build the vertical simulator frame, the three iron obstacle ledges, and the controller marker.
  3. Place 14 repeating command blocks in a line or column nearby, set all of them to Always Active, and paste one loop command into each block.
  4. Watch the top nozzles drop glowing yellow sand and cyan water while the bottom nozzle releases rising magma fire pixels.
  5. To stop and remove the simulator, turn off the repeating command blocks and run the cleanup commands.

Use it with real players

To let players paint elements directly onto the board, replace the automatic nozzle summons in loop commands 1, 2, and 3 with /execute at @p anchored eyes positioned ^ ^ ^4 if block ~ ~ ~ black_stained_glass run summon block_display ~ ~ ~ ... triggered when holding yellow dye for sand, light blue dye for water, or blaze powder for fire.

Remove it again 3 commands

  1. /kill @e[tag=c9_sim]
  2. /fill ~-9 ~ ~-1 ~9 ~17 ~1 air
  3. /scoreboard objectives remove c9_sim

FAQ

Why are the pixels made with block_display entities instead of real falling blocks?

Block displays can be stretched along the Z axis so they shine clearly on both sides of the board, support custom glowing outlines and full brightness at night, and can move smoothly in any direction including sideways for water and upward for fire.

Can I add my own obstacle ledges inside the simulator frame?

Yes! Place any solid block other than black_stained_glass inside the 17x16 screen area and the sand, water, and fire pixels will automatically collide with it and flow around its edges.

Commands used

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

Similar creations

Join 9Minecraft News & Guides