net.minecraft.client

public record OptionInstance$LazyEnum<T>

implements OptionInstance$CycleableValueSet<T>

fmj$h
net.minecraft.client.OptionInstance$LazyEnum
net.minecraft.class_7172$class_7276
net.minecraft.client.option.SimpleOption$LazyCyclingCallbacks

Field summary

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

Constructor summary

ModifierConstructor
public (Supplier<List<T>> arg0, Function<T, Optional<T>> arg1, 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)
public CycleButton$ValueListSupplier<T>
a()
valueListSupplier()
method_42721()
getValues()
public Supplier<List<T>>
b()
values()
comp_676()
values()
public Function<T, Optional<T>>
c()
validateValue()
comp_677()
validateValue()
public com.mojang.serialization.Codec<T>
f()
codec()
comp_675()
codec()