Interface SleepingEvent.Finish
-
- All Superinterfaces:
Event,SleepingEvent
- Enclosing interface:
- SleepingEvent
public static interface SleepingEvent.Finish extends SleepingEvent
Fires when theLivingwakes 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 ServerLocationfromLocation()Vector3dfromRotation()voidsetToLocation(ServerLocation location)voidsetToRotation(Vector3d rotation)ServerLocationtoLocation()Vector3dtoRotation()-
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
-
-