My custom enchantment doesn't work

Started by SlugZill on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My custom enchantment doesn't work

I'm making a custom enchantment named Destruction that does 3 extra damage for each enchantment level (the max is 10 if that helps) and it won't work, there is a error that appears when I go to save it and its on the side, I have no idea how to fix it. If someone can help, please do. I'm on version 2025.3.

Image 1

Image 2