Record Class DensityFunctions.Spline.Coordinate

java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.DensityFunctions.Spline.Coordinate
All Implemented Interfaces:
BoundedFloatFunction<DensityFunctions.Spline.Point>
Enclosing class:
DensityFunctions.Spline

public static record DensityFunctions.Spline.Coordinate(DensityFunction function) extends Record implements BoundedFloatFunction<DensityFunctions.Spline.Point>
  • Field Details

  • Constructor Details

    • Coordinate

      public Coordinate(DensityFunction function)
      Creates an instance of a Coordinate record class.
      Parameters:
      function - the value for the function record component
  • Method Details