类 LootContext.EntityTarget.Serializer
- java.lang.Object
-
- com.google.gson.TypeAdapter<LootContext.EntityTarget>
-
- net.minecraft.loot.context.LootContext.EntityTarget.Serializer
-
public static class LootContext.EntityTarget.Serializer extends TypeAdapter<LootContext.EntityTarget>
- Mappings:
Namespace Name official dhp$c$aintermediary net/minecraft/class_47$class_50$class_51named net/minecraft/loot/context/LootContext$EntityTarget$Serializer
-
-
构造器概要
构造器 构造器 说明 Serializer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LootContext.EntityTargetread(JsonReader jsonReader)voidwrite(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget)-
从类继承的方法 com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
-
-
-
方法详细资料
-
write
public void write(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget) throws IOException
- 指定者:
write在类中TypeAdapter<LootContext.EntityTarget>- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLdhp$c$a;a(Lcom/google/gson/stream/JsonWriter;Ldhp$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 writeLnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;write(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/loot/context/LootContext$EntityTarget;)V
-
read
public LootContext.EntityTarget read(JsonReader jsonReader) throws IOException
- 指定者:
read在类中TypeAdapter<LootContext.EntityTarget>- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLdhp$c$a;a(Lcom/google/gson/stream/JsonReader;)Ldhp$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 readLnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;read(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/loot/context/LootContext$EntityTarget;
-
-