Class LocationCheck.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.LocationCheck.Serializer
- All Implemented Interfaces:
Serializer<LocationCheck>
- Enclosing class:
- LocationCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_81757_, com.google.gson.JsonDeserializationContext p_81758_)
void
serialize(com.google.gson.JsonObject p_81749_, LocationCheck p_81750_, com.google.gson.JsonSerializationContext p_81751_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_81749_, LocationCheck p_81750_, com.google.gson.JsonSerializationContext p_81751_)- Specified by:
serialize
in interfaceSerializer<LocationCheck>
-
deserialize
public LocationCheck deserialize(com.google.gson.JsonObject p_81757_, com.google.gson.JsonDeserializationContext p_81758_)- Specified by:
deserialize
in interfaceSerializer<LocationCheck>
-