001 package org.bukkit.entity;
002
003 /**
004 * Represents an Experience Orb.
005 */
006 public interface ExperienceOrb extends Entity {
007
008 /**
009 * Gets how much experience is contained within this orb
010 *
011 * @return Amount of experience
012 */
013 public int getExperience();
014
015 /**
016 * Sets how much experience is contained within this orb
017 *
018 * @param value Amount of experience
019 */
020 public void setExperience(int value);
021 }