记录类 OptionInstance.ClampingLazyMaxIntRange

java.lang.Object
java.lang.Record
net.minecraft.client.OptionInstance.ClampingLazyMaxIntRange
所有已实现的接口:
OptionInstance.CycleableValueSet<Integer>, OptionInstance.IntRangeBase, OptionInstance.SliderableOrCyclableValueSet<Integer>, OptionInstance.SliderableValueSet<Integer>, OptionInstance.ValueSet<Integer>
封闭类:
OptionInstance<T>

public static record OptionInstance.ClampingLazyMaxIntRange(int minInclusive, IntSupplier maxSupplier, int encodableMaxInclusive) extends Record implements OptionInstance.IntRangeBase, OptionInstance.SliderableOrCyclableValueSet<Integer>
  • 字段详细资料

    • minInclusive

      private final int minInclusive
      minInclusive 记录组件的字段。
    • maxSupplier

      private final IntSupplier maxSupplier
      maxSupplier 记录组件的字段。
    • encodableMaxInclusive

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

    • ClampingLazyMaxIntRange

      public ClampingLazyMaxIntRange(int minInclusive, IntSupplier maxSupplier, int encodableMaxInclusive)
      创建 ClampingLazyMaxIntRange 记录类的实例。
      参数:
      minInclusive - minInclusive 记录组件的值
      maxSupplier - maxSupplier 记录组件的值
      encodableMaxInclusive - encodableMaxInclusive 记录组件的值
  • 方法详细资料