Рет қаралды 418
Making An Axe That Can Chop An Entire Tree Instantly
Mining down trees are so hard these days in Minecraft. So with this special axe you can instantly mine an entire tree in one click! It is like the tree capitator mod or plugin but now with only command blocks! No more sitting there mining forever and waiting for the leaves to slowly despawn.
The Command:
/scoreboard objectives add chop minecraft.used:minecraft.diamond_axe
give @p minecraft:diamond_axe{Chop:1}
repeat: execute as @a at @s[nbt={SelectedItem:{id:"minecraft:diamond_axe",tag:{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:["location"]}
chain: execute at @e[tag=location] if block ~ ~1 ~ #logs run summon minecraft:armor_stand ~ ~1 ~ {NoGravity:1,Tags:["location"]}
chain: execute as @e[tag=location,sort=nearest] at @s run fill ~2 ~ ~2 ~-2 ~ ~-2 air destroy
chain: execute at @p run kill @e[tag=location,sort=nearest,limit=1]
chain: /scoreboard players reset chop
Just make sure to test this in a different world and make a backup. Make sure the command block to kill armor stand works properly or else your world will crash! Happened to me over 20 times because I can't type lol.
Please Subscribe fore more cool command block tutorials and let me know in the comments what you want to see next!
Become A Member - / @vivtorsing
My Discord - / discord
Thanks for watching