Minettyx - super block bracker
item id: iron_ore
block id: iron_ore
score: 1





/scoreboard objectives add item dummy
/scoreboard players set @e[type=item] item 1 {Item:{id:"minecraft:iron_ore"}}
/execute @e[score_item_min=1,score_item=1] ~ ~ ~ detect ~ ~1 ~ minecraft:iron_ore -1 setblock ~ ~1 ~ minecraft:air 1 destroy
/execute @e[score_item_min=1,score_item=1] ~ ~ ~ detect ~ ~-1 ~ minecraft:iron_ore -1 setblock ~ ~-1 ~ minecraft:air 1 destroy
/execute @e[score_item_min=1,score_item=1] ~ ~ ~ detect ~1 ~ ~ minecraft:iron_ore -1 setblock ~1 ~ ~ minecraft:air 1 destroy
/execute @e[score_item_min=1,score_item=1] ~ ~ ~ detect ~-1 ~ ~ minecraft:iron_ore -1 setblock ~-1 ~ ~ minecraft:air 1 destroy
/execute @e[score_item_min=1,score_item=1] ~ ~ ~ detect ~ ~ ~1 minecraft:iron_ore -1 setblock ~ ~ ~1 minecraft:air 1 destroy
/execute @e[score_item_min=1,score_item=1] ~ ~ ~ detect ~ ~ ~-1 minecraft:iron_ore -1 setblock ~ ~ ~-1 minecraft:air 1 destroy
Bloker"
www.000webhost.com