Class ArenaRenameEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaRenameEvent
- All Implemented Interfaces:
ArenaEvent, Cancellable
Gets called whenever an existing arena shall be renamed.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArena()Returns theArenathat is involved in this event.static HandlerListGets the possibly new name of the arena.Gets the current name of the arena.Methods inherited from class Event
getEventName, isAsynchronousMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Cancellable
isCancelled, setCancelled
-
Constructor Details
-
ArenaRenameEvent
-
-
Method Details
-
getArena
Description copied from interface:ArenaEventReturns theArenathat is involved in this event.- Specified by:
getArenain interfaceArenaEvent- Returns:
- The arena that is involved
-
getOldName
-
getNewName
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-