Reverse Lawn Care Contraption

Watch an autonomous reverse lawn mower cruise over barren dirt, restoring green grass and sprouting fresh flowers and ferns in a glowing trail.

Java EditionMini-games & UtilitiesEasy24 commandsTested on a real 26.2 & 26.3 server
A glowing autonomous mower contraption weaves across coarse dirt, transforming it into lush grass and flowers. Download the GIF Video & GIF © www.9minecraft.net

Spawners & GeneratorsNatureTechnologyCuteGreenYellowBuilding ToolDecorationItem displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

Instead of trimming your yard down, this quirky autonomous mower brings dry, barren ground back to life. Built from glowing display blocks with a flowering seed hopper on top and a spinning spreader disc on the back, it weaves across a patch of coarse dirt all on its own.

Wherever the mower drives, dry dirt turns into fresh grass blocks while green sparkles, golden pollen dust, short grass, ferns, poppies, and dandelions sprout behind its wheels.

1. Setup - type these once 10 commands

  1. /fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 minecraft:coarse_dirt
  2. /fill ~-12 ~ ~-12 ~12 ~2 ~12 minecraft:air
  3. /scoreboard objectives add c9_timer dummy
  4. /summon minecraft:armor_stand ~-5 ~ ~-4 {Tags:["c9_all","c9_mower"],Invisible:1b,NoGravity:1b,Invulnerable:1b,Small:1b,Rotation:[-35.0f,0.0f]}
  5. /summon minecraft:item_display ~-5 ~ ~-4 {Tags:["c9_all","c9_part"],Glowing:1b,glow_color_override:5635925,teleport_duration:1,item:{id:"minecraft:lime_concrete"},transformation:{translation:[0.0f,0.32f,0.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1.15f,0.35f,1.45f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  6. /summon minecraft:item_display ~-5 ~ ~-4 {Tags:["c9_all","c9_part"],Glowing:1b,glow_color_override:16755200,teleport_duration:1,item:{id:"minecraft:flowering_azalea"},transformation:{translation:[0.0f,0.75f,-0.05f],left_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[0.8f,0.8f,0.8f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  7. /summon minecraft:item_display ~-5 ~ ~-4 {Tags:["c9_all","c9_part"],teleport_duration:1,item:{id:"minecraft:black_concrete"},transformation:{translation:[0.0f,0.22f,0.45f],left_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1.4f,0.42f,0.42f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  8. /summon minecraft:item_display ~-5 ~ ~-4 {Tags:["c9_all","c9_part"],teleport_duration:1,item:{id:"minecraft:black_concrete"},transformation:{translation:[0.0f,0.22f,-0.45f],left_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1.4f,0.42f,0.42f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  9. /summon minecraft:item_display ~-5 ~ ~-4 {Tags:["c9_all","c9_part"],teleport_duration:1,item:{id:"minecraft:iron_block"},transformation:{translation:[0.0f,0.82f,-0.82f],left_rotation:[-0.383f,0.0f,0.0f,0.924f],scale:[0.85f,1.0f,0.12f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  10. /summon minecraft:item_display ~-5 ~ ~-4 {Tags:["c9_all","c9_rotor"],Glowing:1b,glow_color_override:65535,teleport_duration:1,item:{id:"minecraft:iron_trapdoor"},transformation:{translation:[0.0f,0.62f,0.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[0.95f,1.0f,0.95f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}

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

  1. /execute as @e[tag=c9_mower,distance=..8.0] at @s run tp @s ~ ~ ~ ~-1.2 ~
  2. /execute as @e[tag=c9_mower,distance=8.001..] at @s run tp @s ~ ~ ~ ~15 ~
  3. /execute as @e[tag=c9_mower] at @s run tp @s ^ ^ ^0.24
  4. /execute as @e[tag=c9_part] at @e[tag=c9_mower,limit=1] run tp @s ~ ~ ~ ~ ~
  5. /execute as @e[tag=c9_rotor] at @e[tag=c9_mower,limit=1] positioned ^ ^ ^-0.85 rotated as @s run tp @s ~ ~ ~ ~32 ~
  6. /execute at @e[tag=c9_mower] run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:grass_block replace minecraft:coarse_dirt
  7. /scoreboard players add @e[tag=c9_mower] c9_timer 1
  8. /scoreboard players set @e[tag=c9_mower,scores={c9_timer=8..}] c9_timer 0
  9. /execute at @e[tag=c9_mower,scores={c9_timer=0}] positioned ^-0.65 ^ ^-0.9 if block ~ ~ ~ minecraft:air if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ minecraft:short_grass
  10. /execute at @e[tag=c9_mower,scores={c9_timer=2}] positioned ^0.65 ^ ^-0.9 if block ~ ~ ~ minecraft:air if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ minecraft:fern
  11. /execute at @e[tag=c9_mower,scores={c9_timer=4}] positioned ^-0.3 ^ ^-0.9 if block ~ ~ ~ minecraft:air if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ minecraft:poppy
  12. /execute at @e[tag=c9_mower,scores={c9_timer=6}] positioned ^0.3 ^ ^-0.9 if block ~ ~ ~ minecraft:air if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ minecraft:dandelion
  13. /execute at @e[tag=c9_mower] positioned ^ ^0.25 ^-0.9 run particle minecraft:happy_villager ~ ~ ~ 0.65 0.2 0.65 0.05 4
  14. /execute at @e[tag=c9_mower] positioned ^ ^0.5 ^-0.6 run particle minecraft:dust{color:[1.0,0.85,0.2],scale:1.3} ~ ~ ~ 0.45 0.25 0.45 0.02 6

How it works

Frames from the test run

Reverse Lawn Care Contraption - frame 1Reverse Lawn Care Contraption - frame 2Reverse Lawn Care Contraption - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A glowing display-block mower with a flowering block on top weaves across a coarse dirt patch, turning the dirt into grass blocks with flowers, ferns, green sparkles, and yellow dust.

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. Find a flat open area at least 27x27 blocks wide and stand at the exact centre where you want the dirt plot.
  2. Run each of the 10 setup commands once in chat (or from impulse command blocks) to lay down the coarse dirt and assemble the mower.
  3. Place 14 repeating command blocks set to Always Active near the centre of the plot (for example, tucked underground beneath the centre block).
  4. Paste one loop command into each repeating command block; keep the first two boundary-steering commands centred on your plot.
  5. Step back and watch the mower steer itself across the dry patch, painting trails of grass and wildflowers.

Use it with real players

To guide the mower yourself like a walk-behind contraption instead of letting it roam on its own, replace the first two loop commands with /execute as @e[tag=c9_mower] at @s facing entity @p feet run tp @s ~ ~ ~ ~ ~ and change the third loop command to only move when you are nearby using /execute as @e[tag=c9_mower] at @s if entity @p[distance=1.8..8] run tp @s ^ ^ ^0.22.

Remove it again 4 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-12 ~ ~-12 ~12 ~2 ~12 minecraft:air
  4. /fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 minecraft:grass_block

FAQ

Will the mower overwrite blocks or builds if it drives past them?

No. Ground conversion uses replace coarse_dirt so it only changes coarse dirt, and flowers only spawn in empty air blocks directly above grass blocks.

How do I make the mower cover a wider yard?

Increase the coarse dirt fill size in the first setup command and raise the 8.0 and 8.001 distance checks in the first two loop commands to match your larger radius.

Commands used

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

Similar creations

Join 9Minecraft News & Guides