Started by
DestroyerOFC3
on
Topic category: Troubleshooting, bugs, and solutions
So, i created 3 tools for my mod (with the tool option) however, i can't put enchantments on it in survival mode. Why?
it just doesn't accept the enchantment
the enchantment is sharpness btw. (only for axes and swords. it should work but doesn't.)
I've also been trying to get this to work (allowing my special tool to get silk touch, efficiency, etc.); but "allowed enchantments" per tool type seem to be pretty hard-coded (in 1.16.4 at least) into the Enchantment classes themselves... There is no real clean way to do this I'm afraid
But if you just created a "weapon" or "axe" type tool, then it should work just fine.