public interface SleepingEvent extends GameEvent, TargetEntityEvent, CauseTracked
Modifier and Type | Interface and Description |
---|---|
static interface |
SleepingEvent.Finish |
static interface |
SleepingEvent.Post |
static interface |
SleepingEvent.Pre |
static interface |
SleepingEvent.Tick |
Modifier and Type | Method and Description |
---|---|
BlockSnapshot |
getBed()
Gets the
BlockSnapshot of the bed being used to sleep |
getTargetEntity
getCause
BlockSnapshot getBed()
BlockSnapshot
of the bed being used to sleep