Class BotSpawnEvent
java.lang.Object
org.bukkit.event.Event
com.monkey.ultimatebot.api.event.base.BotEvent
com.monkey.ultimatebot.api.event.lifecycle.BotSpawnEvent
Fired after a bot is spawned and registered.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionBotSpawnEvent(long sequence, BotSnapshot snapshot, BotEventSource source, org.bukkit.entity.HumanEntity bot) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.HumanEntitygetBot()static org.bukkit.event.HandlerListorg.bukkit.event.HandlerListMethods inherited from class com.monkey.ultimatebot.api.event.base.BotEvent
getBotSnapshot, getBotUUID, getEventId, getOccurredAt, getOwnerUUID, getSequence, getSourceMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BotSpawnEvent
public BotSpawnEvent(long sequence, BotSnapshot snapshot, BotEventSource source, org.bukkit.entity.HumanEntity bot)
-
-
Method Details
-
getBot
public org.bukkit.entity.HumanEntity getBot() -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-