Interface ExperienceOrb

All Superinterfaces:
CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperator

public interface ExperienceOrb
extends Entity
Represents an Experience Orb.
  • Method Details

    • 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