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