mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
Implemented Exp Orb methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
7f0060f3a0
commit
5846e18542
@ -14,4 +14,12 @@ public class CraftExperienceOrb extends CraftEntity implements ExperienceOrb {
|
||||
public EntityExperienceOrb getHandle() {
|
||||
return (EntityExperienceOrb) super.getHandle();
|
||||
}
|
||||
|
||||
public int getExperience() {
|
||||
return getHandle().value;
|
||||
}
|
||||
|
||||
public void setExperience(int value) {
|
||||
getHandle().value = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user