walk To
Walks to the target location, if it is in the local area
Return
true if walked successfully, false otherwise
Parameters
target
the target tile
static boolean walkTo(Positionable target, Supplier<WalkState> walkingCondition)
Content copied to clipboard
Walks to the target location, if it is in the local area
Return
true if walked successfully, false otherwise
Parameters
target
the target tile
walkingCondition
the walking condition to break out of walking early - this is checked often while walking