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
Entity rotated from. |
Transform<World> |
getToTransform()
Gets the new transform that the
Entity will change to. |
void |
setToTransform(Transform<World> transform)
Sets the new transform that the
Entity will change to. |
getTargetEntitygetCause, getContext, getSourceisCancelled, setCancelled