net.minecraft.world.item

public class Item$Properties

cum$a
net.minecraft.world.item.Item$Properties
net.minecraft.class_1792$class_1793
net.minecraft.item.Item$Settings
net.minecraft.src.C_1381_$C_1383_
net.minecraft.world.item.Item$Info

Field summary

Modifier and TypeField
private static final com.google.common.collect.Interner<DataComponentMap>
a
COMPONENT_INTERNER
field_49264
COMPONENT_MAP_INTERNER
f_315126_
private DataComponentMap$Builder
b
components
field_49265
components
f_316768_
Item
c
craftingRemainingItem
field_8018
recipeRemainder
f_41480_
FeatureFlagSet
d
requiredFeatures
field_40210
requiredFeatures
f_244559_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Item$Properties
a(cpt arg0)
food(FoodProperties arg0)
method_19265(class_4174 arg0)
food(FoodComponent foodComponent)
m_41489_(C_1220_ arg0)
public Item$Properties
a(int arg0)
stacksTo(int arg0)
method_7889(int arg0)
maxCount(int maxCount)
m_41487_(int arg0)
public Item$Properties
b(int arg0)
durability(int arg0)
method_7895(int arg0)
maxDamage(int maxDamage)
m_41503_(int arg0)
public Item$Properties
a(cum arg0)
craftRemainder(Item arg0)
method_7896(class_1792 arg0)
recipeRemainder(Item recipeRemainder)
m_41495_(C_1381_ arg0)
public Item$Properties
a(cvl arg0)
rarity(Rarity arg0)
method_7894(class_1814 arg0)
rarity(Rarity rarity)
m_41497_(C_1407_ arg0)
public Item$Properties
a()
fireResistant()
method_24359()
fireproof()
m_41486_()
public Item$Properties
a(cpl... arg0)
requiredFeatures(FeatureFlag... arg0)
method_45434(class_7696... arg0)
requires(FeatureFlag... features)
m_246768_(C_243544_... arg0)
public <T> Item$Properties
a(kl<T> arg0, T arg1)
component(DataComponentType<T> arg0, T arg1)
method_57349(class_9331<T> arg0, T arg1)
component(DataComponentType<T> type, T value)
m_324556_(C_313543_<T> p_330859_, T arg1)
public Item$Properties
a(cxm arg0)
attributes(ItemAttributeModifiers arg0)
method_57348(class_9285 arg0)
attributeModifiers(AttributeModifiersComponent attributeModifiersComponent)
m_324699_(C_313447_ arg0)
DataComponentMap
b()
buildAndValidateComponents()
method_58406()
getValidatedComponents()
m_320473_()
private DataComponentMap
c()
buildComponents()
method_57350()
getComponents()
m_320101_()