net.minecraft.client

public record OptionInstance$LazyEnum<T>

implements OptionInstance$CycleableValueSet<T>

evl$h
net.minecraft.client.OptionInstance$LazyEnum
net.minecraft.class_7172$class_7276
net.minecraft.unmapped.C_vbibxkxv$C_utmexptx
net.minecraft.client.option.SimpleOption$LazyCyclingCallbacks
net.minecraft.client.option.Option$LazyEnumValueSet
net.minecraft.src.C_213334_$C_213344_

Field summary

Modifier and TypeField
private final Supplier<List<T>>
a
values
comp_676
f_gvnqdfkt
values
values
f_231680_
private final Function<T, Optional<T>>
b
validateValue
comp_677
f_zosooxvh
validateValue
validateValue
f_231681_
private final com.mojang.serialization.Codec<T>
c
codec
comp_675
f_acxnfyzk
codec
codec
f_231682_

Constructor summary

ModifierConstructor
public (Supplier<List<T>> values, Function<T, Optional<T>> validateValue, com.mojang.serialization.Codec<T> codec)

Method summary

Modifier and TypeMethod
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 CycleButton$ValueListSupplier<T>
a()
valueListSupplier()
method_42721()
m_qvcpsfqf()
getValues()
getValues()
m_213889_()
public Supplier<List<T>>
b()
values()
comp_676()
m_tqxcdnnn()
values()
values()
f_231680_()
public Function<T, Optional<T>>
c()
validateValue()
comp_677()
m_cqmewluo()
validateValue()
validateValue()
f_231681_()
public com.mojang.serialization.Codec<T>
f()
codec()
comp_675()
m_tmfevpur()
codec()
codec()
m_213664_()