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