Package net.minecraft.loot.condition
Class DamageSourcePropertiesLootCondition.Serializer
java.lang.Object
net.minecraft.loot.condition.DamageSourcePropertiesLootCondition.Serializer
- All Implemented Interfaces:
JsonSerializer<DamageSourcePropertiesLootCondition>
- Enclosing class:
- DamageSourcePropertiesLootCondition
public static class DamageSourcePropertiesLootCondition.Serializer extends Object implements JsonSerializer<DamageSourcePropertiesLootCondition>
- Mappings:
Namespace Name official dgu$a
intermediary net/minecraft/class_190$class_191
named net/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description DamageSourcePropertiesLootCondition
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
void
toJson(JsonObject jsonObject, DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializer<DamageSourcePropertiesLootCondition>
- Mappings:
Namespace Name Mixin selector official a
Ldgu$a;a(Lcom/google/gson/JsonObject;Ldgu;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_838
Lnet/minecraft/class_190$class_191;method_838(Lcom/google/gson/JsonObject;Lnet/minecraft/class_190;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public DamageSourcePropertiesLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)- Specified by:
fromJson
in interfaceJsonSerializer<DamageSourcePropertiesLootCondition>
- Mappings:
Namespace Name Mixin selector official b
Ldgu$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldgu;
intermediary method_839
Lnet/minecraft/class_190$class_191;method_839(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_190;
named fromJson
Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition;
-