public static class LocationCheck.Serializer extends ILootCondition.AbstractSerializer<LocationCheck>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
LocationCheck |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
serialize(com.google.gson.JsonObject json,
LocationCheck value,
com.google.gson.JsonSerializationContext context) |
getConditionClass, getLootTableLocation
public void serialize(com.google.gson.JsonObject json, LocationCheck value, com.google.gson.JsonSerializationContext context)
serialize
in class ILootCondition.AbstractSerializer<LocationCheck>
public LocationCheck deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
deserialize
in class ILootCondition.AbstractSerializer<LocationCheck>