Record Class DensityFunctions.Ap2

java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.DensityFunctions.Ap2
All Implemented Interfaces:
DensityFunction, DensityFunctions.TwoArgumentSimpleFunction
Enclosing class:
DensityFunctions

static record DensityFunctions.Ap2(DensityFunctions.TwoArgumentSimpleFunction.Type type, DensityFunction argument1, DensityFunction argument2, double minValue, double maxValue) extends Record implements DensityFunctions.TwoArgumentSimpleFunction
  • Field Details

    • type

      The field for the type record component.
    • argument1

      private final DensityFunction argument1
      The field for the argument1 record component.
    • argument2

      private final DensityFunction argument2
      The field for the argument2 record component.
    • minValue

      private final double minValue
      The field for the minValue record component.
    • maxValue

      private final double maxValue
      The field for the maxValue record component.
  • Constructor Details

    • Ap2

      Ap2(DensityFunctions.TwoArgumentSimpleFunction.Type type, DensityFunction argument1, DensityFunction argument2, double minValue, double maxValue)
      Creates an instance of a Ap2 record class.
      Parameters:
      type - the value for the type record component
      argument1 - the value for the argument1 record component
      argument2 - the value for the argument2 record component
      minValue - the value for the minValue record component
      maxValue - the value for the maxValue record component
  • Method Details