net.minecraft.client.option

public record SimpleOption$MaxSuppliableIntCallbacks

implements SimpleOption$IntSliderCallbacks, SimpleOption$TypeChangeableCallbacks<Integer>

net.minecraft.client.OptionInstance$ClampingLazyMaxIntRange
net.minecraft.class_7172$class_7304
net.minecraft.client.option.SimpleOption$MaxSuppliableIntCallbacks

Field summary

Modifier and TypeField
private final int
minInclusive
comp_593
minInclusive
private final IntSupplier
maxSupplier
comp_690
maxSupplier
private final int
encodableMaxInclusive
comp_1316
encodableMaxInclusive

Constructor summary

ModifierConstructor
public (int minInclusive, IntSupplier maxSupplier, int encodableMaxInclusive)

Method summary

Modifier and TypeMethod
public Optional<Integer>
validateValue(Integer value)
method_42408(Integer arg0)
validate(Integer arg0)
public int
maxInclusive()
comp_594()
maxInclusive()
public com.mojang.serialization.Codec<Integer>
codec()
comp_675()
codec()
public boolean
createCycleButton()
method_42722()
isCycling()
public CyclingButtonWidget$Values<Integer>
valueListSupplier()
method_42721()
getValues()
public int
minInclusive()
comp_593()
minInclusive()
public IntSupplier
maxSupplier()
comp_690()
maxSupplier()
public int
encodableMaxInclusive()
comp_1316()
encodableMaxInclusive()
public Optional
validateValue(Object value)
method_41758(Object arg0)
validate(Object arg0)
private com.mojang.serialization.DataResult
lambda$codec$0(Integer arg0)
method_42409(Integer arg0)
method_42409(Integer value)
private String
lambda$codec$1(Integer arg0, int arg1)
method_49597(Integer arg0, int arg1)
method_49597(Integer arg0, int arg1)