I want to earn XP when I attack an entity

Started by aliziaart on Mon, 03/16/2020 - 10:05

Topic category: Help with modding (Java Edition)

Last seen on 11:22, 30. Mar 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I want to earn XP when I attack an entity
Mon, 03/16/2020 - 10:05

Hello.
Its my first topic and i need help.
I can give an effect to target entity ... but .... 
I want to earn XP  when I attack an entity... (Earn "any effect" when player attack an entity ) ...
Example : a sword with "XP absorb" power ... Or something like that

Help me please 0_0