Uses of Class
net.minecraft.item.Item.Settings
-
Uses of Item.Settings in net.minecraft.item
Modifier and TypeMethodDescriptionprivate Item.Settings
ToolMaterial.applyBaseSettings
(Item.Settings settings) ToolMaterial.applySwordSettings
(Item.Settings settings, float attackDamage, float attackSpeed) ToolMaterial.applyToolSettings
(Item.Settings settings, TagKey<Block> effectiveBlocks, float attackDamage, float attackSpeed) Item.Settings.attributeModifiers
(AttributeModifiersComponent attributeModifiersComponent) <T> Item.Settings
Item.Settings.component
(ComponentType<T> type, T value) Item.Settings.enchantable
(int enchantability) Item.Settings.equippable
(EquipmentSlot slot) Item.Settings.equippableUnswappable
(EquipmentSlot slot) Item.Settings.fireproof()
If called, any item with this Settings instance is immune to fire and lava damage.Item.Settings.food
(FoodComponent foodComponent) When set, any item configured with this Settings instance will be edible based on the providedFoodComponent
.Item.Settings.food
(FoodComponent foodComponent, ConsumableComponent consumableComponent) Item.Settings.jukeboxPlayable
(RegistryKey<JukeboxSong> songKey) Item.Settings.maxCount
(int maxCount) Sets the maximum stack count of any ItemStack with an Item using this Settings instance.Item.Settings.maxDamage
(int maxDamage) Sets the maximum durability of any item configured with this Settings instance.Item.Settings.modelId
(Identifier modelId) Sets theRarity
of any item configured with this Settings instance, which changes the color of its name.Item.Settings.recipeRemainder
(Item recipeRemainder) Sets the recipe remainder for any item configured with this Settings instance.Item.Settings.registryKey
(RegistryKey<Item> registryKey) Item.Settings.repairable
(Item repairIngredient) Item.Settings.repairable
(TagKey<Item> repairIngredientsTag) Item.Settings.requires
(FeatureFlag[] features) Item.Settings.translationKey
(String translationKey) Item.Settings.useBlockPrefixedTranslationKey()
Item.Settings.useCooldown
(float seconds) Item.Settings.useItemPrefixedTranslationKey()
Item.Settings.useRemainder
(Item convertInto) Modifier and TypeMethodDescriptionprivate static Function
<Item.Settings, Item> Items.createBlockItemWithUniqueName
(Block block) Modifier and TypeMethodDescriptionprivate Item.Settings
ToolMaterial.applyBaseSettings
(Item.Settings settings) ToolMaterial.applySwordSettings
(Item.Settings settings, float attackDamage, float attackSpeed) ToolMaterial.applyToolSettings
(Item.Settings settings, TagKey<Block> effectiveBlocks, float attackDamage, float attackSpeed) static SmithingTemplateItem
SmithingTemplateItem.createNetheriteUpgrade
(Item.Settings settings) static SmithingTemplateItem
SmithingTemplateItem.of
(Item.Settings settings) static Item
Items.register
(String id, Function<Item.Settings, Item> factory, Item.Settings settings) static Item
Items.register
(String id, Item.Settings settings) static Item
Items.register
(Block block, BiFunction<Block, Item.Settings, Item> factory, Item.Settings settings) static Item
Items.register
(Block block, Item.Settings settings) static Item
Items.register
(RegistryKey<Item> key, Function<Item.Settings, Item> factory, Item.Settings settings) Modifier and TypeMethodDescriptionstatic Item
Items.register
(String id, Function<Item.Settings, Item> factory) static Item
Items.register
(String id, Function<Item.Settings, Item> factory, Item.Settings settings) static Item
Items.register
(Block block, BiFunction<Block, Item.Settings, Item> factory) static Item
Items.register
(Block block, BiFunction<Block, Item.Settings, Item> factory, Item.Settings settings) static Item
Items.register
(Block block, UnaryOperator<Item.Settings> settingsOperator) static Item
Items.register
(RegistryKey<Item> key, Function<Item.Settings, Item> factory) static Item
Items.register
(RegistryKey<Item> key, Function<Item.Settings, Item> factory, Item.Settings settings) ModifierConstructorDescriptionAirBlockItem
(Block block, Item.Settings settings) AnimalArmorItem
(ArmorMaterial material, AnimalArmorItem.Type type, Item.Settings settings) AnimalArmorItem
(ArmorMaterial material, AnimalArmorItem.Type type, RegistryEntry<SoundEvent> equipSound, boolean damageOnHurt, Item.Settings settings) ArmorItem
(ArmorMaterial material, EquipmentType type, Item.Settings settings) ArmorStandItem
(Item.Settings settings) ArrowItem
(Item.Settings settings) AxeItem
(ToolMaterial material, float attackDamage, float attackSpeed, Item.Settings settings) BannerItem
(Block bannerBlock, Block wallBannerBlock, Item.Settings settings) BannerPatternItem
(TagKey<BannerPattern> patternItemTag, Item.Settings settings) BedItem
(Block block, Item.Settings settings) BlockItem
(Block block, Item.Settings settings) BoatItem
(EntityType<? extends AbstractBoatEntity> boatEntityType, Item.Settings settings) BoneMealItem
(Item.Settings settings) BowItem
(Item.Settings settings) BrushItem
(Item.Settings settings) BucketItem
(Fluid fluid, Item.Settings settings) BundleItem
(Identifier openFrontTexture, Identifier openBackTexture, Item.Settings settings) CompassItem
(Item.Settings settings) CrossbowItem
(Item.Settings settings) DebugStickItem
(Item.Settings settings) DecorationItem
(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings) DiscFragmentItem
(Item.Settings settings) DyeItem
(DyeColor color, Item.Settings settings) EggItem
(Item.Settings settings) EmptyMapItem
(Item.Settings settings) EndCrystalItem
(Item.Settings settings) EnderEyeItem
(Item.Settings settings) EnderPearlItem
(Item.Settings settings) EntityBucketItem
(EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item.Settings settings) ExperienceBottleItem
(Item.Settings settings) FilledMapItem
(Item.Settings settings) FireChargeItem
(Item.Settings settings) FireworkRocketItem
(Item.Settings settings) FireworkStarItem
(Item.Settings settings) FishingRodItem
(Item.Settings settings) FlintAndSteelItem
(Item.Settings settings) GlassBottleItem
(Item.Settings settings) GlowInkSacItem
(Item.Settings settings) GoatHornItem
(TagKey<Instrument> instrumentTag, Item.Settings settings) HangingSignItem
(Block hangingSign, Block wallHangingSign, Item.Settings settings) HoeItem
(ToolMaterial material, float attackDamage, float attackSpeed, Item.Settings settings) HoneycombItem
(Item.Settings settings) InkSacItem
(Item.Settings settings) Item
(Item.Settings settings) ItemFrameItem
(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings) KnowledgeBookItem
(Item.Settings settings) LeadItem
(Item.Settings settings) LingeringPotionItem
(Item.Settings settings) MaceItem
(Item.Settings settings) MinecartItem
(EntityType<? extends AbstractMinecartEntity> type, Item.Settings settings) protected
MiningToolItem
(ToolMaterial material, TagKey<Block> effectiveBlocks, float attackDamage, float attackSpeed, Item.Settings settings) NameTagItem
(Item.Settings settings) OnAStickItem
(EntityType<T> target, int damagePerUse, Item.Settings settings) OperatorOnlyBlockItem
(Block block, Item.Settings settings) PickaxeItem
(ToolMaterial material, float attackDamage, float attackSpeed, Item.Settings settings) PlaceableOnWaterItem
(Block block, Item.Settings settings) PlayerHeadItem
(Block block, Block wallBlock, Item.Settings settings) PotionItem
(Item.Settings settings) PowderSnowBucketItem
(Block block, SoundEvent placeSound, Item.Settings settings) RangedWeaponItem
(Item.Settings settings) SaddleItem
(Item.Settings settings) ScaffoldingItem
(Block block, Item.Settings settings) ShearsItem
(Item.Settings settings) ShieldItem
(Item.Settings settings) ShovelItem
(ToolMaterial material, float attackDamage, float attackSpeed, Item.Settings settings) SignItem
(Block standingBlock, Block wallBlock, Item.Settings settings) SignItem
(Item.Settings settings, Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection) SmithingTemplateItem
(Text appliesToText, Text ingredientsText, Text baseSlotDescriptionText, Text additionsSlotDescriptionText, List<Identifier> emptyBaseSlotTextures, List<Identifier> emptyAdditionsSlotTextures, Item.Settings settings) SnowballItem
(Item.Settings settings) SpawnEggItem
(EntityType<? extends MobEntity> type, int primaryColor, int secondaryColor, Item.Settings settings) SpectralArrowItem
(Item.Settings settings) SplashPotionItem
(Item.Settings settings) SpyglassItem
(Item.Settings settings) SwordItem
(ToolMaterial material, float attackDamage, float attackSpeed, Item.Settings settings) TallBlockItem
(Block block, Item.Settings settings) ThrowablePotionItem
(Item.Settings settings) TippedArrowItem
(Item.Settings settings) TridentItem
(Item.Settings settings) VerticallyAttachableBlockItem
(Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection, Item.Settings settings) WindChargeItem
(Item.Settings settings) WritableBookItem
(Item.Settings settings) WrittenBookItem
(Item.Settings settings) -
Uses of Item.Settings in net.minecraft.item.equipment
Modifier and TypeMethodDescriptionArmorMaterial.applyBodyArmorSettings
(Item.Settings settings, RegistryEntry<SoundEvent> equipSound, boolean damageOnHurt, RegistryEntryList<EntityType<?>> allowedEntities) ArmorMaterial.applyBodyArmorSettings
(Item.Settings settings, RegistryEntryList<EntityType<?>> allowedEntities) ArmorMaterial.applySettings
(Item.Settings settings, EquipmentType equipmentType) Modifier and TypeMethodDescriptionArmorMaterial.applyBodyArmorSettings
(Item.Settings settings, RegistryEntry<SoundEvent> equipSound, boolean damageOnHurt, RegistryEntryList<EntityType<?>> allowedEntities) ArmorMaterial.applyBodyArmorSettings
(Item.Settings settings, RegistryEntryList<EntityType<?>> allowedEntities) ArmorMaterial.applySettings
(Item.Settings settings, EquipmentType equipmentType)