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.Result
entity
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, setCancelled
getEntityType
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCancelled, setCancelled
Copyright © 2021. All rights reserved.