Package net.minecraft.loot.context
Class LootContext.EntityTarget.Serializer
java.lang.Object
com.google.gson.TypeAdapter<LootContext.EntityTarget>
net.minecraft.loot.context.LootContext.EntityTarget.Serializer
- Enclosing class:
- LootContext.EntityTarget
public static class LootContext.EntityTarget.Serializer
extends TypeAdapter<LootContext.EntityTarget>
- Mappings:
- Namespace - Name - official - dzk$b$a- intermediary - net/minecraft/class_47$class_50$class_51- named - net/minecraft/loot/context/LootContext$EntityTarget$Serializer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionread(JsonReader jsonReader) voidwrite(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget) Methods inherited from class com.google.gson.TypeAdapterfromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
- 
Constructor Details- 
Serializerpublic Serializer()
 
- 
- 
Method Details- 
write- Specified by:
- writein class- TypeAdapter<LootContext.EntityTarget>
- Throws:
- IOException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzk$b$a;a(Lcom/google/gson/stream/JsonWriter;Ldzk$b;)V- intermediary - method_318- Lnet/minecraft/class_47$class_50$class_51;method_318(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/class_47$class_50;)V- named - write- Lnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;write(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/loot/context/LootContext$EntityTarget;)V
 
- 
read- Specified by:
- readin class- TypeAdapter<LootContext.EntityTarget>
- Throws:
- IOException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzk$b$a;a(Lcom/google/gson/stream/JsonReader;)Ldzk$b;- intermediary - method_317- Lnet/minecraft/class_47$class_50$class_51;method_317(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/class_47$class_50;- named - read- Lnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;read(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/loot/context/LootContext$EntityTarget;
 
 
-