moveTo

fun Mob.moveTo(location: Location, speed: Double = 1.0): Boolean

Makes this mob move to a specific location.

Return

true if the pathfinding was successfully started

Parameters

location

the location to move to

speed

the movement speed