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>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description WeatherCheckLootCondition
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
void
toJson(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:
toJson
in interfaceJsonSerializer<WeatherCheckLootCondition>
-
fromJson
public WeatherCheckLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)- Specified by:
fromJson
in interfaceJsonSerializer<WeatherCheckLootCondition>
-