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