Uses of Class
net.minecraft.world.item.Item.Properties
Packages that use Item.Properties
Package
Description
-
Uses of Item.Properties in net.minecraft.world.item
Methods in net.minecraft.world.item that return Item.PropertiesModifier and TypeMethodDescriptionprivate Item.PropertiesToolMaterial.applyCommonProperties(Item.Properties pProperties) ToolMaterial.applySwordProperties(Item.Properties pProperties, float pAttackDamage, float pAttackSpeed) ToolMaterial.applyToolProperties(Item.Properties pProperties, TagKey<Block> pMineableBlocks, float pAttackDamage, float pAttackSpeed) Item.Properties.attributes(ItemAttributeModifiers pAttributes) <T> Item.PropertiesItem.Properties.component(DataComponentType<T> pComponent, T pValue) Item.Properties.craftRemainder(Item pCraftingRemainingItem) Item.Properties.durability(int pMaxDamage) Item.Properties.enchantable(int pEnchantmentValue) Item.Properties.equippable(EquipmentSlot pSlot) Item.Properties.equippableUnswappable(EquipmentSlot pSlot) Item.Properties.fireResistant()Item.Properties.food(FoodProperties pFood) Item.Properties.food(FoodProperties pFood, Consumable pConsumable) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> pSong) Item.Properties.overrideDescription(String pDescription) Item.Properties.repairable(TagKey<Item> pRepairItems) Item.Properties.repairable(Item pRepairItem) Item.Properties.requiredFeatures(FeatureFlag... pRequiredFeatures) Item.Properties.setId(ResourceKey<Item> pId) Item.Properties.setNoCombineRepair()Item.Properties.stacksTo(int pMaxStackSize) Item.Properties.useBlockDescriptionPrefix()Item.Properties.useCooldown(float pUseCooldown) Item.Properties.useItemDescriptionPrefix()Item.Properties.usingConvertsTo(Item pUsingConvertsTo) Methods in net.minecraft.world.item that return types with arguments of type Item.PropertiesModifier and TypeMethodDescriptionprivate static Function<Item.Properties, Item> Items.createBlockItemWithCustomItemName(Block pBlock) Methods in net.minecraft.world.item with parameters of type Item.PropertiesModifier and TypeMethodDescriptionprivate Item.PropertiesToolMaterial.applyCommonProperties(Item.Properties pProperties) ToolMaterial.applySwordProperties(Item.Properties pProperties, float pAttackDamage, float pAttackSpeed) ToolMaterial.applyToolProperties(Item.Properties pProperties, TagKey<Block> pMineableBlocks, float pAttackDamage, float pAttackSpeed) static SmithingTemplateItemSmithingTemplateItem.createArmorTrimTemplate(Item.Properties pProperties) static SmithingTemplateItemSmithingTemplateItem.createNetheriteUpgradeTemplate(Item.Properties pProperties) static ItemItems.registerBlock(Block pBlock, BiFunction<Block, Item.Properties, Item> pFactory, Item.Properties pProperties) static ItemItems.registerBlock(Block pBlock, Item.Properties pProperties) static ItemItems.registerItem(String pName, Function<Item.Properties, Item> pFactory, Item.Properties pProperties) static ItemItems.registerItem(String pName, Item.Properties pProperties) static ItemItems.registerItem(ResourceKey<Item> pKey, Function<Item.Properties, Item> pFactory, Item.Properties pProperties) Method parameters in net.minecraft.world.item with type arguments of type Item.PropertiesModifier and TypeMethodDescriptionstatic ItemItems.registerBlock(Block pBlock, BiFunction<Block, Item.Properties, Item> pFactory) static ItemItems.registerBlock(Block pBlock, BiFunction<Block, Item.Properties, Item> pFactory, Item.Properties pProperties) static ItemItems.registerBlock(Block pBlock, UnaryOperator<Item.Properties> pPropertiesModifier) static ItemItems.registerItem(String pName, Function<Item.Properties, Item> pFactory) static ItemItems.registerItem(String pName, Function<Item.Properties, Item> pFactory, Item.Properties pProperties) static ItemItems.registerItem(ResourceKey<Item> pKey, Function<Item.Properties, Item> pFactory) static ItemItems.registerItem(ResourceKey<Item> pKey, Function<Item.Properties, Item> pFactory, Item.Properties pProperties) Constructors in net.minecraft.world.item with parameters of type Item.PropertiesModifierConstructorDescriptionAirItem(Block pBlock, Item.Properties pProperties) AnimalArmorItem(ArmorMaterial pMaterial, AnimalArmorItem.BodyType pBodyType, Holder<SoundEvent> pEquipSound, boolean pDamageOnHurt, Item.Properties pProperties) AnimalArmorItem(ArmorMaterial pMaterial, AnimalArmorItem.BodyType pBodyType, Item.Properties pProperties) ArmorItem(ArmorMaterial pMaterial, ArmorType pArmorType, Item.Properties pProperties) ArmorStandItem(Item.Properties p_40503_) ArrowItem(Item.Properties p_40512_) AxeItem(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed, Item.Properties pProperties) BannerItem(Block pBlock, Block pWallBlock, Item.Properties pProperties) BannerPatternItem(TagKey<BannerPattern> pBannerPattern, Item.Properties pProperties) BedItem(Block p_40558_, Item.Properties p_40559_) BlockItem(Block pBlock, Item.Properties pProperties) BoatItem(EntityType<? extends AbstractBoat> pEntityType, Item.Properties pProperties) BoneMealItem(Item.Properties p_40626_) BottleItem(Item.Properties p_40648_) BowItem(Item.Properties p_40660_) BrushItem(Item.Properties p_272907_) BucketItem(Fluid pContent, Item.Properties pProperties) BundleItem(Item.Properties p_150726_) CompassItem(Item.Properties p_40718_) CrossbowItem(Item.Properties p_40850_) DebugStickItem(Item.Properties p_40948_) DiggerItem(ToolMaterial pMaterial, TagKey<Block> pMineableBlocks, float pAttackDamage, float pAttackSpeed, Item.Properties pProperties) DiscFragmentItem(Item.Properties p_220029_) DoubleHighBlockItem(Block p_41010_, Item.Properties p_41011_) DyeItem(DyeColor pDyeColor, Item.Properties pProperties) EggItem(Item.Properties p_41126_) EmptyMapItem(Item.Properties p_41143_) EndCrystalItem(Item.Properties p_41174_) EnderEyeItem(Item.Properties p_41180_) EnderpearlItem(Item.Properties p_41188_) ExperienceBottleItem(Item.Properties p_41194_) FireChargeItem(Item.Properties p_41202_) FireworkRocketItem(Item.Properties p_41209_) FireworkStarItem(Item.Properties p_41248_) FishingRodItem(Item.Properties p_41285_) FlintAndSteelItem(Item.Properties p_41295_) FoodOnAStickItem(EntityType<T> pCanInteractWith, int pConsumeItemDamage, Item.Properties pProperties) GameMasterBlockItem(Block p_41318_, Item.Properties p_41319_) GlowInkSacItem(Item.Properties p_277648_) HangingEntityItem(EntityType<? extends HangingEntity> pType, Item.Properties pProperties) HangingSignItem(Block pBlock, Block pWallBlock, Item.Properties pProperties) HoeItem(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed, Item.Properties pProperties) HoneycombItem(Item.Properties p_150867_) InkSacItem(Item.Properties p_277643_) InstrumentItem(TagKey<Instrument> pInstruments, Item.Properties pProperties) Item(Item.Properties pProperties) ItemFrameItem(EntityType<? extends HangingEntity> p_150904_, Item.Properties p_150905_) KnowledgeBookItem(Item.Properties p_42822_) LeadItem(Item.Properties p_42828_) LingeringPotionItem(Item.Properties p_42836_) MaceItem(Item.Properties p_333796_) MapItem(Item.Properties p_42847_) MinecartItem(EntityType<? extends AbstractMinecart> pType, Item.Properties pProperties) MobBucketItem(EntityType<? extends Mob> pType, Fluid pContent, SoundEvent pEmptySound, Item.Properties pProperties) NameTagItem(Item.Properties p_42952_) PickaxeItem(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed, Item.Properties pProperties) PlaceOnWaterBlockItem(Block p_220226_, Item.Properties p_220227_) PlayerHeadItem(Block pBlock, Block pWallBlock, Item.Properties pProperties) PotionItem(Item.Properties p_42979_) ProjectileWeaponItem(Item.Properties p_43009_) SaddleItem(Item.Properties p_43053_) ScaffoldingBlockItem(Block p_43060_, Item.Properties p_43061_) ShearsItem(Item.Properties p_43074_) ShieldItem(Item.Properties p_43089_) ShovelItem(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed, Item.Properties pProperties) SignItem(Item.Properties pProperties, Block pStandingBlock, Block pWallBlock, Direction pAttachmentDirection) SignItem(Block pStandingBlock, Block pWallBlock, Item.Properties pProperties) SmithingTemplateItem(Component pAppliesTo, Component pIngredients, Component pBaseSlotDescription, Component pAdditionsSlotDescription, List<ResourceLocation> pBaseSlotEmptyIcons, List<ResourceLocation> pAdditionalSlotEmptyIcons, Item.Properties pProperties) SnowballItem(Item.Properties p_43140_) SolidBucketItem(Block pBlock, SoundEvent pPlaceSound, Item.Properties pProperties) SpawnEggItem(EntityType<? extends Mob> pDefaultType, Item.Properties pProperties) SpectralArrowItem(Item.Properties p_43235_) SplashPotionItem(Item.Properties p_43241_) SpyglassItem(Item.Properties p_151205_) StandingAndWallBlockItem(Block pBlock, Block pWallBlock, Direction pAttachmentDirection, Item.Properties pProperties) SwordItem(Item.Properties properties) Neo: Allow modded Swords to set exactly what properties to use for their sword.SwordItem(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed, Item.Properties pProperties) ThrowablePotionItem(Item.Properties p_43301_) TippedArrowItem(Item.Properties p_43354_) TridentItem(Item.Properties p_43381_) WindChargeItem(Item.Properties p_326377_) WritableBookItem(Item.Properties p_43445_) WrittenBookItem(Item.Properties p_43455_) -
Uses of Item.Properties in net.minecraft.world.item.equipment
Methods in net.minecraft.world.item.equipment that return Item.PropertiesModifier and TypeMethodDescriptionArmorMaterial.animalProperties(Item.Properties pProperties, Holder<SoundEvent> pEquipSound, boolean pDamageOnHurt, HolderSet<EntityType<?>> pAllowedEntities) ArmorMaterial.animalProperties(Item.Properties pProperties, HolderSet<EntityType<?>> pAllowedEntities) ArmorMaterial.humanoidProperties(Item.Properties pProperties, ArmorType pArmorType) Methods in net.minecraft.world.item.equipment with parameters of type Item.PropertiesModifier and TypeMethodDescriptionArmorMaterial.animalProperties(Item.Properties pProperties, Holder<SoundEvent> pEquipSound, boolean pDamageOnHurt, HolderSet<EntityType<?>> pAllowedEntities) ArmorMaterial.animalProperties(Item.Properties pProperties, HolderSet<EntityType<?>> pAllowedEntities) ArmorMaterial.humanoidProperties(Item.Properties pProperties, ArmorType pArmorType) -
Uses of Item.Properties in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return Item.PropertiesModifier and TypeMethodDescriptiondefault <T> Item.PropertiesIItemPropertiesExtensions.component(Supplier<? extends DataComponentType<T>> componentType, T value) private Item.PropertiesIItemPropertiesExtensions.self() -
Uses of Item.Properties in net.neoforged.neoforge.registries
Methods in net.neoforged.neoforge.registries with parameters of type Item.PropertiesModifier and TypeMethodDescription<I extends Item>
DeferredItem<I> DeferredRegister.Items.registerItem(String name, Function<Item.Properties, ? extends I> func, Item.Properties props) Adds a new item to the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.DeferredRegister.Items.registerSimpleBlockItem(String name, Supplier<? extends Block> block, Item.Properties properties) Adds a new simpleBlockItemfor the givenBlockto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.DeferredRegister.Items.registerSimpleBlockItem(Holder<Block> block, Item.Properties properties) Adds a new simpleBlockItemfor the givenBlockto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.DeferredRegister.Items.registerSimpleItem(String name, Item.Properties props) Adds a new simpleItemwith the givenpropertiesto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.Method parameters in net.neoforged.neoforge.registries with type arguments of type Item.PropertiesModifier and TypeMethodDescription<I extends Item>
DeferredItem<I> DeferredRegister.Items.registerItem(String name, Function<Item.Properties, ? extends I> func) Adds a new item to the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.<I extends Item>
DeferredItem<I> DeferredRegister.Items.registerItem(String name, Function<Item.Properties, ? extends I> func, Item.Properties props) Adds a new item to the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.