Automated Regrowing Mystical Tree

Build a self-growing cherry and dark oak tree in vanilla Minecraft that gets chopped down by a custom lumberjack and shatters into emerald magic every cycle.

Java EditionHolograms & Display EntitiesMedium20 commandsTested on a real 26.2 & 26.3 server
An automated lumberjack chops down a magically regrowing cherry blossom tree surrounded by pink and green particles. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksNatureMysticPinkGreenGoldDecorationServer LobbyMap MakingItem displaysArmor standsSummoned mobsBlock building (fill/setblock/clone)Sounds13-20 commands

This command creation places a mossy sanctuary at the center of your world with an automated lumberjack and a regrowing mystical tree. Over a seven-second loop, a dark oak trunk rises from the soil and sprouts a glowing canopy of cherry leaves while emerald and pink magic swirls around the branches.

Once the tree reaches full height, the lumberjack swings his golden axe into the trunk. A shower of critical sparks and totem magic bursts from the canopy as the entire tree shatters, leaving only the stump before the cycle begins again.

1. Setup - type these once 6 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:moss_block
  3. /fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:moss_carpet
  4. /setblock ~ ~-1 ~ minecraft:rooted_dirt
  5. /summon minecraft:armor_stand ~-1.6 ~ ~ {Tags:["c9_actor","c9_ent"],NoGravity:1b,ShowArms:1b,Rotation:[-90f,0f],Pose:{RightArm:[-30f,0f,10f]},equipment:{mainhand:{id:"minecraft:golden_axe",count:1},head:{id:"minecraft:leather_helmet",count:1},chest:{id:"minecraft:chainmail_chestplate",count:1},legs:{id:"minecraft:leather_leggings",count:1},feet:{id:"minecraft:leather_boots",count:1}}}
  6. /summon minecraft:item_display ~ ~1.8 ~ {Tags:["c9_orb","c9_ent"],Glowing:1b,glow_color_override:16755415,item:{id:"minecraft:pink_tulip",count:1},billboard:"center"}

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

  1. /execute as @e[tag=c9_orb,limit=1] run scoreboard players add @s c9_t 1
  2. /execute as @e[tag=c9_orb,scores={c9_t=141..}] run scoreboard players set @s c9_t 1
  3. /execute if entity @e[tag=c9_orb,scores={c9_t=1..55}] run particle minecraft:dust{color:[0.3,1.0,0.5],scale:1.5} ~ ~2.5 ~ 0.8 1.5 0.8 0 5
  4. /execute if entity @e[tag=c9_orb,scores={c9_t=5..25}] run playsound minecraft:block.wood.place block @a ~ ~2 ~ 0.4 1.4
  5. /execute if entity @e[tag=c9_orb,scores={c9_t=5}] run setblock ~ ~ ~ minecraft:dark_oak_log
  6. /execute if entity @e[tag=c9_orb,scores={c9_t=15}] run fill ~ ~1 ~ ~ ~2 ~ minecraft:dark_oak_log
  7. /execute if entity @e[tag=c9_orb,scores={c9_t=25}] run fill ~ ~3 ~ ~ ~4 ~ minecraft:dark_oak_log
  8. /execute if entity @e[tag=c9_orb,scores={c9_t=35}] run fill ~-2 ~3 ~-1 ~2 ~3 ~1 minecraft:cherry_leaves[persistent=true] keep
  9. /execute if entity @e[tag=c9_orb,scores={c9_t=45}] run fill ~-1 ~4 ~-2 ~1 ~4 ~2 minecraft:cherry_leaves[persistent=true] keep
  10. /execute if entity @e[tag=c9_orb,scores={c9_t=55}] run fill ~-1 ~5 ~-1 ~1 ~5 ~1 minecraft:cherry_leaves[persistent=true] keep
  11. /execute if entity @e[tag=c9_orb,scores={c9_t=56..115}] run particle minecraft:cherry_leaves ~ ~3.5 ~ 1.5 0.8 1.5 0.02 4
  12. /execute if entity @e[tag=c9_orb,scores={c9_t=95..115}] at @e[tag=c9_actor] run particle minecraft:crit ~1.2 ~1 ~ 0.2 0.2 0.2 0.1 6
  13. /execute if entity @e[tag=c9_orb,scores={c9_t=118}] run particle minecraft:totem_of_undying ~ ~3 ~ 1.2 1.8 1.2 0.25 80
  14. /execute if entity @e[tag=c9_orb,scores={c9_t=118}] run fill ~-2 ~1 ~-2 ~2 ~5 ~2 minecraft:air

How it works

Frames from the test run

Automated Regrowing Mystical Tree - frame 1Automated Regrowing Mystical Tree - frame 2Automated Regrowing Mystical Tree - frame 3

Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: An armor stand lumberjack with a golden axe stands on moss next to a dark oak trunk that grows up into a cherry blossom tree amid green and pink particles before being chopped down.

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 clearing where you want the tree to grow.
  2. Run each of the 6 setup commands in chat to build the mossy base, summon the lumberjack, and create the timer.
  3. Place 14 repeating command blocks (or one repeating block feeding into 13 chain command blocks) nearby and set them all to Always Active.
  4. Paste one loop command into each command block in order from 1 to 14.
  5. If your command blocks are not at the exact center, wrap the coordinates or run them through an execute command positioned at the rooted dirt block.

Use it with real players

To let real players harvest the tree instead of the automated timer, remove loop commands 11 through 14 and only let the timer run up to tick 60. When a player breaks the bottom log at ~ ~ ~, trigger the shatter fill command and drop custom wood and emerald items before resetting c9_t to 1.

Remove it again 4 commands

  1. /kill @e[tag=c9_ent]
  2. /fill ~-2 ~ ~-2 ~2 ~5 ~2 minecraft:air
  3. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_block
  4. /scoreboard objectives remove c9_t

FAQ

Why do the cherry leaves not decay while the tree is standing?

The fill commands include the block state [persistent=true], which tells Minecraft to keep the leaves permanently until the loop clears them.

Can I change the speed at which the tree grows?

Yes. Adjust the c9_t score thresholds in the loop commands to lower numbers for faster growth or raise the 141 reset limit for a longer pause between chops.

Commands used

/execute/fill/particle/playsound/scoreboard/setblock/summon

Similar creations

Join 9Minecraft News & Guides