public class SlimeChangeDirectionEvent extends SlimePathfindEvent implements Cancellable
This event does not fire for the entity's actual movement. Only when it is choosing to change direction.
Event.Resultentity| Constructor and Description |
|---|
SlimeChangeDirectionEvent(@NotNull Slime slime,
float yaw) |
| Modifier and Type | Method and Description |
|---|---|
float |
getNewYaw()
Get the new chosen yaw
|
void |
setNewYaw(float yaw)
Set the new chosen yaw
|
getEntity, getHandlerList, getHandlers, isCancelled, setCancelledgetEntityTypecallEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelledCopyright © 2021. All rights reserved.