Uses of Class
dev.wyck.worldgen.function.misc.RangeChoice.Builder
Packages that use RangeChoice.Builder
-
Uses of RangeChoice.Builder in dev.wyck.worldgen.function
Methods in dev.wyck.worldgen.function that return RangeChoice.BuilderModifier and TypeMethodDescriptionstatic RangeChoice.BuilderDensityFunction.rangeChoice()Creates a new builder for aRangeChoice. -
Uses of RangeChoice.Builder in dev.wyck.worldgen.function.misc
Methods in dev.wyck.worldgen.function.misc that return RangeChoice.BuilderModifier and TypeMethodDescriptionstatic RangeChoice.BuilderRangeChoice.builder()Creates a new builder.RangeChoice.Builder.input(DensityFunction input) Sets the value to compare against the range.RangeChoice.Builder.maxExclusive(double maxExclusive) Sets the upper bound of the range, exclusive.RangeChoice.Builder.minInclusive(double minInclusive) Sets the lower bound of the range, inclusive.RangeChoice.Builder.resourceKey(ResourceKey resourceKey) Sets the resource key.default RangeChoice.BuilderRangeChoice.toBuilder()Converts this object back to a builder.RangeChoice.Builder.whenInRange(DensityFunction whenInRange) Sets the density function used when the input is inside the range.RangeChoice.Builder.whenOutOfRange(DensityFunction whenOutOfRange) Sets the density function used when the input is outside the range.