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(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, setCancelledpublic SlimeChangeDirectionEvent(@NotNull
Slime slime,
float yaw)
Copyright © 2019. All rights reserved.