net.minecraft.util

public interface StringRepresentable

ahi
net.minecraft.util.StringRepresentable
net.minecraft.class_3542
net.minecraft.util.StringIdentifiable
net.minecraft.src.C_197_
net.minecraft.util.INamable

Method summary

Modifier and TypeMethod
String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
getName()
static <E extends Enum<E> extends StringRepresentable> com.mojang.serialization.Codec<E>
a(Supplier<E[]> arg0, Function<? super String, ? extends E> arg1)
fromEnum(Supplier<E[]> arg0, Function<? super String, ? extends E> arg1)
method_28140(Supplier<E[]> arg0, Function<? super String, ? extends E> arg1)
createCodec(Supplier<E[]> enumValues, Function<? super String, ? extends E> fromString)
m_14350_(Supplier<E[]> p_14351_, Function<? super String, ? extends E> p_14352_)
static <E extends StringRepresentable> com.mojang.serialization.Codec<E>
a(ToIntFunction<E> arg0, IntFunction<E> arg1, Function<? super String, ? extends E> arg2)
fromStringResolver(ToIntFunction<E> arg0, IntFunction<E> arg1, Function<? super String, ? extends E> arg2)
method_28141(ToIntFunction<E> arg0, IntFunction<E> arg1, Function<? super String, ? extends E> arg2)
createCodec(ToIntFunction<E> compressedEncoder, IntFunction<E> compressedDecoder, Function<? super String, ? extends E> decoder)
m_14353_(ToIntFunction<E> p_14354_, IntFunction<E> p_14355_, Function<? super String, ? extends E> p_14356_)
static com.mojang.serialization.Keyable
a(ahi[] arg0)
keys(StringRepresentable[] arg0)
method_28142(class_3542[] arg0)
toKeyable(StringIdentifiable[] values)
m_14357_(C_197_[] p_14358_)