randomHorizontalOffset

fun randomHorizontalOffset(xzSpread: IntProvider)

Adds a RandomOffsetPlacement with a ySpread value of 0 and the given xzSpread value to this PlacedFeature, which offsets the x- and z-coordinates of the given position by the provided IntProvider's value. Please note, that the xzSpread is sampled separately for the x- and z-coordinates.


Adds a RandomOffsetPlacement with a ySpread value of 0 and the given xzSpread value to this PlacedFeature, which offsets the x- and z-coordinates of the given position by the provided value.