net.minecraft.util

public interface StringRepresentable

bba
net.minecraft.util.StringRepresentable
net.minecraft.class_3542
net.minecraft.util.StringIdentifiable
net.minecraft.util.INamable

Field summary

Modifier and TypeField
int
W
PRE_BUILT_MAP_THRESHOLD
field_38377
CACHED_MAP_THRESHOLD

Method summary

Modifier and TypeMethod
String
c()
getSerializedName()
method_15434()
asString()
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)
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)
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)
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)
static com.mojang.serialization.Keyable
a(bba[] arg0)
keys(StringRepresentable[] arg0)
method_28142(class_3542[] arg0)
toKeyable(StringIdentifiable[] values)