mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-24 00:33:49 -07:00
Implemented Exp Orb methods
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user