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

public class PlayerAddBedEvent extends PlayerEvent implements ArenaEvent, Cancellable
Gets called when a player places a bed into an arena during set-up
  • Constructor Details

  • Method Details

    • getTeam

      public Team getTeam()
      Returns the team of the bed.
      Returns:
      The team
    • getLocation

      public ImmutableLocation getLocation()
      Returns the new bed location.
      Returns:
      The bed location
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()