distanceTo

fun distanceTo(other: Entity): Float
fun distanceTo(other: MCEntity): Float
fun distanceTo(blockPos: BlockPos): Float
fun distanceTo(x: Float, y: Float, z: Float): Float