net.minecraft.util

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

extends StringRepresentable$StringRepresentableCodec<E>

avk$a
net.minecraft.util.StringRepresentable$EnumCodec
net.minecraft.class_3542$class_7292
net.minecraft.util.StringIdentifiable$EnumCodec
net.minecraft.src.C_197_$C_212981_
net.minecraft.util.INamable$a

Field summary

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

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)
m_216455_(String arg0)
public E
a(String arg0, E arg1)
byName(String arg0, E arg1)
method_47920(String arg0, E arg1)
byId(String id, E fallback)
m_262792_(String p_263115_, E arg1)