Voici le One Command Lumber Axe creer par Video_Game25 . Ce One Command vas vous permettre de couper les arbre en un seul coup de hache
VIDEO
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
Esthétique
INIT:/fill ~2 ~-3 ~-1 ~2 ~1 ~-1 minecraft:stained_hardened_clay 13
INIT:/fill ~8 ~-3 ~-1 ~8 ~1 ~-1 minecraft:stained_hardened_clay 13
INIT:/fill ~2 ~-3 ~2 ~2 ~1 ~2 minecraft:stained_hardened_clay 13
INIT:/fill ~8 ~-3 ~2 ~8 ~1 ~2 minecraft:stained_hardened_clay 13
#INIT Commands
INIT:/scoreboard objectives add Wood dummy
INIT:/scoreboard objectives add HoldingAxe dummy
INIT:/scoreboard objectives add HoldingAxe1 dummy
INIT:/scoreboard objectives add Give dummy
INIT:/tellraw @a ["",{"text":"[1.12] Lumber Axe by Video_Game25","color":"gold"},{"text":"\n"},{"text":"Youtube","color":"dark_red","clickEvent":{"action":"open_url","value":"https://www.youtube.com/channel/UC5XAsoHEco6EyKapwcpFwuA"}},{"text":" | ","color":"gold"},{"text":"Twitter","color":"dark_aqua","clickEvent":{"action":"open_url","value":"https://twitter.com/redsword25000"}},{"text":" | ","color":"gold"},{"text":"One Cmd","color":"dark_green","clickEvent":{"action":"open_url","value":"http://onecmd.com/?creator=Redsword"}},{"text":"\n[","color":"dark_green"},{"text":"Thèrme d'utilisation","color":"dark_green","hoverEvent":{"action":"show_text","value":["",{"text":"Pour les vidéos ","color":"dark_green"},{"text":"vous devez mettre le","color":"gold"},{"text":" lien du One Command ","color":"dark_aqua"},{"text":"dans la déscription .","color":"dark_blue"}]}},{"text":"]","color":"dark_green"}]
#1er système
/execute @e[score_Wood_min=1] ~ ~ ~ /scoreboard players set @e[type=Item,r=5] Wood 1 {Item:{id:minecraft:log},Age:1s}
/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~ ~1 ~ log -1 /setblock ~ ~1 ~ air 0 destroy
/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~1 ~1 ~ log -1 /setblock ~1 ~1 ~ air 0 destroy
/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~-1 ~1 ~ log -1 /setblock ~-1 ~1 ~ air 0 destroy
/scoreboard players set @a HoldingAxe 1 {Attributes:[{Name:"generic.knockbackResistance",Modifiers:[{Name:"Lumber Axe"}]}]}
/scoreboard players set @e[type=Item] Wood 1 {Item:{id:minecraft:log}}
/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~ ~1 ~1 log -1 /setblock ~ ~1 ~1 air 0 destroy
/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~ ~1 ~-1 log -1 /setblock ~ ~1 ~-1 air 0 destroy
/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~-1 ~ ~ log -1 /setblock ~-1 ~ ~ air 0 destroy
#2eme système
/execute @e[score_Wood_min=1] ~ ~ ~ /scoreboard players set @e[type=Item,r=5] Wood 1 {Item:{id:minecraft:log},Age:1s}
/execute @e[score_HoldingAxe1_min=1] ~ ~ ~ /execute @e[score_Wood_min=1,score_Wood=1] ~ ~ ~ /summon Item ~ ~ ~ {Item:{id:coal,Count:1,Damage:1}}
/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~ ~2 ~ log -1 /setblock ~ ~2 ~ air 0 destroy
/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~ ~2 ~1 log -1 /setblock ~ ~2 ~1 air 0 destroy
/scoreboard players set @a HoldingAxe1 1 {Attributes:[{Name:"generic.knockbackResistance",Modifiers:[{Name:"Lumber Axe1"}]}]}
/scoreboard players set @e[type=Item] Wood 1 {Item:{id:minecraft:log}}
/scoreboard players set @e[type=Item] Wood 2 {Item:{id:minecraft:coal,Count:1,Damage:1}}
/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~1 ~2 ~ log -1 /setblock ~1 ~2 ~ air 0 destroy
/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~1 ~2 ~-1 log -1 /setblock ~1 ~2 ~-1 air 0 destroy
/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~-1 ~2 ~-1 log -1 /setblock ~-1 ~2 ~-1 air 0 destroy
/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~1 ~2 ~1 log -1 /setblock ~1 ~2 ~1 air 0 destroy
/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~-1 ~2 ~1 log -1 /setblock ~-1 ~2 ~1 air 0 destroy
#3eme système
R:/execute @a[score_HoldingAxe1_min=1] ~ ~ ~ /execute @e[score_Wood_min=1,score_Wood=1] ~ ~ ~ /kill @e[score_Wood_min=1,score_Wood=1,c=1,r=1]
/scoreboard players set @a[score_HoldingAxe_min=1] HoldingAxe 0
/scoreboard players set @a[score_HoldingAxe1_min=1] HoldingAxe1 0
/scoreboard players set @a[score_BreakWood_min=1] BreakWood 0
C:/gamerule randomTickSpeed 300
C:/gamerule randomTickSpeed 0
#Give
/execute @e[score_Give_min=1] ~ ~ ~ /replaceitem entity @p[m=1] slot.hotbar.0 minecraft:stone_axe 1 0 {AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"Lumber Axe1",Amount:0,Operation:0,UUIDLeast:1,UUIDMost:1}],display:{Name:"Lumber Axe"}}
/scoreboard players set @e[score_Give_min=1] Give 0
summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:"gamerule commandBlockOutput false"},{id:commandblock_minecart,Command:"fill ~2 ~-3 ~-1 ~8 ~1 ~2 stained_hardened_clay 13 hollow"},{id:commandblock_minecart,Command:"fill ~2 ~-2 ~-1 ~8 ~ ~2 stained_glass 13 0 stained_hardened_clay"},{id:commandblock_minecart,Command:"/fill ~2 ~-3 ~-1 ~2 ~1 ~-1 minecraft:stained_hardened_clay 13"},{id:commandblock_minecart,Command:"/fill ~8 ~-3 ~-1 ~8 ~1 ~-1 minecraft:stained_hardened_clay 13"},{id:commandblock_minecart,Command:"/fill ~2 ~-3 ~2 ~2 ~1 ~2 minecraft:stained_hardened_clay 13"},{id:commandblock_minecart,Command:"/fill ~8 ~-3 ~2 ~8 ~1 ~2 minecraft:stained_hardened_clay 13"},{id:commandblock_minecart,Command:"/scoreboard objectives add Wood dummy"},{id:commandblock_minecart,Command:"/scoreboard objectives add HoldingAxe dummy"},{id:commandblock_minecart,Command:"/scoreboard objectives add HoldingAxe1 dummy"},{id:commandblock_minecart,Command:"/scoreboard objectives add Give dummy"},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"[1.12] Lumber Axe by Video_Game25\",\"color\":\"gold\"},{\"text\":\"\\n\"},{\"text\":\"Youtube\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC5XAsoHEco6EyKapwcpFwuA\"}},{\"text\":\" | \",\"color\":\"gold\"},{\"text\":\"Twitter\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://twitter.com/redsword25000\"}},{\"text\":\" | \",\"color\":\"gold\"},{\"text\":\"One Cmd\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://onecmd.com/?creator=Redsword\"}},{\"text\":\"\\n[\",\"color\":\"dark_green\"},{\"text\":\"Thèrme d'utilisation\",\"color\":\"dark_green\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":[\"\",{\"text\":\"Pour les vidéos \",\"color\":\"dark_green\"},{\"text\":\"vous devez mettre le\",\"color\":\"gold\"},{\"text\":\" lien du One Command \",\"color\":\"dark_aqua\"},{\"text\":\"dans la déscription .\",\"color\":\"dark_blue\"}]}},{\"text\":\"]\",\"color\":\"dark_green\"}]"},{id:commandblock_minecart,Command:"setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/particle hugeexplosion ~ ~ ~ 0 0 0 2 5\\\"}}\",Text2:\"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound minecraft:block.wood_pressureplate.click_on block @p\\\"}}\",Text3:\"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"red\\\"}\",Text4:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~7 ~3 ~2 air\\\"}}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound minecraft:block.wood_pressureplate.click_on block @p\\\"}}\",Text2:\"{\\\"text\\\":\\\"Créer par\\\",\\\"color\\\":\\\"aqua\\\"}\",Text3:\"{\\\"text\\\":\\\"Video_Game25\\\",\\\"color\\\":\\\"aqua\\\"}\",Text4:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_aqua\\\"}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~ ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard players set @p Give 1\\\"}}\",Text2:\"{\\\"text\\\":\\\"Give\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound minecraft:block.wood_pressureplate.click_on block @p\\\"}}\",Text3:\"{\\\"text\\\":\\\"Item\\\",\\\"color\\\":\\\"green\\\"}\",Text4:\"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_green\\\"}\"}"},{id:commandblock_minecart,Command:"fill ~3 ~-2 ~ ~7 ~ ~1 chain_command_block 5"},{id:commandblock_minecart,Command:"setblock ~3 ~ ~1 chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~7 ~ ~1 ~4 ~ ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~ ~ chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~5 ~ ~ repeating_command_block 5"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~ chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~ ~4 ~-1 ~ chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~1 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~1 chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~1 ~4 ~-2 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~ repeating_command_block 5"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~1 {auto:1,Command:\"/scoreboard players set @e[score_Give_min=1] Give 0\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~1 {auto:1,Command:\"/execute @e[score_Give_min=1] ~ ~ ~ /replaceitem entity @p[m=1] slot.hotbar.0 minecraft:stone_axe 1 0 {AttributeModifiers:[{AttributeName:\\\"generic.knockbackResistance\\\",Name:\\\"Lumber Axe1\\\",Amount:0,Operation:0,UUIDLeast:1,UUIDMost:1}],display:{Name:\\\"Lumber Axe\\\"}}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~1 {auto:1,Command:\"C:/gamerule randomTickSpeed 0\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~1 {auto:1,Command:\"C:/gamerule randomTickSpeed 300\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~1 {auto:1,Command:\"/scoreboard players set @a[score_BreakWood_min=1] BreakWood 0\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~ {auto:1,Command:\"/scoreboard players set @a[score_HoldingAxe1_min=1] HoldingAxe1 0\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~ {auto:1,Command:\"/scoreboard players set @a[score_HoldingAxe_min=1] HoldingAxe 0\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~ {auto:1,Command:\"/execute @a[score_HoldingAxe1_min=1] ~ ~ ~ /execute @e[score_Wood_min=1,score_Wood=1] ~ ~ ~ /kill @e[score_Wood_min=1,score_Wood=1,c=1,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~-1 ~2 ~1 log -1 /setblock ~-1 ~2 ~1 air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~1 ~2 ~1 log -1 /setblock ~1 ~2 ~1 air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~-1 ~2 ~-1 log -1 /setblock ~-1 ~2 ~-1 air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~1 ~2 ~-1 log -1 /setblock ~1 ~2 ~-1 air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~1 ~2 ~ log -1 /setblock ~1 ~2 ~ air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~ {auto:1,Command:\"/scoreboard players set @e[type=Item] Wood 2 {Item:{id:minecraft:coal,Count:1,Damage:1}}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~ {auto:1,Command:\"/scoreboard players set @e[type=Item] Wood 1 {Item:{id:minecraft:log}}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~1 {auto:1,Command:\"/scoreboard players set @a HoldingAxe1 1 {Attributes:[{Name:\\\"generic.knockbackResistance\\\",Modifiers:[{Name:\\\"Lumber Axe1\\\"}]}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~1 {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~ ~2 ~1 log -1 /setblock ~ ~2 ~1 air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~1 {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=2] ~ ~ ~ detect ~ ~2 ~ log -1 /setblock ~ ~2 ~ air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~1 {auto:1,Command:\"/execute @e[score_HoldingAxe1_min=1] ~ ~ ~ /execute @e[score_Wood_min=1,score_Wood=1] ~ ~ ~ /summon Item ~ ~ ~ {Item:{id:coal,Count:1,Damage:1}}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~1 {auto:1,Command:\"/execute @e[score_Wood_min=1] ~ ~ ~ /scoreboard players set @e[type=Item,r=5] Wood 1 {Item:{id:minecraft:log},Age:1s}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~1 {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~-1 ~ ~ log -1 /setblock ~-1 ~ ~ air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~1 {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~ ~1 ~-1 log -1 /setblock ~ ~1 ~-1 air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~1 {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~ ~1 ~1 log -1 /setblock ~ ~1 ~1 air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~1 {auto:1,Command:\"/scoreboard players set @e[type=Item] Wood 1 {Item:{id:minecraft:log}}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~1 {auto:1,Command:\"/scoreboard players set @a HoldingAxe 1 {Attributes:[{Name:\\\"generic.knockbackResistance\\\",Modifiers:[{Name:\\\"Lumber Axe\\\"}]}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~-1 ~1 ~ log -1 /setblock ~-1 ~1 ~ air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~1 ~1 ~ log -1 /setblock ~1 ~1 ~ air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~ {auto:1,Command:\"/execute @e[type=Item,score_Wood_min=1] ~ ~ ~ detect ~ ~1 ~ log -1 /setblock ~ ~1 ~ air 0 destroy\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~ {auto:1,Command:\"/execute @e[score_Wood_min=1] ~ ~ ~ /scoreboard players set @e[type=Item,r=5] Wood 1 {Item:{id:minecraft:log},Age:1s}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~ {auto:1,Command:\"Esthétique\"}"},{id:commandblock_minecart,Command:"setblock ~ ~ ~1 command_block 0 0 {Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}]}