net.minecraft.client.option

public record SimpleOption$MaxSuppliableIntCallbacks

implements SimpleOption$IntSliderCallbacks, SimpleOption$TypeChangeableCallbacks<Integer>

net.minecraft.client.OptionInstance$ClampingLazyMaxIntRange
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
minInclusive
comp_593
minInclusive
private final IntSupplier
maxSupplier
maxSupplier
comp_690
maxSupplier
private final int
encodableMaxInclusive
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)
validateValue(Integer value)
method_42408(Integer arg0)
validate(Integer arg0)
public int
maxInclusive()
maxInclusive()
comp_594()
maxInclusive()
public com.mojang.serialization.Codec<Integer>
codec()
codec()
comp_675()
codec()
public boolean
createCycleButton()
createCycleButton()
method_42722()
isCycling()
public CyclingButtonWidget$Values<Integer>
valueListSupplier()
valueListSupplier()
method_42721()
getValues()
public int
minInclusive()
minInclusive()
comp_593()
minInclusive()
public IntSupplier
maxSupplier()
maxSupplier()
comp_690()
maxSupplier()
public int
encodableMaxInclusive()
encodableMaxInclusive()
comp_1316()
encodableMaxInclusive()