Package net.minecraft.item
Class Item.Settings
java.lang.Object
net.minecraft.item.Item.Settings
- Enclosing class:
- Item
public static class Item.Settings extends Object
-
Field Summary
Fields Modifier and Type Field Description private boolean
fireproof
private FoodComponent
foodComponent
private ItemGroup
group
private int
maxCount
private int
maxDamage
private Rarity
rarity
private Item
recipeRemainder
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
Modifier and Type Method 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)
-
Field Details
-
maxCount
private int maxCount -
maxDamage
private int maxDamage -
recipeRemainder
-
group
-
rarity
-
foodComponent
-
fireproof
private boolean fireproof
-
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
food
-
maxCount
-
maxDamageIfAbsent
-
maxDamage
-
recipeRemainder
-
group
-
rarity
-
fireproof
-