public class TextComponentCodec_v1_21_2 extends TextComponentCodec_v1_20_5
| Modifier | Constructor and Description |
|---|---|
|
TextComponentCodec_v1_21_2() |
protected |
TextComponentCodec_v1_21_2(java.util.function.Supplier<net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag>> sNbtSerializerSupplier,
java.util.function.BiFunction<TextComponentCodec,net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag>,ITextComponentSerializer<com.google.gson.JsonElement>> jsonSerializerSupplier,
java.util.function.BiFunction<TextComponentCodec,net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag>,ITextComponentSerializer<net.lenni0451.mcstructs.nbt.INbtTag>> nbtSerializerSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
verifyEntitySelector(java.lang.String selector)
Verify if the given entity selector is valid.
|
convertItemComponents, convertItemComponents, verifyEntity, verifyItem, verifyItemComponentsasSerializer, deserialize, deserialize, deserializeJson, deserializeJsonReader, deserializeJsonTree, deserializeLenientJson, deserializeNbt, deserializeNbtTree, getJsonSerializer, getNbtSerializer, serializeJsonString, serializeJsonTree, serializeNbt, serializeNbtStringpublic TextComponentCodec_v1_21_2()
protected TextComponentCodec_v1_21_2(java.util.function.Supplier<net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag>> sNbtSerializerSupplier,
java.util.function.BiFunction<TextComponentCodec,net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag>,ITextComponentSerializer<com.google.gson.JsonElement>> jsonSerializerSupplier,
java.util.function.BiFunction<TextComponentCodec,net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag>,ITextComponentSerializer<net.lenni0451.mcstructs.nbt.INbtTag>> nbtSerializerSupplier)