net.minecraft.util

public class StringRepresentable$StringRepresentableCodec<S extends StringRepresentable>

implements com.mojang.serialization.Codec<S>

azk$b
net.minecraft.util.StringRepresentable$StringRepresentableCodec
net.minecraft.class_3542$class_8808
net.minecraft.util.StringIdentifiable$BasicCodec
net.minecraft.src.C_197_$C_302060_
net.minecraft.util.INamable$b

Field summary

Modifier and TypeField
private final com.mojang.serialization.Codec<S>
a
codec
field_46245
codec
f_302920_

Constructor summary

ModifierConstructor
public (S[] values, Function<String, S> idToIdentifiable, ToIntFunction<S> identifiableToOrdinal)

Method summary

Modifier and TypeMethod
public <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<S, 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_312317_, T arg1)
public <T> com.mojang.serialization.DataResult<T>
a(S arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(S arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_53956(S arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(S arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(S p_310685_, com.mojang.serialization.DynamicOps<T> p_312430_, T arg2)