geforkt von Mirrors/Paper
Implemented Exp Orb methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
7f0060f3a0
Commit
5846e18542
@ -14,4 +14,12 @@ public class CraftExperienceOrb extends CraftEntity implements ExperienceOrb {
|
|||||||
public EntityExperienceOrb getHandle() {
|
public EntityExperienceOrb getHandle() {
|
||||||
return (EntityExperienceOrb) super.getHandle();
|
return (EntityExperienceOrb) super.getHandle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getExperience() {
|
||||||
|
return getHandle().value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setExperience(int value) {
|
||||||
|
getHandle().value = value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren