Uses of Class
net.minecraft.item.Item.Settings
-
Uses of Item.Settings in net.minecraft.item
Modifier and TypeMethodDescriptionItem.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
.Sets the ItemGroup of any item using this Settings instance.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.maxDamageIfAbsent
(int maxDamage) CallsmaxDamage
If this Settings instance has not already set max damage (or if max damage is the default value, 0).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.ModifierConstructorDescriptionAirBlockItem
(Block block, Item.Settings settings) AliasedBlockItem
(Block block, Item.Settings settings) ArmorItem
(ArmorMaterial material, EquipmentSlot slot, Item.Settings settings) ArmorStandItem
(Item.Settings settings) ArrowItem
(Item.Settings settings) protected
AxeItem
(ToolMaterial material, float attackDamage, float attackSpeed, Item.Settings settings) BannerItem
(Block standingBlock, Block wallBlock, 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) BucketItem
(Fluid fluid, Item.Settings settings) BundleItem
(Item.Settings settings) ChorusFruitItem
(Item.Settings settings) CommandBlockItem
(Block block, 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) DyeableArmorItem
(ArmorMaterial material, EquipmentSlot slot, Item.Settings settings) DyeableHorseArmorItem
(int bonus, String name, 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) EnchantedGoldenAppleItem
(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) GoatHornItem
(Item.Settings settings, TagKey<Instrument> instrumentTag) protected
HoeItem
(ToolMaterial material, int attackDamage, float attackSpeed, Item.Settings settings) HoneyBottleItem
(Item.Settings settings) HoneycombItem
(Item.Settings settings) HorseArmorItem
(int bonus, String name, 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) MilkBucketItem
(Item.Settings settings) MinecartItem
(AbstractMinecartEntity.Type type, Item.Settings settings) protected
MiningToolItem
(float attackDamage, float attackSpeed, ToolMaterial material, TagKey<Block> effectiveBlocks, Item.Settings settings) protected
MusicDiscItem
(int comparatorOutput, SoundEvent sound, Item.Settings settings) NameTagItem
(Item.Settings settings) NetherStarItem
(Item.Settings settings) NetworkSyncedItem
(Item.Settings settings) OnAStickItem
(Item.Settings settings, EntityType<T> target, int damagePerUse) protected
PickaxeItem
(ToolMaterial material, int attackDamage, float attackSpeed, Item.Settings settings) PlaceableOnWaterItem
(Block block, 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
(Item.Settings settings, Block standingBlock, Block wallBlock) SkullItem
(Block standingBlock, Block wallBlock, 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) StewItem
(Item.Settings settings) SuspiciousStewItem
(Item.Settings settings) SwordItem
(ToolMaterial toolMaterial, int attackDamage, float attackSpeed, 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) WallStandingBlockItem
(Block standingBlock, Block wallBlock, Item.Settings settings) WritableBookItem
(Item.Settings settings) WrittenBookItem
(Item.Settings settings)