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  BlockSnapshotof the bed being used to sleep. | 
getTargetEntitygetCause, getContext, getSourceBlockSnapshot getBed()
BlockSnapshot of the bed being used to sleep.