Apply enchantment effects to player if they hold certain items and have a specific tag?
Is it possible to give a player for instance looting or fortune or other enchantment effects when they're holding a certain item and the player has a certain tag?
I'm using a mod that lets you build skill trees, and for some of those trees I would like to for instance give a player permanent Fortune 1 whenever they hold an item that's tagged as pickaxe. The mod allows me to apply any tag to a player, I just don't know if it's possible to check what item a player is currently holding and apply an enchantment effect if they're holding the right tool plus have the right tag.
Continue to help post