Рет қаралды 1,354
Making The Hammer Pickaxe Using Command Blocks
There was a mod that added hammers in Minecraft that can mine a 3x3 area. It was soo cool and it is like vein miner and now here it is in Minecraft with the power of command blocks! Who uses mods these days lol when command blocks are more powerful!
The command:
hammer pickaxe
/scoreboard objectives add hammer minecraft.used:minecraft.diamond_pickaxe
give @p minecraft:diamond_pickaxe{Hammer:1}
repeat: execute as @a at @s[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",tag:{Hammer:1}}},scores={hammer=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] facing entity @p feet run tp @e[tag=location] ~ ~ ~ ~ ~
chain: execute at @e[tag=location] run fill ^1 ^1 ^ ^-1 ^-1 ^ air destroy
chain: execute as @a at @s[nbt={SelectedItem:{id:"minecraft:diamond_pickaxe",tag:{Hammer:1}}},scores={hammer=1..}] run kill @e[tag=location,distance=..10]
chain: /scoreboard players reset hammer
Please Subscribe for more cool command block videos and let me know in the comments what you want me to make next!
Become A Member - / @vivtorsing
My Discord - / discord
Thanks for watching