Autonomous Allay Mural Painter

An autonomous Allay artist paints on a vertical canvas, experimenting with random wool colors and fixing its mistakes until a Creeper face emerges.

Java EditionMobs & PetsExpert24 commandsTested on a real 26.2 & 26.3 server
An Allay paints a colorful pixel art Creeper mural on a large wooden easel in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsCuteMysticCyanGreenRainbowDecorationServer LobbyCinematicSummoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

Watch an Allay artist equipped with a brush fly back and forth across a dark oak easel. At first, the canvas is completely scrambled with random wool colors, and the Allay continues testing different palettes across the board in bursts of magical dust.

As it works, the Allay begins recognizing its mistakes and locking in the right colors one pixel at a time. Accompanied by cheerful chime sounds and glowing particles, a recognizable Creeper face mural gradually emerges on its own before the cycle resets for a brand new painting.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-5 ~ ~-4 ~5 ~10 ~-4 dark_oak_planks
  3. /fill ~-6 ~ ~-3 ~6 ~ ~-3 dark_oak_stairs[facing=north]
  4. /fill ~-4 ~1 ~-4 ~4 ~9 ~-4 white_wool
  5. /fill ~-4 ~1 ~-5 ~4 ~9 ~-5 lime_concrete
  6. /fill ~-3 ~6 ~-5 ~-2 ~7 ~-5 black_concrete
  7. /fill ~2 ~6 ~-5 ~3 ~7 ~-5 black_concrete
  8. /fill ~-1 ~3 ~-5 ~1 ~5 ~-5 black_concrete
  9. /fill ~-2 ~2 ~-5 ~2 ~3 ~-5 black_concrete
  10. /summon allay ~ ~5 ~-2 {Tags:["c9_painter"],NoAI:1b,Invulnerable:1b,Glowing:1b,CustomName:'{"text":"Picasso","color":"aqua"}',CustomNameVisible:1b,HandItems:[{id:"minecraft:brush",count:1},{}]}

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

  1. /execute unless entity @e[tag=c9_target] run summon marker ~ ~5 ~-4 {Tags:["c9_target"]}
  2. /scoreboard players add #tick c9_timer 1
  3. /execute if score #tick c9_timer matches 1..20 as @e[tag=c9_target] run tp @s ~ ~ ~
  4. /execute if score #tick c9_timer matches 260.. run scoreboard players set #tick c9_timer 1
  5. /execute if score #tick c9_timer matches 1..190 run spreadplayers ~ ~-4 0 4 false @e[tag=c9_target]
  6. /execute as @e[tag=c9_target] at @s if block ~ ~-4 ~-1 dark_oak_planks run tp @s ~ ~5 ~-4
  7. /execute as @e[tag=c9_target] at @s unless block ~ ~ ~ white_wool unless block ~ ~ ~ pink_wool unless block ~ ~ ~ yellow_wool unless block ~ ~ ~ light_blue_wool unless block ~ ~ ~ orange_wool unless block ~ ~ ~ lime_concrete unless block ~ ~ ~ black_concrete run tp @s ~ ~1 ~
  8. /execute at @e[tag=c9_target] run tp @e[tag=c9_painter,limit=1] ~ ~-0.3 ~1.2 180 0
  9. /execute if score #tick c9_timer matches 1..40 at @e[tag=c9_target] run setblock ~ ~ ~ pink_wool
  10. /execute if score #tick c9_timer matches 2..40 at @e[tag=c9_painter] run setblock ~-1 ~1 ~-1.2 yellow_wool
  11. /execute if score #tick c9_timer matches 3..40 at @e[tag=c9_painter] run setblock ~1 ~-1 ~-1.2 light_blue_wool
  12. /execute if score #tick c9_timer matches 41..190 at @e[tag=c9_target] unless block ~ ~ ~ lime_concrete unless block ~ ~ ~ black_concrete run particle dust{color:[1.0,0.8,0.2],scale:1.5} ~ ~ ~0.6 0.2 0.2 0.1 0 8
  13. /execute if score #tick c9_timer matches 41..190 at @e[tag=c9_target] unless block ~ ~ ~ lime_concrete unless block ~ ~ ~ black_concrete run playsound block.amethyst_block.chime master @a ~ ~ ~ 0.6 1.5
  14. /execute if score #tick c9_timer matches 41..190 at @e[tag=c9_target] run clone ~ ~ ~-1 ~ ~ ~-1 ~ ~ ~

How it works

Frames from the test run

Autonomous Allay Mural Painter - frame 1Autonomous Allay Mural Painter - frame 2Autonomous Allay Mural Painter - frame 3

Recorded on our own test server: 67 frames at about 9.5 fps. Our image check saw: An Allay flies across a dark oak framed wool canvas, replacing random colored blocks with a pixel art Creeper face using magical particle effects.

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 and run the 10 setup commands in chat to build the dark oak easel, hidden reference mural, and summon Picasso the Allay.
  2. Place a line of 14 Repeating Command Blocks (set to Always Active) nearby.
  3. Paste each of the 14 loop commands into the command blocks, ensuring they execute relative to the exact same center position where you ran the setup.
  4. Watch Picasso scramble the canvas with colorful wool and then methodically correct each block until the Creeper face is complete.
  5. To make the Allay paint your own custom pixel art, simply build any 9x9 design on the hidden back wall (one block north of the canvas) and Picasso will paint that instead!

Use it with real players

To let real players control when the Allay paints or scrambles the mural, remove loop command 4 (the automatic timer reset) and replace it with a button or custom trigger that runs /scoreboard players set #tick c9_timer 1 whenever you want Picasso to start a fresh painting.

Remove it again 4 commands

  1. /kill @e[tag=c9_painter]
  2. /kill @e[tag=c9_target]
  3. /fill ~-6 ~ ~-5 ~6 ~10 ~-3 air
  4. /scoreboard objectives remove c9_timer

FAQ

Can I change what picture the Allay paints?

Yes! The Allay reads the 9x9 wall directly behind the canvas (at ~-4 ~1 ~-5 to ~4 ~9 ~-5). Any blocks you build on that back layer will become the new final mural, as long as you add those block types to the filter in loop command 7.

Will this lag my server over time?

No. The creation only uses two entities total (one Allay and one invisible marker) and modifies single blocks at a time without spawning lingering items.

Commands used

/clone/execute/fill/particle/playsound/scoreboard/setblock/spreadplayers/summon/tp

Similar creations

Join 9Minecraft News & Guides