net.minecraft.client

public record OptionInstance$Enum<T>

implements OptionInstance$CycleableValueSet<T>

fgr$e
net.minecraft.client.OptionInstance$Enum
net.minecraft.class_7172$class_7173
net.minecraft.client.option.SimpleOption$PotentialValuesBasedCallbacks
net.minecraft.src.C_213334_$C_213340_

Field summary

Modifier and TypeField
private final List<T>
a
values
comp_592
values
f_231625_
private final com.mojang.serialization.Codec<T>
b
codec
comp_675
codec
f_231626_

Constructor summary

ModifierConstructor
public (List<T> codec, com.mojang.serialization.Codec<T> arg1)

Method summary

Modifier and TypeMethod
public Optional<T>
a(T arg0)
validateValue(T arg0)
method_41758(T arg0)
validate(T arg0)
m_214064_(T arg0)
public CycleButton$ValueListSupplier<T>
a()
valueListSupplier()
method_42721()
getValues()
m_213889_()
public List<T>
b()
values()
comp_592()
values()
f_231625_()
public com.mojang.serialization.Codec<T>
f()
codec()
comp_675()
codec()
m_213664_()