net.minecraft.client

public record OptionInstance$AltEnum<T>

implements OptionInstance$CycleableValueSet<T>

fln$a
net.minecraft.client.OptionInstance$AltEnum
net.minecraft.class_7172$class_7273
net.minecraft.client.option.SimpleOption$AlternateValuesSupportingCyclingCallbacks

Field summary

Modifier and TypeField
private final List<T>
a
values
comp_671
values
private final List<T>
b
altValues
comp_672
altValues
private final BooleanSupplier
c
altCondition
comp_673
altCondition
private final OptionInstance$CycleableValueSet$ValueSetter<T>
d
valueSetter
comp_674
valueSetter
private final com.mojang.serialization.Codec<T>
e
codec
comp_675
codec

Constructor summary

ModifierConstructor
public (List<T> arg0, List<T> arg1, BooleanSupplier arg2, OptionInstance$CycleableValueSet$ValueSetter<T> arg3, com.mojang.serialization.Codec<T> arg4)

Method summary

Modifier and TypeMethod
public CycleButton$ValueListSupplier<T>
a()
valueListSupplier()
method_42721()
getValues()
public Optional<T>
a(T arg0)
validateValue(T arg0)
method_41758(T arg0)
validate(T arg0)
public List<T>
b()
values()
comp_671()
values()
public List<T>
c()
altValues()
comp_672()
altValues()
public BooleanSupplier
d()
altCondition()
comp_673()
altCondition()
public OptionInstance$CycleableValueSet$ValueSetter<T>
e()
valueSetter()
comp_674()
valueSetter()
public com.mojang.serialization.Codec<T>
f()
codec()
comp_675()
codec()