mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
Added methods for getting/setting how much exp is contained within an orb
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user