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