walkTo

boolean walkTo(Positionable position)

Walks to the specified position

Return

true if walked successfully, false otherwise

Parameters

position

the position to walk to

boolean walkTo(Positionable position, Supplier<WalkState> walkCondition)

Walks to the specified position

Return

true if walked successfully, false otherwise

Parameters

position

the position to walk to

walkCondition

the walking condition to break out of walking early - this is checked often while walking