I am creating an adventure map, and am experimenting with using the NBT tags CanDestroy
and CanPlaceOn
to control which blocks a player can place/break. I have already made a pickaxe that can mine iron ore.
But there is more than one piece of iron ore in my world, and I would like to be able to control which iron ore blocks a player can mine.
Currently, I can only set it so that the pickaxe can mine ALL iron ore, or NO iron ore.
How can I choose which iron ores are breakable by the pickaxe?