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