Flower trail
Flowers grow wherever a tagged player walks on grass.
You need
- 1 repeating command block
1Tag the gardener
/tag @s add bloomMarks you as the one who leaves flowers.
2Plant as you walk
One repeating block, Always Active.
/execute as @a[tag=bloom] at @s if block ~ ~-1 ~ grass_block if block ~ ~ ~ air run setblock ~ ~ ~ poppyIf the player stands on grass and the space at their feet is empty, a poppy is placed there.
No command blocks? Use the function pack
This creation is included in the free 9Minecraft Command Creations behavior pack. Add the pack to your world, then type one command. It does the same thing as the command blocks above, driven by a tick function.
/function n9/flower_trail_onTurns it on. All the setup commands from the steps above run for you.
/function n9/flower_trail_offTurns it off again.
How it works
Two "if block" tests are chained: the command only continues when both are true. Without the air test the command would replace whatever is already at the player's feet.
Make it your own
- Change poppy to dandelion, blue_orchid, torchflower or any other plant ID.
- For a mixed trail add more repeating blocks with different flowers and @a[tag=bloom,c=1].
Turn it off
/tag @s remove bloomStops the trail for you.
Commands used
More command creations
Coins HUD above the hotbarShows each player their own coin balance above the hotbar at all times, using a scoreboard and titleraw.Easy HUD · 7 commands · videoIce bridge under your feetWater turns to ice in a 3 by 3 square under the player, so tagged players can walk across lakes and oceans.Easy Gameplay · 3 commandsJump pads and speed padsStep on an emerald block to be launched into the air, or on a gold block for a burst of speed.Easy Gameplay · 4 commandsLow gravity roomInside a box-shaped room, players jump high and float down slowly, like on the Moon.Easy Gameplay · 3 commandsMore from 9Minecraft
Command reference © 2026 9Minecraft.net. Syntax read from Minecraft Bedrock Edition 1.26.66.1.