Instant Tree Chop

A command to chop down trees instantly!

Supported Versions:

1.21.8+

Commands by Row:

Row 1

1. [impulse] /scoreboard objectives add chop minecraft.used:minecraft.diamond_axe

Row 2

2. [impulse] /give @p minecraft:diamond_axe[minecraft:custom_data={Chop:1}]

Row 3

3. [repeat] /execute as @a at @s[nbt={SelectedItem:{id:"minecraft:diamond_axe",components:{"minecraft:custom_data":{Chop:1}}}},scores={chop=1..}] at @e[type=item,distance=..8,nbt={Age:0s},sort=nearest,limit=1] run summon minecraft:armor_stand ~ ~ ~ {NoGravity:1,Tags:["Treelocation"]}
4. [chain] /execute as @e[tag=Treelocation] at @s if block ~ ~1 ~ #minecraft:completes_find_tree_tutorial run tp @s ~ ~1 ~
5. [chain] /execute as @e[tag=Treelocation] at @s run fill ~2 ~ ~2 ~-2 ~ ~-2 air replace #minecraft:completes_find_tree_tutorial destroy
6. [chain] /execute as @e[tag=Treelocation] at @s unless block ~ ~1 ~ #minecraft:completes_find_tree_tutorial run kill @s
7. [chain] /execute as @a at @s[nbt={SelectedItem:{id:"minecraft:diamond_axe",components:{"minecraft:custom_dat":{Chop:1}}}},scores={chop=1..}] run scoreboard players reset @s chop

Preview

impulse
impulse
repeat
chain
chain
chain
chain

Video

Too lazy to copy and paste each command?