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 properties) ToolMaterial.applySwordProperties(Item.Properties properties, float attackDamageBaseline, float attackSpeedBaseline) ToolMaterial.applyToolProperties(Item.Properties properties, TagKey<Block> minesEfficiently, float attackDamageBaseline, float attackSpeedBaseline, float disableBlockingSeconds) Item.Properties.attributes(ItemAttributeModifiers attributes) Item.Properties.axe(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline) <T> Item.PropertiesItem.Properties.component(DataComponentType<T> type, T value) Item.Properties.craftRemainder(Item craftingRemainingItem) Item.Properties.craftRemainder(ItemStackTemplate craftingRemainingItem) <T> Item.PropertiesItem.Properties.delayedComponent(DataComponentType<T> type, DataComponentInitializers.SingleComponentInitializer<T> initializer) <T> Item.PropertiesItem.Properties.delayedHolderComponent(DataComponentType<Holder<T>> type, ResourceKey<T> valueKey) Item.Properties.durability(int maxDamage) Item.Properties.enchantable(int value) Item.Properties.equippable(EquipmentSlot slot) Item.Properties.equippableUnswappable(EquipmentSlot slot) Item.Properties.fireResistant()Item.Properties.food(FoodProperties foodProperties) Item.Properties.food(FoodProperties foodProperties, Consumable consumable) Item.Properties.hoe(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline) Item.Properties.horseArmor(ArmorMaterial material) Item.Properties.humanoidArmor(ArmorMaterial material, ArmorType type) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> song) Item.Properties.nautilusArmor(ArmorMaterial material) Item.Properties.overrideDescription(String descriptionId) Item.Properties.pickaxe(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline) Item.Properties.repairable(TagKey<Item> repairItems) Item.Properties.repairable(Item repairItem) Item.Properties.requiredFeatures(FeatureFlag... flags) Item.Properties.setId(ResourceKey<Item> id) Item.Properties.setNoCombineRepair()Item.Properties.shovel(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline) Item.Properties.spawnEgg(EntityType<?> type) Item.Properties.spear(ToolMaterial material, float attackDuration, float damageMultiplier, float delay, float dismountTime, float dismountThreshold, float knockbackTime, float knockbackThreshold, float damageTime, float damageThreshold) Item.Properties.stacksTo(int max) Item.Properties.sword(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline) Item.Properties.tool(ToolMaterial material, TagKey<Block> minesEfficiently, float attackDamageBaseline, float attackSpeedBaseline, float disableBlockingSeconds) Item.Properties.trimMaterial(ResourceKey<TrimMaterial> material) Item.Properties.useBlockDescriptionPrefix()Item.Properties.useCooldown(float seconds) Item.Properties.useItemDescriptionPrefix()Item.Properties.usingConvertsTo(Item item) Item.Properties.wolfArmor(ArmorMaterial material) 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 block) Methods in net.minecraft.world.item with parameters of type Item.PropertiesModifier and TypeMethodDescriptionprivate Item.PropertiesToolMaterial.applyCommonProperties(Item.Properties properties) ToolMaterial.applySwordProperties(Item.Properties properties, float attackDamageBaseline, float attackSpeedBaseline) ToolMaterial.applyToolProperties(Item.Properties properties, TagKey<Block> minesEfficiently, float attackDamageBaseline, float attackSpeedBaseline, float disableBlockingSeconds) static SmithingTemplateItemSmithingTemplateItem.createArmorTrimTemplate(Item.Properties properties) static SmithingTemplateItemSmithingTemplateItem.createNetheriteUpgradeTemplate(Item.Properties properties) private static ItemItems.registerBlock(Block block, BiFunction<Block, Item.Properties, Item> itemFactory, Item.Properties properties) private static ItemItems.registerBlock(Block block, Item.Properties properties) private static ItemItems.registerItem(String name, Function<Item.Properties, Item> itemFactory, Item.Properties properties) private static ItemItems.registerItem(String name, Item.Properties properties) private static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> itemFactory, Item.Properties properties) Method parameters in net.minecraft.world.item with type arguments of type Item.PropertiesModifier and TypeMethodDescriptionprivate static ItemItems.registerBlock(Block block, BiFunction<Block, Item.Properties, Item> itemFactory) private static ItemItems.registerBlock(Block block, BiFunction<Block, Item.Properties, Item> itemFactory, Item.Properties properties) private static ItemItems.registerBlock(Block block, UnaryOperator<Item.Properties> propertiesFunction) private static ItemItems.registerItem(String name, Function<Item.Properties, Item> itemFactory) private static ItemItems.registerItem(String name, Function<Item.Properties, Item> itemFactory, Item.Properties properties) private static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> itemFactory) private static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> itemFactory, Item.Properties properties) Constructors in net.minecraft.world.item with parameters of type Item.PropertiesModifierConstructorDescriptionAirItem(Block block, Item.Properties properties) ArmorStandItem(Item.Properties properties) ArrowItem(Item.Properties properties) AxeItem(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline, Item.Properties properties) BannerItem(Block block, Block wallBlock, Item.Properties properties) BedItem(Block block, Item.Properties properties) BlockItem(Block block, Item.Properties properties) BoatItem(EntityType<? extends AbstractBoat> entityType, Item.Properties properties) BoneMealItem(Item.Properties properties) BottleItem(Item.Properties properties) BowItem(Item.Properties properties) BrushItem(Item.Properties properties) BucketItem(Fluid content, Item.Properties properties) BundleItem(Item.Properties properties) CompassItem(Item.Properties properties) CrossbowItem(Item.Properties properties) DebugStickItem(Item.Properties properties) DiscFragmentItem(Item.Properties properties) DoubleHighBlockItem(Block block, Item.Properties properties) DyeItem(Item.Properties properties) EggItem(Item.Properties properties) EmptyMapItem(Item.Properties properties) EndCrystalItem(Item.Properties properties) EnderEyeItem(Item.Properties properties) EnderpearlItem(Item.Properties properties) ExperienceBottleItem(Item.Properties properties) FireChargeItem(Item.Properties properties) FireworkRocketItem(Item.Properties properties) FishingRodItem(Item.Properties properties) FlintAndSteelItem(Item.Properties properties) FoodOnAStickItem(EntityType<T> canInteractWith, int consumeItemDamage, Item.Properties properties) GameMasterBlockItem(Block block, Item.Properties properties) GlowInkSacItem(Item.Properties properties) HangingEntityItem(EntityType<? extends HangingEntity> type, Item.Properties properties) HangingSignItem(Block hangingSign, Block wallHangingSign, Item.Properties properties) HoeItem(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline, Item.Properties properties) HoneycombItem(Item.Properties properties) InkSacItem(Item.Properties properties) InstrumentItem(Item.Properties properties) Item(Item.Properties properties) ItemFrameItem(EntityType<? extends HangingEntity> entityType, Item.Properties properties) KnowledgeBookItem(Item.Properties properties) LeadItem(Item.Properties properties) LingeringPotionItem(Item.Properties properties) MaceItem(Item.Properties properties) MapItem(Item.Properties properties) MinecartItem(EntityType<? extends AbstractMinecart> type, Item.Properties properties) MobBucketItem(EntityType<? extends Mob> type, Fluid content, SoundEvent emptySound, Item.Properties properties) NameTagItem(Item.Properties properties) PlaceOnWaterBlockItem(Block block, Item.Properties properties) PlayerHeadItem(Block block, Block wallBlock, Item.Properties properties) PotionItem(Item.Properties properties) ProjectileWeaponItem(Item.Properties properties) ScaffoldingBlockItem(Block block, Item.Properties properties) ShearsItem(Item.Properties properties) ShieldItem(Item.Properties properties) ShovelItem(ToolMaterial material, float attackDamageBaseline, float attackSpeedBaseline, Item.Properties properties) SignItem(Item.Properties properties, Block sign, Block wallSign, Direction direction) SignItem(Block sign, Block wallSign, Item.Properties properties) SmithingTemplateItem(Component appliesTo, Component ingredients, Component baseSlotDescription, Component additionsSlotDescription, List<Identifier> baseSlotEmptyIcons, List<Identifier> additionalSlotEmptyIcons, Item.Properties properties) SnowballItem(Item.Properties properties) SolidBucketItem(Block content, SoundEvent placeSound, Item.Properties properties) SpawnEggItem(Item.Properties properties) SpectralArrowItem(Item.Properties properties) SplashPotionItem(Item.Properties properties) SpyglassItem(Item.Properties properties) StandingAndWallBlockItem(Block block, Block wallBlock, Direction attachmentDirection, Item.Properties properties) ThrowablePotionItem(Item.Properties properties) TippedArrowItem(Item.Properties properties) TridentItem(Item.Properties properties) WindChargeItem(Item.Properties properties) WritableBookItem(Item.Properties properties) WrittenBookItem(Item.Properties properties) -
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 properties) Methods in net.minecraft.world.waypoints with parameters of type Item.PropertiesModifier and TypeMethodDescriptionstatic Item.PropertiesWaypoint.addHideAttribute(Item.Properties properties) -
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.