net.minecraft.util

public interface StringRepresentable

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

Field summary

Modifier and TypeField
int
W
PRE_BUILT_MAP_THRESHOLD
field_38377
CACHED_MAP_THRESHOLD
f_216433_

Method summary

Modifier and TypeMethod
String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
static <E extends Enum<E> extends StringRepresentable> StringRepresentable$EnumCodec<E>
a(Supplier<E[]> arg0)
fromEnum(Supplier<E[]> arg0)
method_28140(Supplier<E[]> arg0)
createCodec(Supplier<E[]> enumValues)
m_216439_(Supplier<E[]> p_216440_)
static <E extends Enum<E> extends StringRepresentable> StringRepresentable$EnumCodec<E>
a(Supplier<E[]> arg0, Function<String, String> arg1)
fromEnumWithMapping(Supplier<E[]> arg0, Function<String, String> arg1)
method_49454(Supplier<E[]> arg0, Function<String, String> arg1)
createCodec(Supplier<E[]> enumValues, Function<String, String> valueNameTransformer)
m_274478_(Supplier<E[]> p_275615_, Function<String, String> p_275259_)
static <T extends StringRepresentable> com.mojang.serialization.Codec<T>
b(Supplier<T[]> arg0)
fromValues(Supplier<T[]> arg0)
method_53955(Supplier<T[]> arg0)
createBasicCodec(Supplier<T[]> values)
m_306774_(Supplier<T[]> p_311788_)
static <T extends StringRepresentable> Function<String, T>
a(T[] arg0, Function<String, String> arg1)
createNameLookup(T[] arg0, Function<String, String> arg1)
method_53953(T[] arg0, Function<String, String> arg1)
createMapper(T[] values, Function<String, String> valueNameTransformer)
m_306378_(T[] p_312243_, Function<String, String> p_313109_)
static com.mojang.serialization.Keyable
a(avk[] arg0)
keys(StringRepresentable[] arg0)
method_28142(class_3542[] arg0)
toKeyable(StringIdentifiable[] values)
m_14357_(C_197_[] p_14358_)