net.minecraft.util

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

extends StringRepresentable$StringRepresentableCodec<E>

bba$a
net.minecraft.util.StringRepresentable$EnumCodec
net.minecraft.class_3542$class_7292
net.minecraft.unmapped.C_lgkqzafw$C_nxwenkbc
net.minecraft.util.StringIdentifiable$EnumCodec
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
f_wzwwpoge
idToIdentifiable
resolver
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)
m_gijilqix(String arg0)
byId(String id)
get(String id)
m_216455_(String arg0)
public E
a(String arg0, E arg1)
byName(String arg0, E arg1)
method_47920(String arg0, E arg1)
m_uijinkjp(String arg0, E arg1)
byId(String id, E fallback)
getOrElse(String id, E defaultValue)
m_262792_(String p_263115_, E arg1)
public E
a(String arg0, Supplier<? extends E> arg1)
byName(String arg0, Supplier<? extends E> arg1)
method_64604(String arg0, Supplier<? extends E> arg1)
m_uqmvdcez(String arg0, Supplier<? extends E> arg1)
byId(String id, Supplier<? extends E> fallbackSupplier)
m_uqmvdcez(String id, Supplier<? extends E> supplier)
m_353419_(String p_363447_, Supplier<? extends E> arg1)