net.minecraft.util

public class StringRepresentable$StringRepresentableCodec<S extends StringRepresentable>

implements com.mojang.serialization.Codec<S>

bba$b
net.minecraft.util.StringRepresentable$StringRepresentableCodec
net.minecraft.class_3542$class_8808
net.minecraft.util.StringIdentifiable$BasicCodec
net.minecraft.util.INamable$b

Field summary

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

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)
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)