Class ArenaPropertyChangeEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaPropertyChangeEvent
- All Implemented Interfaces:
ArenaEvent
Gets called whenever a property of an arena has changed.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Some properties of the arena.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionArenaPropertyChangeEvent
(Arena arena, ArenaPropertyChangeEvent.Property property) -
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Returns theArena
that is involved in this event.static HandlerList
Gets the property that has changed.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ArenaPropertyChangeEvent
-
-
Method Details
-
getArena
Description copied from interface:ArenaEvent
Returns theArena
that is involved in this event.- Specified by:
getArena
in interfaceArenaEvent
- Returns:
- The arena that is involved
-
getProperty
Gets the property that has changed.- Returns:
- The involved property
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-