public abstract class AbstractExperienceListener
extends java.lang.Object
implements org.bukkit.event.Listener
Constructor and Description |
---|
AbstractExperienceListener() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration(org.bukkit.entity.Player player)
Load the correct configuration for a given player.
|
Configuration |
getConfiguration(org.bukkit.World world)
Load the correct configuration for general world events not associated with any player.
|
Presets |
getPresets()
Retrieves the current presents.
|
void |
setPresets(Presets presets)
Sets the current presets.
|
protected Presets presets
public Presets getPresets()
public void setPresets(Presets presets)
presets
- - the new presets.public Configuration getConfiguration(org.bukkit.entity.Player player)
player
- - the given player.public Configuration getConfiguration(org.bukkit.World world)
world
- - the world to look for.