public class JsonHoverEventSerializer_v1_20_3 extends java.lang.Object implements ITypedSerializer<com.google.gson.JsonElement,AHoverEvent>, CodecUtils_v1_20_3
| Constructor and Description |
|---|
JsonHoverEventSerializer_v1_20_3(TextComponentCodec codec,
ITypedSerializer<com.google.gson.JsonElement,ATextComponent> textSerializer,
net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag> sNbtSerializer) |
| Modifier and Type | Method and Description |
|---|---|
AHoverEvent |
deserialize(com.google.gson.JsonElement object) |
protected java.util.UUID |
getUUID(com.google.gson.JsonElement element) |
com.google.gson.JsonElement |
serialize(AHoverEvent object) |
protected <T extends java.lang.Throwable> |
sneak(java.lang.Throwable t) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsArray, containsObject, containsString, isNumber, isObject, isString, optionalBoolean, optionalBoolean, optionalCompound, optionalInt, optionalInt, optionalObject, optionalString, optionalString, requiredBoolean, requiredBoolean, requiredCompound, requiredInt, requiredInt, requiredObject, requiredString, requiredString, unwrapMarkerspublic JsonHoverEventSerializer_v1_20_3(TextComponentCodec codec, ITypedSerializer<com.google.gson.JsonElement,ATextComponent> textSerializer, net.lenni0451.mcstructs.snbt.SNbtSerializer<net.lenni0451.mcstructs.nbt.tags.CompoundTag> sNbtSerializer)
public com.google.gson.JsonElement serialize(AHoverEvent object)
serialize in interface ITypedSerializer<com.google.gson.JsonElement,AHoverEvent>public AHoverEvent deserialize(com.google.gson.JsonElement object)
deserialize in interface ITypedSerializer<com.google.gson.JsonElement,AHoverEvent>protected <T extends java.lang.Throwable> void sneak(java.lang.Throwable t)
throws T extends java.lang.Throwable
T extends java.lang.Throwableprotected java.util.UUID getUUID(com.google.gson.JsonElement element)