public class PlayerSleepInBedEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.HarvestCheck, PlayerEvent.NameFormatLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
EnumStatus |
result |
int |
x |
int |
y |
int |
z |
entityPlayerentityLivingentity| Constructor and Description |
|---|
PlayerSleepInBedEvent(EntityPlayer player,
int x,
int y,
int z) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResultpublic EnumStatus result
public final int x
public final int y
public final int z
public PlayerSleepInBedEvent(EntityPlayer player, int x, int y, int z)