mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Added methods for getting/setting how much exp is contained within an orb
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
c42fef2680
commit
e6b33d8a08
1 changed files with 15 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue