net.minecraft.world.item

public class Item$Properties

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

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(csz arg0)
food(FoodProperties arg0)
method_19265(class_4174 arg0)
food(FoodComponent foodComponent)
public Item$Properties
a(csz arg0, czv arg1)
food(FoodProperties arg0, Consumable arg1)
method_62833(class_4174 arg0, class_10124 arg1)
food(FoodComponent foodComponent, ConsumableComponent consumableComponent)
public Item$Properties
a(cxl 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(cxl arg0)
craftRemainder(Item arg0)
method_7896(class_1792 arg0)
recipeRemainder(Item recipeRemainder)
public Item$Properties
a(cym arg0)
rarity(Rarity arg0)
method_7894(class_1814 arg0)
rarity(Rarity rarity)
public Item$Properties
a()
fireResistant()
method_24359()
fireproof()
public Item$Properties
a(aly<cxv> 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(cxl arg0)
repairable(Item arg0)
method_61648(class_1792 arg0)
repairable(Item repairIngredient)
public Item$Properties
a(ayk<cxl> arg0)
repairable(TagKey<Item> arg0)
method_61647(class_6862<class_1792> arg0)
repairable(TagKey<Item> repairIngredientsTag)
public Item$Properties
a(bvs arg0)
equippable(EquipmentSlot arg0)
method_63682(class_1304 arg0)
equippable(EquipmentSlot slot)
public Item$Properties
b(bvs arg0)
equippableUnswappable(EquipmentSlot arg0)
method_64194(class_1304 arg0)
equippableUnswappable(EquipmentSlot slot)
public Item$Properties
a(csr... arg0)
requiredFeatures(FeatureFlag... arg0)
method_45434(class_7696... arg0)
requires(FeatureFlag... features)
public Item$Properties
b(aly<cxl> 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 Item$Properties
a(alz arg0)
overrideModel(ResourceLocation arg0)
method_63681(class_2960 arg0)
modelId(Identifier modelId)
public ResourceLocation
e()
effectiveModel()
method_63691()
getModelId()
public <T> Item$Properties
a(kt<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(dag arg0)
attributes(ItemAttributeModifiers arg0)
method_57348(class_9285 arg0)
attributeModifiers(AttributeModifiersComponent attributeModifiersComponent)
DataComponentMap
a(xv arg0, alz arg1)
buildAndValidateComponents(Component arg0, ResourceLocation arg1)
method_58406(class_2561 arg0, class_2960 arg1)
getValidatedComponents(Text name, Identifier modelId)