BlockDestination

class BlockDestination(positions: Collection<BlockPos>) : Destination

From LiquidBounce: Goal.kt

Constructors

Link copied to clipboard
constructor(positions: Collection<BlockPos>)

Properties

Link copied to clipboard
open override val ends: Collection<Vec3>

Sizes the searched region.

Functions

Link copied to clipboard
open override fun distance(x: Int, y: Int, z: Int): Double

Blocks from x y z to the goal; never more than the real distance.

open fun distance(pos: BlockPos): Double
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun isGoal(x: Int, y: Int, z: Int): Boolean
open fun isGoal(pos: BlockPos): Boolean
Link copied to clipboard
open fun region(start: Vec3, maxLength: Double, verticalMargin: Int): BlockRegion