org.bukkit.entity
Interface ExperienceOrb

All Superinterfaces:
Entity, Metadatable

public interface ExperienceOrb
extends Entity

Represents an Experience Orb.


Method Summary
 int getExperience()
          Gets how much experience is contained within this orb
 void setExperience(int value)
          Sets how much experience is contained within this orb
 
Methods inherited from interface org.bukkit.entity.Entity
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 

Method Detail

getExperience

int getExperience()
Gets how much experience is contained within this orb

Returns:
Amount of experience

setExperience

void setExperience(int value)
Sets how much experience is contained within this orb

Parameters:
value - Amount of experience


Copyright © 2014. All rights reserved.