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