Uses of Class
net.minecraft.item.Item.Settings
-
Uses of Item.Settings in net.minecraft.item
Modifier and TypeMethodDescriptionItem.Settings.attributeModifiers
(AttributeModifiersComponent attributeModifiersComponent) <T> Item.Settings
Item.Settings.component
(DataComponentType<T> type, T value) 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.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.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.requires
(FeatureFlag[] features) Modifier and TypeMethodDescriptionstatic Item
Items.register
(Block block, UnaryOperator<Item.Settings> settingsOperator) ModifierConstructorDescriptionAirBlockItem
(Block block, Item.Settings settings) AliasedBlockItem
(Block block, Item.Settings settings) AnimalArmorItem
(RegistryEntry<ArmorMaterial> material, AnimalArmorItem.Type type, boolean hasOverlay, Item.Settings settings) ArmorItem
(RegistryEntry<ArmorMaterial> material, ArmorItem.Type type, Item.Settings settings) ArmorStandItem
(Item.Settings settings) ArrowItem
(Item.Settings settings) AxeItem
(ToolMaterial material, 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
(boolean chest, BoatEntity.Type type, Item.Settings settings) BoneMealItem
(Item.Settings settings) BookItem
(Item.Settings settings) BowItem
(Item.Settings settings) BrushItem
(Item.Settings settings) BucketItem
(Fluid fluid, Item.Settings settings) BundleItem
(Item.Settings settings) ChorusFruitItem
(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) ElytraItem
(Item.Settings settings) EmptyMapItem
(Item.Settings settings) EnchantedBookItem
(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
(Item.Settings settings, TagKey<Instrument> instrumentTag) HangingSignItem
(Block hangingSign, Block wallHangingSign, Item.Settings settings) HoeItem
(ToolMaterial material, Item.Settings settings) HoneyBottleItem
(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) MilkBucketItem
(Item.Settings settings) MinecartItem
(AbstractMinecartEntity.Type type, Item.Settings settings) protected
MiningToolItem
(ToolMaterial material, TagKey<Block> effectiveBlocks, Item.Settings settings) protected
MusicDiscItem
(int comparatorOutput, SoundEvent sound, Item.Settings settings, int lengthInSeconds) NameTagItem
(Item.Settings settings) NetworkSyncedItem
(Item.Settings settings) OminousBottleItem
(Item.Settings settings) OnAStickItem
(Item.Settings settings, EntityType<T> target, int damagePerUse) OperatorOnlyBlockItem
(Block block, Item.Settings settings) PickaxeItem
(ToolMaterial material, 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, Item.Settings settings) SignItem
(Item.Settings settings, Block standingBlock, Block wallBlock) SignItem
(Item.Settings settings, Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection) 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) StewItem
(Item.Settings settings) SuspiciousStewItem
(Item.Settings settings) SwordItem
(ToolMaterial material, Item.Settings settings) TallBlockItem
(Block block, Item.Settings settings) ThrowablePotionItem
(Item.Settings settings) TippedArrowItem
(Item.Settings settings) ToolItem
(ToolMaterial material, Item.Settings settings) TridentItem
(Item.Settings settings) VerticallyAttachableBlockItem
(Block standingBlock, Block wallBlock, Item.Settings settings, Direction verticalAttachmentDirection) WindChargeItem
(Item.Settings settings) WritableBookItem
(Item.Settings settings) WrittenBookItem
(Item.Settings settings)