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