AbstractWanderBackToPoint

public interface AbstractWanderBackToPoint

Functions

Link copied to clipboard
public abstract int getGoalRefreshCooldownTicks()
Link copied to clipboard
public abstract long getLastTime()
Link copied to clipboard
public abstract LivingEntity getLivingEntity()
Link copied to clipboard
public abstract int getMaxDurationTicks()
Link copied to clipboard
public abstract double getMaximumDistanceFromPoint()
Link copied to clipboard
public abstract int getPriority()
Link copied to clipboard
public abstract Location getReturnLocation()
Link copied to clipboard
public abstract float getSpeed()
Link copied to clipboard
public abstract int getStopReturnDistance()
Link copied to clipboard
public abstract boolean isHardObjective()
Link copied to clipboard
public boolean isReturnDuringCombat()
Link copied to clipboard
public abstract boolean isStartWithCooldown()
Link copied to clipboard
public abstract boolean isTeleportOnFail()
Link copied to clipboard
public abstract void register()
Registers the goal on to the mob.
Link copied to clipboard
Sets the cooldown of this goal.
Link copied to clipboard
public abstract AbstractWanderBackToPoint setHardObjective(boolean hardObjective)
Sets if the priority of this objective is above all other goals.
Link copied to clipboard
public AbstractWanderBackToPoint setReturnDuringCombat(boolean returnDuringCombat)
Allows this return to take control of movement while the mob is targeting a player.
Link copied to clipboard
public abstract AbstractWanderBackToPoint setReturnLocation(Location location)
Updates the anchor used by an already-registered leash goal.
Link copied to clipboard
public abstract AbstractWanderBackToPoint setSpeed(float speed)
Sets the speed used to return.
Link copied to clipboard
public abstract AbstractWanderBackToPoint setStartWithCooldown(boolean startWithCooldown)
Sets if the cooldown should start when the register runs, preventing it from potentially instantly running.
Link copied to clipboard
public abstract AbstractWanderBackToPoint setStopReturnDistance(int distance)
Sets the distance considered to be close enough to stop the wander behavior
Link copied to clipboard
public abstract AbstractWanderBackToPoint setTeleportOnFail(boolean teleportOnFail)
Sets if the entity will instantly teleport when it fails to find a valid path back to the point defined.
Link copied to clipboard
public abstract void unregister()
Unregisters the goal on the mob, effectively removing the behavior.
Link copied to clipboard
public abstract void updateCooldown()
Updates the scan cooldown.