public interface SleepingEvent extends TargetEntityEvent
Humanoid
enters a bed to sleep in.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, getContext, getSource
BlockSnapshot getBed()
BlockSnapshot
of the bed being used to sleep.