Interface SleepingEvent.Finish
-
- All Superinterfaces:
Event
,SleepingEvent
- Enclosing interface:
- SleepingEvent
public static interface SleepingEvent.Finish extends SleepingEvent
Fires when theLiving
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerLocation
fromLocation()
Vector3d
fromRotation()
void
setToLocation(ServerLocation location)
void
setToRotation(Vector3d rotation)
ServerLocation
toLocation()
Vector3d
toRotation()
-
Methods inherited from interface org.spongepowered.api.event.action.SleepingEvent
bed, living
-
-
-
-
Method Detail
-
fromLocation
ServerLocation fromLocation()
- Returns:
- The location
-
toLocation
ServerLocation toLocation()
- Returns:
- The location
-
setToLocation
void setToLocation(ServerLocation location)
- Parameters:
location
- The location
-
fromRotation
Vector3d fromRotation()
- Returns:
- The rotation
-
toRotation
Vector3d toRotation()
- Returns:
- The rotation
-
setToRotation
void setToRotation(Vector3d rotation)
- Parameters:
rotation
- The rotation
-
-