Class ValueCheckCondition.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.ValueCheckCondition.Serializer
- All Implemented Interfaces:
Serializer<ValueCheckCondition>
- Enclosing class:
- ValueCheckCondition
public static class ValueCheckCondition.Serializer
extends Object
implements Serializer<ValueCheckCondition>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_165550_, com.google.gson.JsonDeserializationContext p_165551_) void
serialize
(com.google.gson.JsonObject p_165542_, ValueCheckCondition p_165543_, com.google.gson.JsonSerializationContext p_165544_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_165542_, ValueCheckCondition p_165543_, com.google.gson.JsonSerializationContext p_165544_) - Specified by:
serialize
in interfaceSerializer<ValueCheckCondition>
-
deserialize
public ValueCheckCondition deserialize(com.google.gson.JsonObject p_165550_, com.google.gson.JsonDeserializationContext p_165551_) - Specified by:
deserialize
in interfaceSerializer<ValueCheckCondition>
-