1.21.5 data pack wont work
so ive done this command /execute if entity @s[nbt={SelectedItem:{components:{"minecraft:enchantments":{"minecraft:silk_touch": 1}}}}]
and it came ou as test failed
5 Replies
I may found something useful for your question in my memory!
Click on the green button below to display the help article to Veinminer Enchantment Addon.
-# Automated support bot - If this helped you, response with a thanks or similar to let us know
so you have to have the veinmine mod aswell with the data pack?
No, for the enchantment you need the base datapack and the enchantment addon. The bot is just preconfigured to answer for mods as those are the most used ones. Did you run the command above as the player holding the enchanted item?
but when ever i use the normal one it dosent work until i load the enchantment one and disable it
veinminer enchantment can not work on its own, it would just add the enchantment without any function. If the base datapack doesnt work, please check if minecraft reports any issues or share your game logs