public static class EnchantRandomlyLootFunction.Serializer extends ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>
| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
EnchantRandomlyLootFunction |
fromJson(com.google.gson.JsonObject jsonObject,
com.google.gson.JsonDeserializationContext jsonDeserializationContext,
LootCondition[] lootCondition) |
void |
toJson(com.google.gson.JsonObject jsonObject,
EnchantRandomlyLootFunction enchantRandomlyLootFunction,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
fromJsonpublic void toJson(com.google.gson.JsonObject jsonObject,
EnchantRandomlyLootFunction enchantRandomlyLootFunction,
com.google.gson.JsonSerializationContext jsonSerializationContext)
toJson in interface JsonSerializer<EnchantRandomlyLootFunction>toJson in class ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>public EnchantRandomlyLootFunction fromJson(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
fromJson in class ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>