public static class Smelt.Serializer extends LootFunction.Serializer<Smelt>
Modifier | Constructor and Description |
---|---|
protected |
Serializer() |
Modifier and Type | Method and Description |
---|---|
Smelt |
deserialize(com.google.gson.JsonObject object,
com.google.gson.JsonDeserializationContext deserializationContext,
LootCondition[] conditionsIn) |
void |
serialize(com.google.gson.JsonObject object,
Smelt functionClazz,
com.google.gson.JsonSerializationContext serializationContext) |
getFunctionClass, getFunctionName
public void serialize(com.google.gson.JsonObject object, Smelt functionClazz, com.google.gson.JsonSerializationContext serializationContext)
serialize
in class LootFunction.Serializer<Smelt>
public Smelt deserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext deserializationContext, LootCondition[] conditionsIn)
deserialize
in class LootFunction.Serializer<Smelt>