记录类 DensityFunctions.Mapped

java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.DensityFunctions.Mapped
所有已实现的接口:
DensityFunction, DensityFunctions.PureTransformer
封闭类:
DensityFunctions

protected static record DensityFunctions.Mapped(DensityFunctions.Mapped.Type type, DensityFunction input, double minValue, double maxValue) extends Record implements DensityFunctions.PureTransformer
  • 字段详细资料

    • type

      private final DensityFunctions.Mapped.Type type
      type 记录组件的字段。
    • input

      private final DensityFunction input
      input 记录组件的字段。
    • minValue

      private final double minValue
      minValue 记录组件的字段。
    • maxValue

      private final double maxValue
      maxValue 记录组件的字段。
  • 构造器详细资料

    • Mapped

      protected Mapped(DensityFunctions.Mapped.Type type, DensityFunction input, double minValue, double maxValue)
      创建 Mapped 记录类的实例。
      参数:
      type - type 记录组件的值
      input - input 记录组件的值
      minValue - minValue 记录组件的值
      maxValue - maxValue 记录组件的值
  • 方法详细资料