Package ch.njol.skript.events.bukkit
Class ExperienceSpawnEvent
java.lang.Object
org.bukkit.event.Event
ch.njol.skript.events.bukkit.ExperienceSpawnEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class ExperienceSpawnEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.Location
int
boolean
void
setCancelled(boolean cancel)
void
setSpawnedXP(int xp)
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ExperienceSpawnEvent
public ExperienceSpawnEvent(int exp, org.bukkit.Location location)
-
-
Method Details
-
getSpawnedXP
public int getSpawnedXP() -
setSpawnedXP
public void setSpawnedXP(int xp) -
getLocation
public org.bukkit.Location getLocation() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-