toBlockPos

open fun toBlockPos(y: N): BlockPos(source)

Deprecated

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

Replace with

this.to3DimensionalAtY(y).toMcBlockPos()