Interface RotateEntityEvent
-
- All Superinterfaces:
Cancellable
,Event
public interface RotateEntityEvent extends Event, Cancellable
Called when anEntity
performs rotation of their body or, if applicable, head without moving their position.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entity
entity()
Gets theEntity
.Vector3d
fromRotation()
Gets the rotation theEntity
was performing.void
setToRotation(Vector3d rotation)
Vector3d
toRotation()
-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-