Uses of Interface
dev.wyck.worldgen.function.transformer.MappedTransformer
Packages that use MappedTransformer
-
Uses of MappedTransformer in dev.wyck.worldgen.function
Methods in dev.wyck.worldgen.function that return MappedTransformerModifier and TypeMethodDescriptiondefault MappedTransformerDensityFunction.abs()Calculates the absolute value of this density function.default MappedTransformerDensityFunction.cube()Cubes this density function.default MappedTransformerDensityFunction.halfNegative()Halves this density function where it is negative, leaving it unchanged where positive.default MappedTransformerDensityFunction.invert()Inverts this density function.default MappedTransformerDensityFunction.quarterNegative()Quarters this density function where it is negative, leaving it unchanged where positive.default MappedTransformerDensityFunction.square()Squares this density function.default MappedTransformerDensityFunction.squeeze()Clamps this density function between-1and1, then transforms it usingx / 2 - x * x * x / 24. -
Uses of MappedTransformer in dev.wyck.worldgen.function.transformer
Methods in dev.wyck.worldgen.function.transformer that return MappedTransformerModifier and TypeMethodDescriptionstatic MappedTransformerMappedTransformer.abs(DensityFunction input) Maps the input throughMappedTransformer.Transform.ABS, yielding its absolute value.static MappedTransformerMappedTransformer.cube(DensityFunction input) Maps the input throughMappedTransformer.Transform.CUBE, yielding its cube.static MappedTransformerMappedTransformer.halfNegative(DensityFunction input) Maps the input throughMappedTransformer.Transform.HALF_NEGATIVE, halving only its negative values.static MappedTransformerMappedTransformer.invert(DensityFunction input) Maps the input throughMappedTransformer.Transform.INVERT, negating it.static MappedTransformerMappedTransformer.of(@Nullable ResourceKey resourceKey, DensityFunction input, MappedTransformer.Transform transformation) Creates a new mapped density function.static MappedTransformerMappedTransformer.of(DensityFunction input, MappedTransformer.Transform transformation) Creates a new mapped density function.static MappedTransformerMappedTransformer.of(MappedTransformer.Transform transformation, DensityFunction input) Convenience method forMappedTransformer.of(DensityFunction, Transform).static MappedTransformerMappedTransformer.quarterNegative(DensityFunction input) Maps the input throughMappedTransformer.Transform.QUARTER_NEGATIVE, quartering only its negative values.static MappedTransformerMappedTransformer.square(DensityFunction input) Maps the input throughMappedTransformer.Transform.SQUARE, yielding its square.static MappedTransformerMappedTransformer.squeeze(DensityFunction input) Maps the input throughMappedTransformer.Transform.SQUEEZE, applying the vanilla squeeze curve.