net.minecraft.world.item

public class Item$Properties

cyo$a
net.minecraft.world.item.Item$Properties
net.minecraft.class_1792$class_1793
net.minecraft.item.Item$Settings

Field summary

Modifier and TypeField
private static final DependantName<Item, String>
a
BLOCK_DESCRIPTION_ID
field_54115
BLOCK_PREFIXED_TRANSLATION_KEY
private static final DependantName<Item, String>
b
ITEM_DESCRIPTION_ID
field_54116
ITEM_PREFIXED_TRANSLATION_KEY
private final DataComponentMap$Builder
c
components
field_49265
components
Item
d
craftingRemainingItem
field_8018
recipeRemainder
FeatureFlagSet
e
requiredFeatures
field_40210
requiredFeatures
private ResourceKey<Item>
f
id
field_54117
registryKey
private DependantName<Item, String>
g
descriptionId
field_54118
translationKey
private DependantName<Item, ResourceLocation>
h
model
field_54119
modelId

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Item$Properties
a(cuh arg0)
food(FoodProperties arg0)
method_19265(class_4174 arg0)
food(FoodComponent foodComponent)
public Item$Properties
a(cuh arg0, dax arg1)
food(FoodProperties arg0, Consumable arg1)
method_62833(class_4174 arg0, class_10124 arg1)
food(FoodComponent foodComponent, ConsumableComponent consumableComponent)
public Item$Properties
a(cyo arg0)
usingConvertsTo(Item arg0)
method_62834(class_1792 arg0)
useRemainder(Item convertInto)
public Item$Properties
a(float arg0)
useCooldown(float arg0)
method_62832(float arg0)
useCooldown(float seconds)
public Item$Properties
a(int arg0)
stacksTo(int arg0)
method_7889(int arg0)
maxCount(int maxCount)
public Item$Properties
b(int arg0)
durability(int arg0)
method_7895(int arg0)
maxDamage(int maxDamage)
public Item$Properties
b(cyo arg0)
craftRemainder(Item arg0)
method_7896(class_1792 arg0)
recipeRemainder(Item recipeRemainder)
public Item$Properties
a(czo arg0)
rarity(Rarity arg0)
method_7894(class_1814 arg0)
rarity(Rarity rarity)
public Item$Properties
a()
fireResistant()
method_24359()
fireproof()
public Item$Properties
a(ald<cyy> arg0)
jukeboxPlayable(ResourceKey<JukeboxSong> arg0)
method_60745(class_5321<class_9793> arg0)
jukeboxPlayable(RegistryKey<JukeboxSong> songKey)
public Item$Properties
c(int arg0)
enchantable(int arg0)
method_61649(int arg0)
enchantable(int enchantability)
public Item$Properties
c(cyo arg0)
repairable(Item arg0)
method_61648(class_1792 arg0)
repairable(Item repairIngredient)
public Item$Properties
a(axp<cyo> arg0)
repairable(TagKey<Item> arg0)
method_61647(class_6862<class_1792> arg0)
repairable(TagKey<Item> repairIngredientsTag)
public Item$Properties
a(bwk arg0)
equippable(EquipmentSlot arg0)
method_63682(class_1304 arg0)
equippable(EquipmentSlot slot)
public Item$Properties
b(bwk arg0)
equippableUnswappable(EquipmentSlot arg0)
method_64194(class_1304 arg0)
equippableUnswappable(EquipmentSlot slot)
public Item$Properties
a(dag arg0, axp<dlu> arg1, float arg2, float arg3, float arg4)
tool(ToolMaterial arg0, TagKey<Block> arg1, float arg2, float arg3, float arg4)
method_66331(class_9886 arg0, class_6862<class_2248> arg1, float arg2, float arg3, float arg4)
tool(ToolMaterial material, TagKey<Block> effectiveBlocks, float attackDamage, float attackSpeed, float arg4)
public Item$Properties
a(dag arg0, float arg1, float arg2)
pickaxe(ToolMaterial arg0, float arg1, float arg2)
method_66330(class_9886 arg0, float arg1, float arg2)
pickaxe(ToolMaterial material, float attackDamage, float attackSpeed)
public Item$Properties
b(dag arg0, float arg1, float arg2)
axe(ToolMaterial arg0, float arg1, float arg2)
method_67190(class_9886 arg0, float arg1, float arg2)
method_67190(ToolMaterial arg0, float arg1, float arg2)
public Item$Properties
c(dag arg0, float arg1, float arg2)
hoe(ToolMaterial arg0, float arg1, float arg2)
method_67192(class_9886 arg0, float arg1, float arg2)
method_67192(ToolMaterial arg0, float arg1, float arg2)
public Item$Properties
d(dag arg0, float arg1, float arg2)
shovel(ToolMaterial arg0, float arg1, float arg2)
method_67193(class_9886 arg0, float arg1, float arg2)
method_67193(ToolMaterial arg0, float arg1, float arg2)
public Item$Properties
e(dag arg0, float arg1, float arg2)
sword(ToolMaterial arg0, float arg1, float arg2)
method_66333(class_9886 arg0, float arg1, float arg2)
sword(ToolMaterial material, float attackDamage, float attackSpeed)
public Item$Properties
a(dgw arg0, dgy arg1)
humanoidArmor(ArmorMaterial arg0, ArmorType arg1)
method_66332(class_1741 arg0, class_8051 arg1)
armor(ArmorMaterial material, EquipmentType type)
public Item$Properties
a(dgw arg0)
wolfArmor(ArmorMaterial arg0)
method_67188(class_1741 arg0)
method_67188(ArmorMaterial arg0)
public Item$Properties
b(dgw arg0)
horseArmor(ArmorMaterial arg0)
method_67191(class_1741 arg0)
method_67191(ArmorMaterial arg0)
public Item$Properties
b(ald<dhf> arg0)
trimMaterial(ResourceKey<TrimMaterial> arg0)
method_67189(class_5321<class_8054> arg0)
method_67189(RegistryKey<ArmorTrimMaterial> arg0)
public Item$Properties
a(ctz... arg0)
requiredFeatures(FeatureFlag... arg0)
method_45434(class_7696... arg0)
requires(FeatureFlag... features)
public Item$Properties
c(ald<cyo> arg0)
setId(ResourceKey<Item> arg0)
method_63686(class_5321<class_1792> arg0)
registryKey(RegistryKey<Item> registryKey)
public Item$Properties
a(String arg0)
overrideDescription(String arg0)
method_63684(String arg0)
translationKey(String translationKey)
public Item$Properties
b()
useBlockDescriptionPrefix()
method_63685()
useBlockPrefixedTranslationKey()
public Item$Properties
c()
useItemDescriptionPrefix()
method_63687()
useItemPrefixedTranslationKey()
protected String
d()
effectiveDescriptionId()
method_63689()
getTranslationKey()
public ResourceLocation
e()
effectiveModel()
method_63691()
getModelId()
public <T> Item$Properties
a(ki<T> arg0, T arg1)
component(DataComponentType<T> arg0, T arg1)
method_57349(class_9331<T> arg0, T arg1)
component(ComponentType<T> type, T value)
public Item$Properties
a(dbj arg0)
attributes(ItemAttributeModifiers arg0)
method_57348(class_9285 arg0)
attributeModifiers(AttributeModifiersComponent attributeModifiersComponent)
DataComponentMap
a(ww arg0, ale arg1)
buildAndValidateComponents(Component arg0, ResourceLocation arg1)
method_58406(class_2561 arg0, class_2960 arg1)
getValidatedComponents(Text name, Identifier modelId)