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.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 pProperties) ArrowItem(Item.Properties pProperties) AxeItem(ToolMaterial pMaterial, float pAttackDamage, float pAttackSpeed, Item.Properties pProperties) BannerItem(Block pBlock, Block pWallBlock, Item.Properties pProperties) BedItem(Block pBlock, Item.Properties pProperties) BlockItem(Block pBlock, Item.Properties pProperties) BoatItem(EntityType<? extends AbstractBoat> pEntityType, Item.Properties pProperties) BoneMealItem(Item.Properties pProperties) BottleItem(Item.Properties pProperties) BowItem(Item.Properties pProperties) BrushItem(Item.Properties pProperties) BucketItem(Fluid pContent, Item.Properties pProperties) BundleItem(Item.Properties pProperties) CompassItem(Item.Properties pProperties) CrossbowItem(Item.Properties pProperties) DebugStickItem(Item.Properties pProperties) DiscFragmentItem(Item.Properties p_220029_) DoubleHighBlockItem(Block pBlock, Item.Properties pProperties) DyeItem(DyeColor pDyeColor, Item.Properties pProperties) EggItem(Item.Properties p_41126_) EmptyMapItem(Item.Properties p_41143_) EndCrystalItem(Item.Properties pProperties) EnderEyeItem(Item.Properties pProperties) EnderpearlItem(Item.Properties p_41188_) ExperienceBottleItem(Item.Properties p_41194_) FireChargeItem(Item.Properties pProperties) FireworkRocketItem(Item.Properties pProperties) FishingRodItem(Item.Properties p_41285_) FlintAndSteelItem(Item.Properties pProperties) FoodOnAStickItem(EntityType<T> pCanInteractWith, int pConsumeItemDamage, Item.Properties pProperties) GameMasterBlockItem(Block pBlock, Item.Properties pProperties) 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 pProperties) InkSacItem(Item.Properties p_277643_) InstrumentItem(Item.Properties pProperties) Item(Item.Properties pProperties) ItemFrameItem(EntityType<? extends HangingEntity> pType, Item.Properties pProperties) KnowledgeBookItem(Item.Properties p_42822_) LeadItem(Item.Properties pProperties) LingeringPotionItem(Item.Properties p_42836_) MaceItem(Item.Properties pProperties) MapItem(Item.Properties pProperties) MinecartItem(EntityType<? extends AbstractMinecart> pType, Item.Properties pProperties) MobBucketItem(EntityType<? extends Mob> pType, Fluid pContent, SoundEvent pEmptySound, Item.Properties pProperties) NameTagItem(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 pProperties) ScaffoldingBlockItem(Block pBlock, Item.Properties pProperties) ShearsItem(Item.Properties pProperties) 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 pProperties) StandingAndWallBlockItem(Block pBlock, Block pWallBlock, Direction pAttachmentDirection, Item.Properties pProperties) ThrowablePotionItem(Item.Properties pProperties) 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) 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.