Uses of Class
net.minecraft.world.item.Item.Properties
Packages that use Item.Properties
Package
Description
Classes for NeoForge's own data generation.
-
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, float pDisableBlockingForSeconfs) Item.Properties.attributes(ItemAttributeModifiers pAttributes) Item.Properties.axe(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed) <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.hoe(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed) Item.Properties.horseArmor(ArmorMaterial pMaterial) Item.Properties.humanoidArmor(ArmorMaterial pMaterial, ArmorType pType) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> pSong) Item.Properties.overrideDescription(String pDescription) Item.Properties.pickaxe(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed) 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.shovel(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed) Item.Properties.spawnEgg(EntityType<?> pEntityType) Item.Properties.stacksTo(int pMaxStackSize) Item.Properties.sword(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed) Item.Properties.tool(ToolMaterial pMaterial, TagKey<Block> pMineableBlocks, float pAttackDamage, float pAttackSpeed, float pDisableBlockingForSeconds) Item.Properties.trimMaterial(ResourceKey<TrimMaterial> pTrimMaterial) Item.Properties.useBlockDescriptionPrefix()Item.Properties.useCooldown(float pUseCooldown) Item.Properties.useItemDescriptionPrefix()Item.Properties.usingConvertsTo(Item pUsingConvertsTo) Item.Properties.wolfArmor(ArmorMaterial pMaterial) 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, float pDisableBlockingForSeconfs) 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) 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) 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_) 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_) 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(Item.Properties p_220099_) 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_) 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_) 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(Item.Properties p_43210_) 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) 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.waypoints
Methods in net.minecraft.world.waypoints that return Item.PropertiesModifier and TypeMethodDescriptionstatic Item.PropertiesWaypoint.addHideAttribute(Item.Properties pProperties) Methods in net.minecraft.world.waypoints with parameters of type Item.PropertiesModifier and TypeMethodDescriptionstatic Item.PropertiesWaypoint.addHideAttribute(Item.Properties pProperties) -
Uses of Item.Properties in net.neoforged.neoforge.common.data.internal
Constructors in net.neoforged.neoforge.common.data.internal with parameters of type Item.PropertiesModifierConstructorDescriptionprivateStrippablesAccess(ToolMaterial material, float attackDamage, float attackSpeed, Item.Properties properties) -
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) Deprecated, for removal: This API element is subject to removal in a future version.DeferredRegister.Items.registerSimpleBlockItem(String name, Supplier<? extends Block> block, Item.Properties properties) Deprecated, for removal: This API element is subject to removal in a future version.DeferredRegister.Items.registerSimpleBlockItem(Holder<Block> block, Item.Properties properties) Deprecated, for removal: This API element is subject to removal in a future version.DeferredRegister.Items.registerSimpleItem(String name, Item.Properties props) Deprecated, for removal: This API element is subject to removal in a future version.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, Supplier<Item.Properties> properties) 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, Supplier<Item.Properties> properties) 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, UnaryOperator<Item.Properties> properties) 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, UnaryOperator<Item.Properties> properties) 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) Deprecated, for removal: This API element is subject to removal in a future version.DeferredRegister.Items.registerSimpleBlockItem(String name, Supplier<? extends Block> block, UnaryOperator<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, Supplier<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, UnaryOperator<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, Supplier<Item.Properties> properties) Adds a new simpleItemwith the givenpropertiesto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.DeferredRegister.Items.registerSimpleItem(String name, UnaryOperator<Item.Properties> properties) Adds a new simpleItemwith the givenpropertiesto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.
DeferredRegister.Items.registerItem(String, Function, Supplier)orDeferredRegister.Items.registerItem(String, Function, UnaryOperator)instead.