net.minecraft.world.item

public class Item$Properties

cwm$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
BLOCK_TRANSLATION_KEY_DERIVATION
f_347499_
private static final DependantName<Item, String>
b
ITEM_DESCRIPTION_ID
field_54116
f_skphhhqp
ITEM_PREFIXED_TRANSLATION_KEY
ITEM_TRANSLATION_KEY_DERIVATION
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
translationKeyDerivation
f_346952_
private DependantName<Item, ResourceLocation>
h
model
field_54119
f_ykroqrcr
modelId
itemModelIdDerivation
f_348562_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Item$Properties
a(csa 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(csa arg0, cyw 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(cwm arg0)
usingConvertsTo(Item arg0)
method_62834(class_1792 arg0)
m_lgxlwnkm(C_vorddnax arg0)
useRemainder(Item convertInto)
useRemainder(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)
useCooldown(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(cwm 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(cxn 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(aku<cww> 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)
enchantable(int value)
m_355917_(int arg0)
public Item$Properties
c(cwm arg0)
repairable(Item arg0)
method_61648(class_1792 arg0)
m_fcpbtbaw(C_vorddnax arg0)
repairable(Item repairIngredient)
repairable(Item repairMaterial)
m_353853_(C_1381_ arg0)
public Item$Properties
a(axf<cwm> 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(buu arg0)
equippable(EquipmentSlot arg0)
method_63682(class_1304 arg0)
m_qtwmcgsu(C_yuycoehb arg0)
equippable(EquipmentSlot slot)
equippable(EquipmentSlot slot)
m_355935_(C_516_ arg0)
public Item$Properties
b(buu arg0)
equippableUnswappable(EquipmentSlot arg0)
method_64194(class_1304 arg0)
m_slcmhicj(C_yuycoehb arg0)
equippableUnswappable(EquipmentSlot slot)
swapEquippable(EquipmentSlot slot)
m_353090_(C_516_ arg0)
public Item$Properties
a(crs... 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(aku<cwm> 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)
translationKey(String value)
m_355601_(String arg0)
public Item$Properties
b()
useBlockDescriptionPrefix()
method_63685()
m_kjgzqxrg()
useBlockPrefixedTranslationKey()
blockTranslationKey()
m_351613_()
public Item$Properties
c()
useItemDescriptionPrefix()
method_63687()
m_izydtxyr()
useItemPrefixedTranslationKey()
itemTranslationKey()
m_353183_()
protected String
d()
effectiveDescriptionId()
method_63689()
m_paekqxyr()
getTranslationKey()
getTranslationKey()
m_356534_()
public ResourceLocation
e()
effectiveModel()
method_63691()
m_izmhkfvq()
getModelId()
getItemModelId()
m_353753_()
public <T> Item$Properties
a(ku<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(czh 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(wp arg0, akv 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 name, Identifier itemModelId)
m_320473_(C_4996_ p_364540_, C_5265_ arg1)