Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.player.PlayerBedLeaveEvent Class Reference
Inheritance diagram for org.bukkit.event.player.PlayerBedLeaveEvent:
org.bukkit.event.player.PlayerEvent org.bukkit.event.Event

Public Member Functions

 PlayerBedLeaveEvent (final Player who, final Block bed)
 
Block getBed ()
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.player.PlayerEvent
 PlayerEvent (final Player who)
 
final Player getPlayer ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Static Public Member Functions

static HandlerList getHandlerList ()
 

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.player.PlayerEvent
Player player
 

Detailed Description

This event is fired when the player is leaving a bed.

Definition at line 10 of file PlayerBedLeaveEvent.java.

Member Function Documentation

Block org.bukkit.event.player.PlayerBedLeaveEvent.getBed ( )

Returns the bed block involved in this event.

Returns
the bed block involved in this event

Definition at line 24 of file PlayerBedLeaveEvent.java.

24  {
25  return bed;
26  }

The documentation for this class was generated from the following file: