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 dur$c$aintermediary net/minecraft/class_47$class_50$class_51named net/minecraft/loot/context/LootContext$EntityTarget$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmethod_317(JsonReader jsonReader) voidmethod_318(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, read, toJson, toJson, toJsonTree, write
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
method_318
public void method_318(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdur$c$a;a(Lcom/google/gson/stream/JsonWriter;Ldur$c;)Vintermediary method_318Lnet/minecraft/class_47$class_50$class_51;method_318(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/class_47$class_50;)Vnamed method_318Lnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;method_318(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/loot/context/LootContext$EntityTarget;)V
-
method_317
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdur$c$a;a(Lcom/google/gson/stream/JsonReader;)Ldur$c;intermediary method_317Lnet/minecraft/class_47$class_50$class_51;method_317(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/class_47$class_50;named method_317Lnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;method_317(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/loot/context/LootContext$EntityTarget;
-