Tree Capitator
Tree Capitator by BlueCommander17793291    1
Hey Guys, BlueCommander here! It's been a while since I made a one command as i've been mainly doing datapacks (you can check them out on my channel) but as lots of people still love one commands here's one for you! This allows axes to chop entire trees with one chop! Watch the vid for more information, enjoy!
Minecraft 1.14
8906 characters
More by BlueCommander
How to install
Comments
Show source commands
summon falling_block ~ ~.5 ~ {Motion:[.0,.5,.0],BlockState:{Name:activator_rail},Time:1,Passengers:[{id:falling_block,BlockState:{Name:redstone_block},Time:1},{id:falling_block,BlockState:{Name:activator_rail},Time:1,Passengers:[{id:command_block_minecart,Command:"gamerule commandBlockOutput false"},{id:command_block_minecart,Command:"fill ~2 ~-3 ~-2 ~9 ~ ~3 blue_terracotta hollow"},{id:command_block_minecart,Command:"fill ~2 ~-2 ~-2 ~9 ~-1 ~3 barrier replace blue_terracotta"},{id:command_block_minecart,Command:"tellraw @a [\"\",{\"text\":\"Tree Capitator> \",\"color\":\"blue\",\"bold\":false},{\"text\":\"One command For 1.14 installed!\",\"color\":\"none\",\"bold\":false}]"},{id:command_block_minecart,Command:"tellraw @a [\"\",{\"text\":\"Tree Capitator> \",\"color\":\"blue\",\"bold\":false},{\"text\":\"Created by BlueCommander!\",\"color\":\"none\",\"bold\":false}]"},{id:command_block_minecart,Command:"tellraw @a [\"\",{\"text\":\"Tree Capitator> \",\"color\":\"blue\",\"bold\":false},{\"text\":\"Big thanks to MrGarreto for the one command combiner!\",\"color\":\"none\",\"bold\":false}]"},{id:command_block_minecart,Command:"scoreboard objectives add B_MO minecraft.mined:minecraft.oak_log"},{id:command_block_minecart,Command:"scoreboard objectives add B_MB minecraft.mined:minecraft.birch_log"},{id:command_block_minecart,Command:"scoreboard objectives add B_MS minecraft.mined:minecraft.spruce_log"},{id:command_block_minecart,Command:"scoreboard objectives add B_MJ minecraft.mined:minecraft.jungle_log"},{id:command_block_minecart,Command:"scoreboard objectives add B_MA minecraft.mined:minecraft.acacia_log"},{id:command_block_minecart,Command:"scoreboard objectives add B_MD minecraft.mined:minecraft.dark_oak_log"},{id:command_block_minecart,Command:"forceload add ~ ~ ~10 ~"},{id:command_block_minecart,Command:"setblock ~1 ~-2 ~ oak_wall_sign[facing=west]{Text1:\"{\\\"text\\\":\\\"[Destroy]\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Right Click\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\"}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-2 ~8 ~2 ~3 air\\\"}}\"}"},{id:command_block_minecart,Command:"setblock ~1 ~-1 ~ oak_wall_sign[facing=west]{Text1:\"{\\\"text\\\":\\\"Tree Capitator\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"By\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"Blue\\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"Commander\\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true}\"}"},{id:command_block_minecart,Command:"fill ~3 ~-2 ~-1 ~8 ~-1 ~2 chain_command_block[facing=east]"},{id:command_block_minecart,Command:"setblock ~3 ~-2 ~2 chain_command_block[facing=up]"},{id:command_block_minecart,Command:"fill ~8 ~-2 ~2 ~4 ~-2 ~2 chain_command_block[facing=west]"},{id:command_block_minecart,Command:"setblock ~8 ~-2 ~1 chain_command_block[facing=south]"},{id:command_block_minecart,Command:"setblock ~3 ~-2 ~ chain_command_block[facing=south]"},{id:command_block_minecart,Command:"fill ~8 ~-2 ~ ~4 ~-2 ~ chain_command_block[facing=west]"},{id:command_block_minecart,Command:"setblock ~8 ~-2 ~-1 chain_command_block[facing=south]"},{id:command_block_minecart,Command:"setblock ~3 ~-2 ~-1 repeating_command_block[facing=east]"},{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~2 {auto:1,Command:\"scoreboard players reset @a B_MD\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-1 ~2 {auto:1,Command:\"scoreboard players reset @a B_MA\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-1 ~2 {auto:1,Command:\"scoreboard players reset @a B_MJ\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~2 {auto:1,Command:\"scoreboard players reset @a B_MS\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~2 {auto:1,Command:\"scoreboard players reset @a B_MB\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~2 {auto:1,Command:\"scoreboard players reset @a B_MO\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~2 {auto:1,Command:\"tag @e remove B_TF2\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~2 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~ ~-1 run tag @e[distance=..1,type=item,sort=nearest,limit=1,tag=!B_TF2,nbt={Age:0s}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~2 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~ ~-1 if block ~ ~ ~ #minecraft:logs run setblock ~ ~ ~ air destroy\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~2 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~ ~1 run tag @e[distance=..1,type=item,sort=nearest,limit=1,tag=!B_TF2,nbt={Age:0s}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~1 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~ ~1 if block ~ ~ ~ #minecraft:logs run setblock ~ ~ ~ air destroy\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~1 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~-1 ~ ~ run tag @e[distance=..1,type=item,sort=nearest,limit=1,tag=!B_TF2,nbt={Age:0s}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~1 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~-1 ~ ~ if block ~ ~ ~ #minecraft:logs run setblock ~ ~ ~ air destroy\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~1 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~1 ~ ~ run tag @e[distance=..1,type=item,sort=nearest,limit=1,tag=!B_TF2,nbt={Age:0s}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~1 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~1 ~ ~ if block ~ ~ ~ #minecraft:logs run setblock ~ ~ ~ air destroy\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~1 {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~-1 ~ run tag @e[distance=..1,type=item,sort=nearest,limit=1,tag=!B_TF2,nbt={Age:0s}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~ {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~-1 ~ if block ~ ~ ~ #minecraft:logs run setblock ~ ~ ~ air destroy\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~ {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~1 ~ run tag @e[distance=..1,type=item,sort=nearest,limit=1,tag=!B_TF2,nbt={Age:0s}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~ {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s positioned ~ ~1 ~ if block ~ ~ ~ #minecraft:logs run setblock ~ ~ ~ air destroy\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~ {auto:1,Command:\"execute as @e[tag=B_TF2,type=item] at @s as @p at @s run playsound minecraft:block.note_block.bell master @s ~ ~ ~ 1 1 1\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~ {auto:1,Command:\"tag @e remove B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~ {auto:1,Command:\"tag @e[tag=B_TF] add B_TF2\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~-1 {auto:1,Command:\"execute as @a[scores={B_MD=1..}] at @s run tag @e[distance=..7,type=item,nbt={Age:0s,Item:{id:\\\"minecraft:dark_oak_log\\\"}}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~-1 {auto:1,Command:\"execute as @a[scores={B_MA=1..}] at @s run tag @e[distance=..7,type=item,nbt={Age:0s,Item:{id:\\\"minecraft:acacia_log\\\"}}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~-1 {auto:1,Command:\"execute as @a[scores={B_MJ=1..}] at @s run tag @e[distance=..7,type=item,nbt={Age:0s,Item:{id:\\\"minecraft:jungle_log\\\"}}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~-1 {auto:1,Command:\"execute as @a[scores={B_MS=1..}] at @s run tag @e[distance=..7,type=item,nbt={Age:0s,Item:{id:\\\"minecraft:spruce_log\\\"}}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~-1 {auto:1,Command:\"execute as @a[scores={B_MB=1..}] at @s run tag @e[distance=..7,type=item,nbt={Age:0s,Item:{id:\\\"minecraft:birch_log\\\"}}] add B_TF\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~-1 {auto:1,Command:\"execute as @a[scores={B_MO=1..}] at @s run tag @e[distance=..7,type=item,nbt={Age:0s,Item:{id:\\\"minecraft:oak_log\\\"}}] add B_TF\"}"},{id:command_block_minecart,Command:"setblock ~ ~ ~1 command_block{Command:\"fill ~ ~-2 ~-1 ~ ~ ~ air\"}"},{id:command_block_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:command_block_minecart,Command:"kill @e[type=command_block_minecart,distance=..1]"}]}]}