Added methods for getting/setting how much exp is contained within an orb
This commit is contained in:
parent
0abbb7ad7a
commit
86a3286a98
@ -3,4 +3,18 @@ package org.bukkit.entity;
|
|||||||
/**
|
/**
|
||||||
* Represents an Experience Orb.
|
* Represents an Experience Orb.
|
||||||
*/
|
*/
|
||||||
public interface ExperienceOrb extends Entity {}
|
public interface ExperienceOrb extends Entity {
|
||||||
|
/**
|
||||||
|
* Gets how much experience is contained within this orb
|
||||||
|
*
|
||||||
|
* @return Amount of experience
|
||||||
|
*/
|
||||||
|
public int getExperience();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets how much experience is contained within this orb
|
||||||
|
*
|
||||||
|
* @param value Amount of experience
|
||||||
|
*/
|
||||||
|
public void setExperience(int value);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user