接口 ExperienceOrb

所有超级接口:
CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperator

public interface ExperienceOrb extends Entity
代表一个经验球.

原文: Represents an Experience Orb.

  • 方法详细资料

    • getExperience

      int getExperience()
      获取此经验球中所包含的经验

      原文: Gets how much experience is contained within this orb

      返回:
      经验的数量
    • setExperience

      void setExperience(int value)
      设置此经验球中所包含的经验

      原文: Sets how much experience is contained within this orb

      参数:
      value - 经验的数量