1.12 Mcreator - Can't put enchantments in my tools/weapons

Started by DestroyerOFC3 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:29, 14. Jan 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1.12 Mcreator - Can't put enchantments in my tools/weapons

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

Last seen on 18:29, 14. Jan 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the enchantment is sharpness…
Sun, 12/06/2020 - 14:20

the enchantment is sharpness btw. (only for axes and swords. it should work but doesn't.)

Last seen on 15:52, 30. Dec 2020
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've also been trying to get…
Wed, 12/30/2020 - 15:52

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

Last seen on 15:52, 30. Dec 2020
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But if you just created a …
Wed, 12/30/2020 - 15:53

But if you just created a "weapon" or "axe" type tool, then it should work just fine.