From 86a3286a98785af545f676fe49861427dbaf3324 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Thu, 15 Sep 2011 05:48:52 +0100 Subject: Added methods for getting/setting how much exp is contained within an orb --- src/main/java/org/bukkit/entity/ExperienceOrb.java | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/main/java/org') 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); +} -- cgit v1.2.3