Increase experience drop upon entity death

Started by cagedinrage on

Topic category: Help with modding (Java Edition)

Last seen on 22:17, 16. Sep 2022
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Increase experience drop upon entity death

Hey, so I'm making a new mod which adds a couple enchantments, one of them is supposed to increase the xp drop from killed mobs(for example if I kill a zombie instead of dropping x amount of xp it has to drop x*1.5

The problem is I can't find any procedure which gets the amount of xp dropped upon death, I really need help with this thank you

Last seen on 08:17, 10. Apr 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 Hello, My idea isthat you…
Fri, 09/16/2022 - 13:32

 Hello, My idea isthat you can maybe detect ifthe entity is killed andthan spawn experience orbs with procedures. I hope i helped

Last seen on 22:17, 16. Sep 2022
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, I think I'll go with…
Fri, 09/16/2022 - 19:04

Hey, I think I'll go with that, but I just realized that almost all global triggers aren't supported by Fabric generator 1.19.2, any fix/solutions for that?