Added methods for getting/setting how much exp is contained within an orb

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-09-15 05:48:52 +01:00
parent c42fef2680
commit e6b33d8a08

View file

@ -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);
}