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 booleanfireproofprivate FoodComponentfoodComponentprivate ItemGroupgroupprivate intmaxCountprivate intmaxDamageprivate Rarityrarityprivate ItemrecipeRemainder -
Constructor Summary
Constructors Constructor Description Settings() -
Method Summary
Modifier and Type Method Description Item.Settingsfireproof()Item.Settingsfood(FoodComponent foodComponent)Item.Settingsgroup(ItemGroup group)Item.SettingsmaxCount(int maxCount)Item.SettingsmaxDamage(int maxDamage)Item.SettingsmaxDamageIfAbsent(int maxDamage)Item.Settingsrarity(Rarity rarity)Item.SettingsrecipeRemainder(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
-