net.minecraft.client

public record OptionInstance$AltEnum<T>

implements OptionInstance$CycleableValueSet<T>

fmj$a
net.minecraft.client.OptionInstance$AltEnum
net.minecraft.class_7172$class_7273
net.minecraft.unmapped.C_vbibxkxv$C_ewqcrtji
net.minecraft.client.option.SimpleOption$AlternateValuesSupportingCyclingCallbacks
net.minecraft.client.option.Option$AlternativeEnumValueSet
net.minecraft.src.C_213334_$C_213335_

Field summary

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

Constructor summary

ModifierConstructor
public (List<T> values, List<T> altValues, BooleanSupplier altCondition, OptionInstance$CycleableValueSet$ValueSetter<T> valueSetter, com.mojang.serialization.Codec<T> codec)

Method summary

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