net.minecraft.client

public record OptionInstance$Enum<T>

implements OptionInstance$CycleableValueSet<T>

fmj$e
net.minecraft.client.OptionInstance$Enum
net.minecraft.class_7172$class_7173
net.minecraft.client.option.SimpleOption$PotentialValuesBasedCallbacks

Field summary

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

Constructor summary

ModifierConstructor
public (List<T> arg0, 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)
public CycleButton$ValueListSupplier<T>
a()
valueListSupplier()
method_42721()
getValues()
public List<T>
b()
values()
comp_592()
values()
public com.mojang.serialization.Codec<T>
f()
codec()
comp_675()
codec()