public interface RotateEntityEvent extends TargetEntityEvent, Cancellable
Entity performs rotation of their body or, if
 applicable, head without moving their position.| Modifier and Type | Method and Description | 
|---|---|
| Transform<World> | getFromTransform()Gets the transform that the  Entityrotated from. | 
| Transform<World> | getToTransform()Gets the new transform that the  Entitywill change to. | 
| void | setToTransform(Transform<World> transform)Sets the new transform that the  Entitywill change to. | 
getTargetEntitygetCause, getContext, getSourceisCancelled, setCancelled