类 KilledByPlayerLootCondition.Serializer
- java.lang.Object
-
- net.minecraft.loot.condition.KilledByPlayerLootCondition.Serializer
-
- 所有已实现的接口:
JsonSerializer<KilledByPlayerLootCondition>
public static class KilledByPlayerLootCondition.Serializer extends Object implements JsonSerializer<KilledByPlayerLootCondition>
- Mappings:
Namespace Name official dkl$aintermediary net/minecraft/class_221$class_222named net/minecraft/loot/condition/KilledByPlayerLootCondition$Serializer
-
-
构造器概要
构造器 构造器 说明 Serializer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 KilledByPlayerLootConditionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)voidtoJson(JsonObject jsonObject, KilledByPlayerLootCondition killedByPlayerLootCondition, JsonSerializationContext jsonSerializationContext)
-
-
-
方法详细资料
-
toJson
public void toJson(JsonObject jsonObject, KilledByPlayerLootCondition killedByPlayerLootCondition, JsonSerializationContext jsonSerializationContext)
- 指定者:
toJson在接口中JsonSerializer<KilledByPlayerLootCondition>- Mappings:
Namespace Name Mixin selector official aLdkl$a;a(Lcom/google/gson/JsonObject;Ldkl;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_942Lnet/minecraft/class_221$class_222;method_942(Lcom/google/gson/JsonObject;Lnet/minecraft/class_221;Lcom/google/gson/JsonSerializationContext;)Vnamed toJsonLnet/minecraft/loot/condition/KilledByPlayerLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/KilledByPlayerLootCondition;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public KilledByPlayerLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
- 指定者:
fromJson在接口中JsonSerializer<KilledByPlayerLootCondition>- Mappings:
Namespace Name Mixin selector official bLdkl$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldkl;intermediary method_943Lnet/minecraft/class_221$class_222;method_943(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_221;named fromJsonLnet/minecraft/loot/condition/KilledByPlayerLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/KilledByPlayerLootCondition;
-
-