Class WeatherCheck.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.WeatherCheck.Serializer
- All Implemented Interfaces:
Serializer<WeatherCheck>
- Enclosing class:
- WeatherCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_82087_, com.google.gson.JsonDeserializationContext p_82088_)
void
serialize(com.google.gson.JsonObject p_82079_, WeatherCheck p_82080_, com.google.gson.JsonSerializationContext p_82081_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_82079_, WeatherCheck p_82080_, com.google.gson.JsonSerializationContext p_82081_)- Specified by:
serialize
in interfaceSerializer<WeatherCheck>
-
deserialize
public WeatherCheck deserialize(com.google.gson.JsonObject p_82087_, com.google.gson.JsonDeserializationContext p_82088_)- Specified by:
deserialize
in interfaceSerializer<WeatherCheck>
-