Package net.minecraft.world.item
Class Item.Properties
java.lang.Object
net.minecraft.world.item.Item.Properties
- Enclosing class:
- Item
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
(package private) CreativeModeTab
(package private) Item
(package private) FoodProperties
(package private) boolean
(package private) int
(package private) int
(package private) Rarity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncraftRemainder
(Item p_41496_) defaultDurability
(int p_41500_) durability
(int p_41504_) food
(FoodProperties p_41490_) stacksTo
(int p_41488_) tab
(CreativeModeTab p_41492_)
-
Field Details
-
maxStackSize
int maxStackSize -
maxDamage
int maxDamage -
craftingRemainingItem
-
category
-
rarity
Rarity rarity -
foodProperties
-
isFireResistant
boolean isFireResistant -
canRepair
private boolean canRepair
-
-
Constructor Details
-
Properties
public Properties()
-
-
Method Details
-
food
-
stacksTo
-
defaultDurability
-
durability
-
craftRemainder
-
tab
-
rarity
-
fireResistant
-
setNoRepair
-