Versione: 1.12

Testato in: 1.12.2

gamerule commandBlockOutput false
gamerule gameLoopFunction cDrop:main

scoreboard objectives add cd:has dummy
scoreboard objectives add cd:itemlife dummy
scoreboard objectives add cd:mine.dia stat.mineBlock.minecraft.diamond_ore


scoreboard players add @e[type=item] cd:itemlife 1
scoreboard players set @a cd:has 0
scoreboard players set @a cd:has 1 {SelectedItem:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{display:{Name:"Piccone Magico"}}}}

execute @a[score_cd:has_min=1,score_cd:mine.dia_min=1] ~ ~ ~ execute @e[type=item,score_cd:itemlife_min=1,score_cd:itemlife=1,r=7] ~ ~ ~ summon item ~ ~ ~ {Item:{id:"minecraft:diamond",Count:1b,tag:{display:{Name:"Diamante Magico"},HideFlags:1,ench:[{id:0,lvl:1}]}}}
execute @a[score_cd:has_min=1,score_cd:mine.dia_min=1] ~ ~ ~ execute @e[type=item,score_cd:itemlife_min=1,score_cd:itemlife=1,r=7] ~ ~ ~ kill @s

scoreboard players set @a cd:mine.dia 0

 

 

gallery/downloads-icon-15
Bloker"
www.000webhost.com