ExperienceOrbs API for Reason/Source/Triggering player

Adds lots of information about why this orb exists.

Replaces isFromBottle() with logic that persists entity reloads too.
This commit is contained in:
Aikar
2017-12-19 16:46:27 -05:00
parent 7cc544d715
commit db3cc65511
6 changed files with 374 additions and 95 deletions

View File

@@ -39,7 +39,7 @@ index a6ffe144f..f08f4ae56 100644
// Spigot end
diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java
index 650e549b1..341108472 100644
index 73643bc7c..28eb13306 100644
--- a/src/main/java/net/minecraft/server/EntityLiving.java
+++ b/src/main/java/net/minecraft/server/EntityLiving.java
@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity {