PaperMC/paper-server/src
BillyGalbreath e91df097e9 ExperienceOrb merging/stacking API and fixes
Adds an option for maximum exp value when merging orbs

Adds ExperienceOrbMergeEvent
Fired when the server is about to merge 2 experience orbs
as entities. Plugins can cancel it if they want to ensure experience orbs do not lose important
metadata such as spawn reason, or conditionally move data from source to target.

Fixes an issue where the stacked count was not taking into account
for mending repairs and when merging with spigot's merge-on-spawn
logic

== AT ==
public net.minecraft.world.entity.ExperienceOrb count

Co-authored-by: Aikar <aikar@aikar.co>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2017-11-10 23:03:12 -05:00
..
assembly Update to Minecraft 1.18-pre5 2021-11-22 09:00:00 +11:00
log4jPlugins/java/io/papermc/paper Rewrite LogEvents to contain the source jars in stack traces 2021-07-10 11:12:30 +02:00
main ExperienceOrb merging/stacking API and fixes 2017-11-10 23:03:12 -05:00
test Implement Player Client Options API 2020-01-20 21:38:15 +01:00