The new breakevents.json doesn't like nbt it seems...
DanRobzProbz opened this issue ยท 2 comments
This example doesn't work for the new breakevents.json.
I just copied the code and pasted it in my breakevents.json from the site examples given, when mining I get a prompt saying that the block can't be mined(which is what I want) but then if I enchant my Iron Pickaxe with Unbreaking(id 34) it doesn't break the block still...
It should be able to be mined if it has that enchantment attached, right?!
I tried many different ench ids and still nothing sadly.
Any help would be appreciated, thanks.
:)
All I wanted was to make players only be able to mine ores if they had silk touch(id 33)
That's not the correct nbt for an enchantment. See this wiki on the correct tags:
https://minecraft.fandom.com/wiki/Tutorials/Command_NBT_tags