Interface SleepingEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
SleepingEvent.Failed,SleepingEvent.Finish,SleepingEvent.Pre,SleepingEvent.Tick
Called when a
Living enters a bed to sleep in.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbed()Gets theBlockSnapshotof the bed being used to sleep.living()Gets theLiving.
-
Method Details
-
living
Living living()Gets theLiving.- Returns:
- The humanoid
-
bed
BlockSnapshot bed()Gets theBlockSnapshotof the bed being used to sleep.- Returns:
- The location of the bed
-