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 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 p_40503_) ArrowItem(Item.Properties p_40512_) AxeItem(ToolMaterial material, float attackDamage, float attackSpeed, Item.Properties properties) BannerItem(Block block, Block wallBlock, Item.Properties properties) BedItem(Block p_40558_, Item.Properties p_40559_) BlockItem(Block block, Item.Properties properties) BoatItem(EntityType<? extends AbstractBoat> entityType, Item.Properties properties) BoneMealItem(Item.Properties p_40626_) BottleItem(Item.Properties p_40648_) BowItem(Item.Properties p_40660_) BrushItem(Item.Properties p_272907_) BucketItem(Fluid content, Item.Properties properties) 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 dyeColor, Item.Properties properties) 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> canInteractWith, int consumeItemDamage, Item.Properties properties) GameMasterBlockItem(Block p_41318_, Item.Properties p_41319_) 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 p_150867_) InkSacItem(Item.Properties p_277643_) InstrumentItem(Item.Properties p_220099_) Item(Item.Properties properties) 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> type, Item.Properties properties) MobBucketItem(EntityType<? extends Mob> type, Fluid content, SoundEvent emptySound, Item.Properties properties) NameTagItem(Item.Properties p_42952_) PlaceOnWaterBlockItem(Block p_220226_, Item.Properties p_220227_) PlayerHeadItem(Block block, Block wallBlock, Item.Properties properties) 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 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 p_151205_) StandingAndWallBlockItem(Block block, Block wallBlock, Direction attachmentDirection, Item.Properties properties) 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.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.