diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/entity/ExperienceOrb.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/entity/ExperienceOrb.java b/src/main/java/org/bukkit/entity/ExperienceOrb.java index 03bed688..4093e998 100644 --- a/src/main/java/org/bukkit/entity/ExperienceOrb.java +++ b/src/main/java/org/bukkit/entity/ExperienceOrb.java @@ -3,4 +3,18 @@ package org.bukkit.entity; /** * 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); +} |