CollisionResult

class CollisionResult(val pos: BlockPos?, val tick: Int, val positionBeforeMovement: Vec3)

positionBeforeMovement matches the position from which Minecraft 26.2 performs item use before the movement step represented by tick.

Constructors

Link copied to clipboard
constructor(pos: BlockPos?, tick: Int, positionBeforeMovement: Vec3)

Properties

Link copied to clipboard
val pos: BlockPos?
Link copied to clipboard
Link copied to clipboard
val tick: Int