Interface SleepingEvent.Finish
- All Superinterfaces:
Event
,SleepingEvent
- Enclosing interface:
SleepingEvent
Fires when the
Living
wakes up.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.action.SleepingEvent
SleepingEvent.Failed, SleepingEvent.Finish, SleepingEvent.Pre, SleepingEvent.Tick
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setToLocation
(ServerLocation location) void
setToRotation
(Vector3d rotation) Methods inherited from interface org.spongepowered.api.event.action.SleepingEvent
bed, living
-
Method Details
-
fromLocation
ServerLocation fromLocation()- Returns:
- The location
-
toLocation
ServerLocation toLocation()- Returns:
- The location
-
setToLocation
- Parameters:
location
- The location
-
fromRotation
Vector3d fromRotation()- Returns:
- The rotation
-
toRotation
Vector3d toRotation()- Returns:
- The rotation
-
setToRotation
- Parameters:
rotation
- The rotation
-