Increase experience drop upon entity death

Started by cagedinrage on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Sep 2022
Points:
365

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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

Active 1 year ago
Joined May 2019
Points:
773

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 44
 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

Active 2 years ago
Joined Sep 2022
Points:
365

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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?