net.minecraft.util

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

implements com.mojang.serialization.Codec<E>

amw$a
net.minecraft.util.StringRepresentable$EnumCodec
net.minecraft.class_3542$class_7292
net.minecraft.unmapped.C_lgkqzafw$C_nxwenkbc
net.minecraft.util.StringIdentifiable$Codec
net.minecraft.util.StringIdentifiable$EnumCodec
net.minecraft.src.C_212981_
net.minecraft.util.INamable$a

Field summary

Modifier and TypeField
private com.mojang.serialization.Codec<E>
a
codec
field_38378
f_yqanbtam
base
base
f_216444_
private Function<String, E>
b
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 <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E, T>>
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> ops, T input)
decode(com.mojang.serialization.DynamicOps<T> p_216464_, T arg1)
public <T> com.mojang.serialization.DataResult<T>
a(E arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(E arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_42631(E arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_zyupmkpp(E arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(E arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(E arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(E p_216451_, com.mojang.serialization.DynamicOps<T> p_216452_, T arg2)
public E
a(String arg0)
byName(String arg0)
method_42633(String arg0)
m_leiahkma(String arg0)
byId(String id)
resolve(String id)
m_216455_(String arg0)