randomOffset

fun randomOffset(xzSpread: IntProvider, ySpread: IntProvider)

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


fun randomOffset(xzSpread: Int, ySpread: Int)

Adds a RandomOffsetPlacement with the given xzSpread and ySpread values to this PlacedFeature, which offsets the given position by the provided values.