Class PlayerAddBedEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerAddBedEvent
- All Implemented Interfaces:
ArenaEvent
,Cancellable
Gets called when a player places a bed into an arena during set-up
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
Returns the new bed location.getTeam()
Returns the team of the bed.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.marcely.bedwars.api.event.arena.ArenaEvent
getArena
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
PlayerAddBedEvent
-
-
Method Details
-
getTeam
Returns the team of the bed.- Returns:
- The team
-
getLocation
Returns the new bed location.- Returns:
- The bed location
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-