net.minecraft.util

public class StringRepresentable$EnumCodec<E extends Enum<E> extends StringRepresentable>

extends StringRepresentable$StringRepresentableCodec<E>

azv$a
net.minecraft.util.StringRepresentable$EnumCodec
net.minecraft.class_3542$class_7292
net.minecraft.util.StringIdentifiable$EnumCodec
net.minecraft.util.INamable$a

Field summary

Modifier and TypeField
private final Function<String, E>
a
resolver
field_38379
idToIdentifiable

Constructor summary

ModifierConstructor
public (E[] values, Function<String, E> idToIdentifiable)

Method summary

Modifier and TypeMethod
public E
a(String arg0)
byName(String arg0)
method_42633(String arg0)
byId(String id)
public E
a(String arg0, E arg1)
byName(String arg0, E arg1)
method_47920(String arg0, E arg1)
byId(String id, E fallback)
public E
a(String arg0, Supplier<? extends E> arg1)
byName(String arg0, Supplier<? extends E> arg1)
method_64604(String arg0, Supplier<? extends E> arg1)
byId(String id, Supplier<? extends E> fallbackSupplier)