Better Pickaxes command by MrGarretto
Better Pickaxes command by MrGarretto by Redsword1557385    1
This command fixes the useless tiers of pickaxes, and gives certain pickaxes better features, and limits.
Minecraft 1.10.2
8443 characters
More by Redsword
How to install
Comments
Show source commands
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-2 ~8 ~ ~2 stained_hardened_clay 14 hollow},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~8 ~-1 ~2 stained_glass 12 0 stained_hardened_clay},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"One Commands créer par MrGarretto\",\"color\":\"dark_aqua\"},{\"text\":\"\\n\"},{\"text\":\"-\",\"color\":\"red\"},{\"text\":\"Youtube\",\"color\":\"red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/user/JustMrGarretto\"}},{\"text\":\"\\n\"},{\"text\":\"-\",\"color\":\"green\"},{\"text\":\"Patreon\",\"color\":\"green\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.patreon.com/MrGarretto\"}},{\"text\":\"\\n--------------------------------\\n\"},{\"text\":\"Mise a jour par Video_Game25\",\"color\":\"gold\"},{\"text\":\"\\n\"},{\"text\":\"-\",\"color\":\"red\"},{\"text\":\"Youtube\",\"color\":\"red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC5XAsoHEco6EyKapwcpFwuA\"}}]"},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_UseGold stat.useItem.minecraft.golden_pickaxe},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_UseDiamond stat.useItem.minecraft.diamond_pickaxe},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_UseIron stat.useItem.minecraft.iron_pickaxe},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_isADiamond dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_isACobble dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_StateRusted dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_HoldIron dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add BPi_HoldStone dummy},{id:MinecartCommandBlock,Command:"/tellraw @a [{color:\"gold\",text:\"The Better Pickaxes \"},{color:\"dark_aqua\",text:\"module has been installed!\"}]"},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\"}",Text2:"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":true}",Text4:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-2 ~7 ~2 ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @e[type=ArmorStand,name=TogAct,c=1] Jj1gxM_A 1\\\"}}",Text2:"{\\\"text\\\":\\\"On/OIff\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_Jj1gxM_A_min=1,score_Jj1gxM_A=1] ~ ~ ~ blockdata ~ ~ ~ {auto:0}\\\"},\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_Jj1gxM_A_min=2] ~ ~ ~ blockdata ~ ~ ~ {auto:1}\\\"}}",Text4:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players reset @e[score_Jj1gxM_A_min=2] Jj1gxM_A\\\"}}"}},{id:MinecartCommandBlock,Command:summon ArmorStand ~3 ~-2 ~-1 {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}},{id:MinecartCommandBlock,Command:scoreboard objectives add Jj1gxM_A dummy},{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~7 ~-1 ~1 chain_command_block 5},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2},{id:MinecartCommandBlock,Command:fill ~7 ~-1 ~1 ~4 ~-1 ~1 chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 1},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~ ~4 ~-2 ~ chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 3},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5},{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~ {auto:1,Command:/execute @e[type=Guardian] ~ ~ ~ effect @a[score_BPi_HoldStone_min=1,r=60] 3 3 4 true }},{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~ {auto:1,Command:/scoreboard players set @a BPi_HoldStone 1 {SelectedItem:{id:minecraft:stone_pickaxe}}}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~1 {auto:1,Command:/scoreboard players set @a BPi_HoldStone 0}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~1 {auto:1,Command:/scoreboard players set @a[score_BPi_UseIron_min=1] BPi_UseIron 0}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~1 {auto:1,Command:/effect @a[score_BPi_HoldIron_min=1] 4 3 1 true}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~1 {auto:1,Command:/execute @a[score_BPi_HoldIron_min=1] ~ ~ ~ kill @e[type=Item,score_BPi_isACobble_min=1,r=6]}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~1 {auto:1,Command:"/execute @a[score_BPi_UseIron_min=1,score_BPi_HoldIron_min=1,] ~ ~ ~ execute @e[type=Item,score_BPi_isACobble_min=1,r=6] ~ ~ ~ summon Item ~ ~ ~ {Item:{tag:{display:{Lore:[\\\"Your pickaxe was rusted!\\\"]}},Count:1, id:mossy_cobblestone}}"}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {auto:1,Command:/execute @a[score_BPi_UseIron_min=1,score_BPi_HoldIron_min=1] ~ ~ ~ scoreboard players set @e[type=Item,r=6] BPi_isACobble 1 {Item:{id:minecraft:cobblestone}}}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:"/tellraw @a[score_BPi_StateRusted_min=1] [{color:\\\"red\\\",text:\\\"Your iron pick is now \\\"},{color:\\\"dark_red\\\",text:\\\"rusted!\\\"}]"}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:"/give @a[score_BPi_StateRusted_min=1] iron_pickaxe 1 141 {display:{Name:\\\"Rusted Iron Pickaxe\\\",Lore:\\\"rusted\\\"}}"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~1 {auto:1,Command:/clear @a[score_BPi_StateRusted_min=1] iron_pickaxe 140 1}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~1 {auto:1,Command:/stats block ~-1 ~ ~ set SuccessCount @a BPi_StateRusted}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~ {auto:1,Command:/scoreboard players set @a[score_BPi_UseGold_min=2] BPi_UseGold 0}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~ {auto:1,Command:/clear @a iron_pickaxe 140 0}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~ {auto:1,Command:"/scoreboard players set @a BPi_HoldIron 1 {SelectedItem:{id:minecraft:iron_pickaxe,tag:{display:{Name:\\\"Rusted Iron Pickaxe\\\",Lore:\\\"rusted\\\"}}}}"}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~ {auto:1,Command:/scoreboard players set @a BPi_StateRusted 0}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~ {auto:1,Command:/scoreboard players set @a BPi_HoldIron 0}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~-1 {auto:1,Command:/scoreboard players set @a[score_BPi_UseDiamond_min=1] BPi_UseDiamond 0}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~-1 {auto:1,Command:/execute @a[score_BPi_UseDiamond_min=1] ~ ~ ~ kill @e[type=Item,score_BPi_isADiamond_min=1,r=6]}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~-1 {auto:1,Command:"/execute @a[score_BPi_UseDiamond_min=1] ~ ~ ~ execute @e[type=Item,score_BPi_isADiamond_min=1,r=6] ~ ~ ~ summon Item ~ ~ ~ {Item:{tag:{display:{Name:\\\"Crushed Diamonds\\\",Lore:[\\\"Diamond pickaxes are too\\\",\\\"powerful to keep diamonds\\\",\\\"intact! Use an iron pickaxe!\\\"]}},Count:1, id:prismarine_crystals}}"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~-1 {auto:1,Command:/scoreboard players set @e[type=Item] BPi_isADiamond 1 {Item:{id:minecraft:diamond}}}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~-1 {auto:1,Command:/execute @a[score_BPi_UseGold_min=2] ~ ~ ~ summon Item ~ ~ ~ {Item:{Count:1,id:gold_nugget}}}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}