Package net.minecraft.loot.condition
Class KilledByPlayerLootCondition.Serializer
java.lang.Object
net.minecraft.loot.condition.KilledByPlayerLootCondition.Serializer
- All Implemented Interfaces:
JsonSerializer<KilledByPlayerLootCondition>
- Enclosing class:
KilledByPlayerLootCondition
public static class KilledByPlayerLootCondition.Serializer
extends Object
implements JsonSerializer<KilledByPlayerLootCondition>
- Mappings:
Namespace Name official ecl$a
intermediary net/minecraft/class_221$class_222
named net/minecraft/loot/condition/KilledByPlayerLootCondition$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) void
toJson
(JsonObject jsonObject, KilledByPlayerLootCondition killedByPlayerLootCondition, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, KilledByPlayerLootCondition killedByPlayerLootCondition, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<KilledByPlayerLootCondition>
- Mappings:
Namespace Name Mixin selector official a
Lecl$a;a(Lcom/google/gson/JsonObject;Lecl;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_942
Lnet/minecraft/class_221$class_222;method_942(Lcom/google/gson/JsonObject;Lnet/minecraft/class_221;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/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) - Specified by:
fromJson
in interfaceJsonSerializer<KilledByPlayerLootCondition>
- Mappings:
Namespace Name Mixin selector official b
Lecl$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lecl;
intermediary method_943
Lnet/minecraft/class_221$class_222;method_943(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_221;
named fromJson
Lnet/minecraft/loot/condition/KilledByPlayerLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/KilledByPlayerLootCondition;
-