BlockOffsetOptions

class BlockOffsetOptions(val offsetsToInvestigate: List<Vec3i>, val priorityComparator: Comparator<BlockPos>)

Contains information about offsets (to the target pos) which should be investigated.

Parameters

offsetsToInvestigate

the offsets (to the position) which the targeting algorithm will consider to place. Prioritized with priorityComparator

priorityComparator

compares two offsets by their priority. An offset which ranks higher is prioritized.

Constructors

Link copied to clipboard
constructor(offsetsToInvestigate: List<Vec3i>, priorityComparator: Comparator<BlockPos>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard