toBlockPos

open fun toBlockPos(y: N): BlockPos

Deprecated

Consistent conversion functions are now available, making this function useless.

Replace with

this.to3DimensionalAtY(y).toMcBlockPos()