getPredictedPlacementPos

fun getPredictedPlacementPos(optimalLine: Line?): Vec3?

Calculates where the player will stand when he places the block. Useful for rotations

Return

the predicted pos or null if the prediction failed