Uses of Interface
dev.wyck.worldgen.function.misc.RangeChoice
Packages that use RangeChoice
-
Uses of RangeChoice in dev.wyck.worldgen.function
Methods in dev.wyck.worldgen.function that return RangeChoiceModifier and TypeMethodDescriptiondefault RangeChoiceDensityFunction.rangeChoice(double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) Uses this density function as the value to compare, returningwhenInRangewhen it falls within[minInclusive, maxExclusive)andwhenOutOfRangeotherwise.static RangeChoiceDensityFunction.rangeChoice(DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) Computesinputand returnswhenInRangewhen it falls within[minInclusive, maxExclusive)andwhenOutOfRangeotherwise. -
Uses of RangeChoice in dev.wyck.worldgen.function.misc
Subinterfaces with type arguments of type RangeChoice in dev.wyck.worldgen.function.miscModifier and TypeInterfaceDescriptioninterfaceComputes the input value and, depending on whether it falls within[minInclusive, maxExclusive), returns one of two other density functions.Methods in dev.wyck.worldgen.function.misc that return RangeChoiceModifier and TypeMethodDescriptionRangeChoice.Builder.build()Builds the range choice density function.static RangeChoiceRangeChoice.of(@Nullable ResourceKey resourceKey, DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) Creates a new range choice density function.static RangeChoiceRangeChoice.of(DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) Creates a new range choice density function.