Package net.minecraft.loot.condition
Class WeatherCheckLootCondition.Serializer
java.lang.Object
net.minecraft.loot.condition.WeatherCheckLootCondition.Serializer
- All Implemented Interfaces:
JsonSerializer<WeatherCheckLootCondition>
- Enclosing class:
WeatherCheckLootCondition
public static class WeatherCheckLootCondition.Serializer
extends Object
implements JsonSerializer<WeatherCheckLootCondition>
- Mappings:
Namespace Name official ecr$bintermediary net/minecraft/class_227$class_228named net/minecraft/loot/condition/WeatherCheckLootCondition$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) voidtoJson(JsonObject jsonObject, WeatherCheckLootCondition weatherCheckLootCondition, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, WeatherCheckLootCondition weatherCheckLootCondition, JsonSerializationContext jsonSerializationContext) - Specified by:
toJsonin interfaceJsonSerializer<WeatherCheckLootCondition>- Mappings:
Namespace Name Mixin selector official aLecr$b;a(Lcom/google/gson/JsonObject;Lecr;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_960Lnet/minecraft/class_227$class_228;method_960(Lcom/google/gson/JsonObject;Lnet/minecraft/class_227;Lcom/google/gson/JsonSerializationContext;)Vnamed toJsonLnet/minecraft/loot/condition/WeatherCheckLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/WeatherCheckLootCondition;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public WeatherCheckLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) - Specified by:
fromJsonin interfaceJsonSerializer<WeatherCheckLootCondition>- Mappings:
Namespace Name Mixin selector official bLecr$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lecr;intermediary method_961Lnet/minecraft/class_227$class_228;method_961(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_227;named fromJsonLnet/minecraft/loot/condition/WeatherCheckLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/WeatherCheckLootCondition;
-