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 attackDamage, float attackSpeed) ToolMaterial.applyToolProperties(Item.Properties properties, TagKey<Block> mineableBlocks, float attackDamage, float attackSpeed, float disableBlockingForSeconfs) Item.Properties.attributes(ItemAttributeModifiers attributes) Item.Properties.axe(ToolMaterial material, float attackDamage, float attackSpeed) <T> Item.PropertiesItem.Properties.component(DataComponentType<T> component, T value) Item.Properties.craftRemainder(Item craftingRemainingItem) Item.Properties.durability(int maxDamage) Item.Properties.enchantable(int enchantmentValue) Item.Properties.equippable(EquipmentSlot slot) Item.Properties.equippableUnswappable(EquipmentSlot slot) Item.Properties.fireResistant()Item.Properties.food(FoodProperties food) Item.Properties.food(FoodProperties food, Consumable consumable) Item.Properties.hoe(ToolMaterial material, float attackDamage, float attackSpeed) Item.Properties.horseArmor(ArmorMaterial material) Item.Properties.humanoidArmor(ArmorMaterial material, ArmorType type) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> song) Item.Properties.overrideDescription(String description) Item.Properties.pickaxe(ToolMaterial material, float attackDamage, float attackSpeed) Item.Properties.repairable(TagKey<Item> repairItems) Item.Properties.repairable(Item repairItem) Item.Properties.requiredFeatures(FeatureFlag... requiredFeatures) Item.Properties.setId(ResourceKey<Item> id) Item.Properties.setNoCombineRepair()Item.Properties.shovel(ToolMaterial material, float attackDamage, float attackSpeed) Item.Properties.stacksTo(int maxStackSize) Item.Properties.sword(ToolMaterial material, float attackDamage, float attackSpeed) Item.Properties.tool(ToolMaterial material, TagKey<Block> mineableBlocks, float attackDamage, float attackSpeed, float disableBlockingForSeconds) Item.Properties.trimMaterial(ResourceKey<TrimMaterial> trimMaterial) Item.Properties.useBlockDescriptionPrefix()Item.Properties.useCooldown(float useCooldown) Item.Properties.useItemDescriptionPrefix()Item.Properties.usingConvertsTo(Item usingConvertsTo) 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 attackDamage, float attackSpeed) ToolMaterial.applyToolProperties(Item.Properties properties, TagKey<Block> mineableBlocks, float attackDamage, float attackSpeed, float disableBlockingForSeconfs) static SmithingTemplateItemSmithingTemplateItem.createArmorTrimTemplate(Item.Properties properties) static SmithingTemplateItemSmithingTemplateItem.createNetheriteUpgradeTemplate(Item.Properties properties) static ItemItems.registerBlock(Block block, BiFunction<Block, Item.Properties, Item> factory, Item.Properties properties) static ItemItems.registerBlock(Block block, Item.Properties properties) static ItemItems.registerItem(String name, Function<Item.Properties, Item> factory, Item.Properties properties) static ItemItems.registerItem(String name, Item.Properties properties) static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> factory, Item.Properties properties) Method parameters in net.minecraft.world.item with type arguments of type Item.PropertiesModifier and TypeMethodDescriptionstatic ItemItems.registerBlock(Block block, BiFunction<Block, Item.Properties, Item> factory) static ItemItems.registerBlock(Block block, BiFunction<Block, Item.Properties, Item> factory, Item.Properties properties) static ItemItems.registerBlock(Block block, UnaryOperator<Item.Properties> propertiesModifier) static ItemItems.registerItem(String name, Function<Item.Properties, Item> factory) static ItemItems.registerItem(String name, Function<Item.Properties, Item> factory, Item.Properties properties) static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> factory) static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> factory, 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 attackDamage, float attackSpeed, 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 p_220029_) DoubleHighBlockItem(Block block, Item.Properties properties) DyeItem(DyeColor dyeColor, Item.Properties properties) EggItem(Item.Properties p_41126_) EmptyMapItem(Item.Properties p_41143_) EndCrystalItem(Item.Properties properties) EnderEyeItem(Item.Properties properties) EnderpearlItem(Item.Properties p_41188_) ExperienceBottleItem(Item.Properties p_41194_) FireChargeItem(Item.Properties properties) FireworkRocketItem(Item.Properties properties) FishingRodItem(Item.Properties p_41285_) FlintAndSteelItem(Item.Properties properties) FoodOnAStickItem(EntityType<T> canInteractWith, int consumeItemDamage, Item.Properties properties) GameMasterBlockItem(Block block, Item.Properties properties) GlowInkSacItem(Item.Properties p_277648_) HangingEntityItem(EntityType<? extends HangingEntity> type, Item.Properties properties) HangingSignItem(Block block, Block wallBlock, Item.Properties properties) HoeItem(ToolMaterial material, float attackDamage, float attackSpeed, Item.Properties properties) HoneycombItem(Item.Properties properties) InkSacItem(Item.Properties p_277643_) InstrumentItem(Item.Properties properties) Item(Item.Properties properties) ItemFrameItem(EntityType<? extends HangingEntity> type, Item.Properties properties) KnowledgeBookItem(Item.Properties p_42822_) LeadItem(Item.Properties properties) LingeringPotionItem(Item.Properties p_42836_) 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 p_220226_, Item.Properties p_220227_) PlayerHeadItem(Block block, Block wallBlock, Item.Properties properties) PotionItem(Item.Properties p_42979_) ProjectileWeaponItem(Item.Properties properties) ScaffoldingBlockItem(Block block, Item.Properties properties) ShearsItem(Item.Properties properties) ShieldItem(Item.Properties p_43089_) ShovelItem(ToolMaterial material, float attackDamage, float attackSpeed, Item.Properties properties) SignItem(Item.Properties properties, Block standingBlock, Block wallBlock, Direction attachmentDirection) SignItem(Block standingBlock, Block wallBlock, Item.Properties properties) SmithingTemplateItem(Component appliesTo, Component ingredients, Component baseSlotDescription, Component additionsSlotDescription, List<ResourceLocation> baseSlotEmptyIcons, List<ResourceLocation> additionalSlotEmptyIcons, Item.Properties properties) SnowballItem(Item.Properties p_43140_) SolidBucketItem(Block block, SoundEvent placeSound, Item.Properties properties) SpawnEggItem(EntityType<? extends Mob> defaultType, Item.Properties properties) SpectralArrowItem(Item.Properties p_43235_) SplashPotionItem(Item.Properties p_43241_) SpyglassItem(Item.Properties properties) StandingAndWallBlockItem(Block block, Block wallBlock, Direction attachmentDirection, Item.Properties properties) ThrowablePotionItem(Item.Properties properties) 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 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) 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.