toPosition

open fun toPosition(y: Int): BlockPosition

Converts this column position to a full BlockPosition by supplying a Y coordinate.

Return

a BlockPosition with this column's X and Z and the given Y

Parameters

y

the Y coordinate to use