net.minecraft.world.item

public class Item$Properties

cxl$a
net.minecraft.world.item.Item$Properties
net.minecraft.class_1792$class_1793
net.minecraft.unmapped.C_vorddnax$C_bfrytpdl
net.minecraft.item.Item$Settings
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 DependantName<Item, String>
a
BLOCK_DESCRIPTION_ID
field_54115
f_uadyawee
BLOCK_PREFIXED_TRANSLATION_KEY
f_347499_
private static final DependantName<Item, String>
b
ITEM_DESCRIPTION_ID
field_54116
f_skphhhqp
ITEM_PREFIXED_TRANSLATION_KEY
f_348587_
private final DataComponentMap$Builder
c
components
field_49265
f_znexcclr
components
builder
f_316768_
Item
d
craftingRemainingItem
field_8018
f_emilnckp
recipeRemainder
recipeRemainder
f_41480_
FeatureFlagSet
e
requiredFeatures
field_40210
f_gjqaneav
requiredFeatures
requiredFlags
f_244559_
private ResourceKey<Item>
f
id
field_54117
f_guuibeel
registryKey
key
f_347270_
private DependantName<Item, String>
g
descriptionId
field_54118
f_bjfsycph
translationKey
f_346952_
private DependantName<Item, ResourceLocation>
h
model
field_54119
f_ykroqrcr
modelId
f_348562_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Item$Properties
a(csz arg0)
food(FoodProperties arg0)
method_19265(class_4174 arg0)
m_fazzsuba(C_cgikuact arg0)
food(FoodComponent foodComponent)
food(FoodComponent food)
m_41489_(C_1220_ arg0)
public Item$Properties
a(csz arg0, czv arg1)
food(FoodProperties arg0, Consumable arg1)
method_62833(class_4174 arg0, class_10124 arg1)
m_dmwpwxbl(C_cgikuact arg0, C_ybwnbwdi arg1)
food(FoodComponent foodComponent, ConsumableComponent consumableComponent)
food(FoodComponent food, ConsumableComponent consumable)
m_355732_(C_1220_ p_362417_, C_345888_ arg1)
public Item$Properties
a(cxl arg0)
usingConvertsTo(Item arg0)
method_62834(class_1792 arg0)
m_lgxlwnkm(C_vorddnax arg0)
useRemainder(Item convertInto)
m_lgxlwnkm(Item item)
m_353673_(C_1381_ arg0)
public Item$Properties
a(float arg0)
useCooldown(float arg0)
method_62832(float arg0)
m_xrxbstmi(float arg0)
useCooldown(float seconds)
m_xrxbstmi(float seconds)
m_352962_(float arg0)
public Item$Properties
a(int arg0)
stacksTo(int arg0)
method_7889(int arg0)
m_gdfazvhf(int arg0)
maxCount(int maxCount)
maxCount(int maxCount)
m_41487_(int arg0)
public Item$Properties
b(int arg0)
durability(int arg0)
method_7895(int arg0)
m_robddprv(int arg0)
maxDamage(int maxDamage)
maxDamage(int maxDamage)
m_41503_(int arg0)
public Item$Properties
b(cxl arg0)
craftRemainder(Item arg0)
method_7896(class_1792 arg0)
m_nuwctbay(C_vorddnax arg0)
recipeRemainder(Item recipeRemainder)
recipeRemainder(Item recipeRemainder)
m_41495_(C_1381_ arg0)
public Item$Properties
a(cym arg0)
rarity(Rarity arg0)
method_7894(class_1814 arg0)
m_zglwepxe(C_mqmixksm arg0)
rarity(Rarity rarity)
rarity(Rarity rarity)
m_41497_(C_1407_ arg0)
public Item$Properties
a()
fireResistant()
method_24359()
m_hmyxymsz()
fireproof()
fireproof()
m_41486_()
public Item$Properties
a(aly<cxv> arg0)
jukeboxPlayable(ResourceKey<JukeboxSong> arg0)
method_60745(class_5321<class_9793> arg0)
m_pvohmnyq(C_xhhleach<C_yeazlrrn> arg0)
jukeboxPlayable(RegistryKey<JukeboxSong> songKey)
jukeboxSong(RegistryKey<JukeboxSong> song)
m_340516_(C_5264_<C_336495_> arg0)
public Item$Properties
c(int arg0)
enchantable(int arg0)
method_61649(int arg0)
m_qouwqhww(int arg0)
enchantable(int enchantability)
m_qouwqhww(int value)
m_355917_(int arg0)
public Item$Properties
c(cxl arg0)
repairable(Item arg0)
method_61648(class_1792 arg0)
m_fcpbtbaw(C_vorddnax arg0)
repairable(Item repairIngredient)
m_fcpbtbaw(Item repairMaterial)
m_353853_(C_1381_ arg0)
public Item$Properties
a(ayk<cxl> arg0)
repairable(TagKey<Item> arg0)
method_61647(class_6862<class_1792> arg0)
m_whyakhiv(C_ednuhnnn<C_vorddnax> arg0)
repairable(TagKey<Item> repairIngredientsTag)
repairable(TagKey<Item> repairMaterials)
m_354761_(C_203208_<C_1381_> arg0)
public Item$Properties
a(bvs arg0)
equippable(EquipmentSlot arg0)
method_63682(class_1304 arg0)
m_qtwmcgsu(C_yuycoehb arg0)
equippable(EquipmentSlot slot)
m_355935_(C_516_ arg0)
public Item$Properties
b(bvs arg0)
equippableUnswappable(EquipmentSlot arg0)
method_64194(class_1304 arg0)
m_slcmhicj(C_yuycoehb arg0)
equippableUnswappable(EquipmentSlot slot)
m_353090_(C_516_ arg0)
public Item$Properties
a(csr... arg0)
requiredFeatures(FeatureFlag... arg0)
method_45434(class_7696... arg0)
m_tsalbwou(C_kksdgidr... arg0)
requires(FeatureFlag... features)
requiredFlags(FeatureFlag... flags)
m_246768_(C_243544_... arg0)
public Item$Properties
b(aly<cxl> arg0)
setId(ResourceKey<Item> arg0)
method_63686(class_5321<class_1792> arg0)
m_xgbhdxzx(C_xhhleach<C_vorddnax> arg0)
registryKey(RegistryKey<Item> registryKey)
key(RegistryKey<Item> key)
m_353477_(C_5264_<C_1381_> arg0)
public Item$Properties
a(String arg0)
overrideDescription(String arg0)
method_63684(String arg0)
m_mnrxwepx(String arg0)
translationKey(String translationKey)
m_mnrxwepx(String value)
m_355601_(String arg0)
public Item$Properties
b()
useBlockDescriptionPrefix()
method_63685()
m_kjgzqxrg()
useBlockPrefixedTranslationKey()
m_351613_()
public Item$Properties
c()
useItemDescriptionPrefix()
method_63687()
m_izydtxyr()
useItemPrefixedTranslationKey()
m_353183_()
protected String
d()
effectiveDescriptionId()
method_63689()
m_paekqxyr()
getTranslationKey()
m_356534_()
public Item$Properties
a(alz arg0)
overrideModel(ResourceLocation arg0)
method_63681(class_2960 arg0)
m_jzmahjly(C_ncpywfca arg0)
modelId(Identifier modelId)
m_jzmahjly(Identifier id)
m_354492_(C_5265_ arg0)
public ResourceLocation
e()
effectiveModel()
method_63691()
m_izmhkfvq()
getModelId()
m_353753_()
public <T> Item$Properties
a(kt<T> arg0, T arg1)
component(DataComponentType<T> arg0, T arg1)
method_57349(class_9331<T> arg0, T arg1)
m_voqbvsse(C_pscqxfcs<T> arg0, T arg1)
component(ComponentType<T> type, T value)
component(DataComponentType<T> type, T value)
m_324556_(C_313543_<T> p_330859_, T arg1)
public Item$Properties
a(dag arg0)
attributes(ItemAttributeModifiers arg0)
method_57348(class_9285 arg0)
m_wosoxphz(C_azfkqhlm arg0)
attributeModifiers(AttributeModifiersComponent attributeModifiersComponent)
attributeModifiersComponent(AttributeModifiersComponent value)
m_324699_(C_313447_ arg0)
DataComponentMap
a(xv arg0, alz arg1)
buildAndValidateComponents(Component arg0, ResourceLocation arg1)
method_58406(class_2561 arg0, class_2960 arg1)
m_qvwjjfqj(C_rdaqiwdt arg0, C_ncpywfca arg1)
getValidatedComponents(Text name, Identifier modelId)
buildAndValidateComponents(Text arg0, Identifier id)
m_320473_(C_4996_ p_364540_, C_5265_ arg1)