Modifier and Type | Field and Description |
---|---|
private boolean |
fireproof |
private FoodComponent |
foodComponent |
private ItemGroup |
group |
private int |
maxCount |
private int |
maxDamage |
private Rarity |
rarity |
private Item |
recipeRemainder |
Constructor and Description |
---|
Settings() |
Modifier and Type | Method and Description |
---|---|
Item.Settings |
fireproof() |
Item.Settings |
food(FoodComponent foodComponent) |
Item.Settings |
group(ItemGroup group) |
Item.Settings |
maxCount(int maxCount) |
Item.Settings |
maxDamage(int maxDamage) |
Item.Settings |
maxDamageIfAbsent(int maxDamage) |
Item.Settings |
rarity(Rarity rarity) |
Item.Settings |
recipeRemainder(Item recipeRemainder) |
private int maxCount
private int maxDamage
private Item recipeRemainder
private ItemGroup group
private Rarity rarity
private FoodComponent foodComponent
private boolean fireproof
public Item.Settings food(FoodComponent foodComponent)
public Item.Settings maxCount(int maxCount)
public Item.Settings maxDamageIfAbsent(int maxDamage)
public Item.Settings maxDamage(int maxDamage)
public Item.Settings recipeRemainder(Item recipeRemainder)
public Item.Settings group(ItemGroup group)
public Item.Settings rarity(Rarity rarity)
public Item.Settings fireproof()