net.minecraft.client

public record OptionInstance$AltEnum<T>

implements OptionInstance$CycleableValueSet<T>

evl$a
net.minecraft.client.OptionInstance$AltEnum
net.minecraft.class_7172$class_7273
net.minecraft.client.option.SimpleOption$AlternateValuesSupportingCyclingCallbacks
net.minecraft.src.C_213334_$C_213335_

Field summary

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

Constructor summary

ModifierConstructor
public (List<T> f_231558_, List<T> f_231559_, BooleanSupplier f_231560_, OptionInstance$CycleableValueSet$ValueSetter<T> f_231561_, com.mojang.serialization.Codec<T> arg4)

Method summary

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