net.minecraft.client

public record OptionInstance$LazyEnum<T>

implements OptionInstance$CycleableValueSet<T>

enq$h
net.minecraft.client.OptionInstance$LazyEnum
net.minecraft.class_7172$class_7276
net.minecraft.client.option.SimpleOption$LazyCyclingCallbacks
net.minecraft.src.C_213334_$C_213344_

Field summary

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

Constructor summary

ModifierConstructor
public (Supplier<List<T>> f_231681_, Function<T, Optional<T>> f_231682_, com.mojang.serialization.Codec<T> arg2)

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 Supplier<List<T>>
b()
values()
comp_676()
values()
f_231680_()
public Function<T, Optional<T>>
c()
validateValue()
comp_677()
validateValue()
f_231681_()
public com.mojang.serialization.Codec<T>
f()
codec()
comp_675()
codec()
m_213664_()