Interface MappedNoiseFunction

All Superinterfaces:
DensityFunction, Keyed, NoiseFunction, NoiseParameterFunction, Registerable<NoiseParameterFunction>, Wrapper

@NullMarked @AsOf("3.0.0") public interface MappedNoiseFunction extends NoiseFunction
A noise function that maps the output of another noise function to a range, probably.
Since:
3.0.0
  • Method Details

    • minTarget

      @AsOf("3.0.0") double minTarget()
      The minimum target.
      Returns:
      the minimum target
      Since:
      3.0.0
    • maxTarget

      @AsOf("3.0.0") double maxTarget()
      The maximum target.
      Returns:
      the maximum target
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default MappedNoiseFunction.Builder toBuilder()
      Converts this object back to a builder.
      Specified by:
      toBuilder in interface NoiseFunction
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static MappedNoiseFunction of(@Nullable ResourceKey resourceKey, NoiseParameters noiseParameters, double xzScale, double yScale, double minTarget, double maxTarget)
      Creates a new mapped noise function.
      Parameters:
      resourceKey - the resource key, or null
      noiseParameters - the noise parameters
      xzScale - the xz scale
      yScale - the y scale
      minTarget - the minimum target value
      maxTarget - the maximum target value
      Returns:
      a new mapped noise function
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static MappedNoiseFunction of(NoiseParameters noiseParameters, double xzScale, double yScale, double minTarget, double maxTarget)
      Creates a new mapped noise function.
      Parameters:
      noiseParameters - the noise parameters
      xzScale - the xz scale
      yScale - the y scale
      minTarget - the minimum target value
      maxTarget - the maximum target value
      Returns:
      a new mapped noise function
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static MappedNoiseFunction.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0