How to make an enchantment that gives extra exp after killing entities.

Started by AliveWater on

Topic category: Help with modding (Java Edition)

Last seen on 17:02, 27. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an enchantment that gives extra exp after killing entities.

So I'm create a mod with bunch of custom enchantments and can't figure out how to give the player extra exp when killing mob with a weapon that has this enchantment. Anyone who knows how to do this?