net.minecraft.network.chat

public class Component$Serializer

implements com.google.gson.JsonDeserializer<MutableComponent>, com.google.gson.JsonSerializer<Component>

mr$a
net.minecraft.network.chat.Component$Serializer
net.minecraft.class_2561$class_2562
net.minecraft.text.Text$Serializer
net.minecraft.util.text.ITextComponent$Serializer
net.minecraft.server.v1_16_R1.IChatBaseComponent$ChatSerializer

Field summary

Modifier and TypeField
private static final com.google.gson.Gson
a
GSON
field_11754
GSON
field_150700_a
private static final Field
b
JSON_READER_POS
field_11753
JSON_READER_POS
field_197674_b
private static final Field
c
JSON_READER_LINESTART
field_11752
JSON_READER_LINE_START
field_200530_c

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public MutableComponent
a(com.google.gson.JsonElement arg0, Type arg1, com.google.gson.JsonDeserializationContext arg2)
deserialize(com.google.gson.JsonElement arg0, Type arg1, com.google.gson.JsonDeserializationContext arg2)
method_10871(com.google.gson.JsonElement arg0, Type arg1, com.google.gson.JsonDeserializationContext arg2)
deserialize(com.google.gson.JsonElement arg0, Type arg1, com.google.gson.JsonDeserializationContext arg2)
deserialize(com.google.gson.JsonElement arg0, Type arg1, com.google.gson.JsonDeserializationContext arg2)
private void
a(nb arg0, com.google.gson.JsonObject arg1, com.google.gson.JsonSerializationContext arg2)
serializeStyle(Style arg0, com.google.gson.JsonObject arg1, com.google.gson.JsonSerializationContext arg2)
method_10875(class_2583 arg0, com.google.gson.JsonObject arg1, com.google.gson.JsonSerializationContext arg2)
addStyle(Style style, com.google.gson.JsonObject json, com.google.gson.JsonSerializationContext context)
func_150695_a(Style arg0, com.google.gson.JsonObject arg1, com.google.gson.JsonSerializationContext arg2)
public com.google.gson.JsonElement
a(mr arg0, Type arg1, com.google.gson.JsonSerializationContext arg2)
serialize(Component arg0, Type arg1, com.google.gson.JsonSerializationContext arg2)
method_10874(class_2561 arg0, Type arg1, com.google.gson.JsonSerializationContext arg2)
serialize(Text arg0, Type arg1, com.google.gson.JsonSerializationContext arg2)
serialize(ITextComponent arg0, Type arg1, com.google.gson.JsonSerializationContext arg2)
public static String
a(mr arg0)
toJson(Component arg0)
method_10867(class_2561 arg0)
toJson(Text text)
func_150696_a(ITextComponent arg0)
public static com.google.gson.JsonElement
b(mr arg0)
toJsonTree(Component arg0)
method_10868(class_2561 arg0)
toJsonTree(Text text)
func_200528_b(ITextComponent arg0)
public static MutableComponent
a(String arg0)
fromJson(String arg0)
method_10877(String arg0)
fromJson(String json)
func_240643_a_(String arg0)
public static MutableComponent
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_10872(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
func_240641_a_(com.google.gson.JsonElement arg0)
public static MutableComponent
b(String arg0)
fromJsonLenient(String arg0)
method_10873(String arg0)
fromLenientJson(String json)
func_240644_b_(String arg0)
public static MutableComponent
a(com.mojang.brigadier.StringReader arg0)
fromJson(com.mojang.brigadier.StringReader arg0)
method_10879(com.mojang.brigadier.StringReader arg0)
fromJson(com.mojang.brigadier.StringReader reader)
func_240642_a_(com.mojang.brigadier.StringReader arg0)
private static int
a(com.google.gson.stream.JsonReader arg0)
getPos(com.google.gson.stream.JsonReader arg0)
method_10880(com.google.gson.stream.JsonReader arg0)
getPosition(com.google.gson.stream.JsonReader reader)
func_197673_a(com.google.gson.stream.JsonReader arg0)