Package net.minecraft.item
Class Item.Settings
java.lang.Object
net.minecraft.item.Item.Settings
- Enclosing class:
- Item
public static class Item.Settings extends Object
- Mappings:
Namespace Name official bnr$a
intermediary net/minecraft/class_1792$class_1793
named net/minecraft/item/Item$Settings
-
Field Summary
Fields Modifier and Type Field Description private boolean
fireproof
private FoodComponent
foodComponent
private ItemGroup
group
private int
maxCount
private int
maxDamage
private Rarity
rarity
private Item
recipeRemainder
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
Modifier and Type Method Description Item.Settings
fireproof()
Item.Settings
food(FoodComponent foodComponent)
Item.Settings
group(ItemGroup group)
Item.Settings
maxCount(int maxCount)
Item.Settings
maxDamage(int maxDamage)
Item.Settings
maxDamageIfAbsent(int maxDamage)
Item.Settings
rarity(Rarity rarity)
Item.Settings
recipeRemainder(Item recipeRemainder)
-
Field Details
-
maxCount
private int maxCount- Mappings:
Namespace Name Mixin selector official a
Lbnr$a;a:I
intermediary field_8020
Lnet/minecraft/class_1792$class_1793;field_8020:I
named maxCount
Lnet/minecraft/item/Item$Settings;maxCount:I
-
maxDamage
private int maxDamage- Mappings:
Namespace Name Mixin selector official b
Lbnr$a;b:I
intermediary field_8019
Lnet/minecraft/class_1792$class_1793;field_8019:I
named maxDamage
Lnet/minecraft/item/Item$Settings;maxDamage:I
-
recipeRemainder
- Mappings:
Namespace Name Mixin selector official c
Lbnr$a;c:Lbnr;
intermediary field_8018
Lnet/minecraft/class_1792$class_1793;field_8018:Lnet/minecraft/class_1792;
named recipeRemainder
Lnet/minecraft/item/Item$Settings;recipeRemainder:Lnet/minecraft/item/Item;
-
group
- Mappings:
Namespace Name Mixin selector official d
Lbnr$a;d:Lbmm;
intermediary field_8017
Lnet/minecraft/class_1792$class_1793;field_8017:Lnet/minecraft/class_1761;
named group
Lnet/minecraft/item/Item$Settings;group:Lnet/minecraft/item/ItemGroup;
-
rarity
- Mappings:
Namespace Name Mixin selector official e
Lbnr$a;e:Lbok;
intermediary field_8016
Lnet/minecraft/class_1792$class_1793;field_8016:Lnet/minecraft/class_1814;
named rarity
Lnet/minecraft/item/Item$Settings;rarity:Lnet/minecraft/util/Rarity;
-
foodComponent
- Mappings:
Namespace Name Mixin selector official f
Lbnr$a;f:Lbjo;
intermediary field_18673
Lnet/minecraft/class_1792$class_1793;field_18673:Lnet/minecraft/class_4174;
named foodComponent
Lnet/minecraft/item/Item$Settings;foodComponent:Lnet/minecraft/item/FoodComponent;
-
fireproof
private boolean fireproof- Mappings:
Namespace Name Mixin selector official g
Lbnr$a;g:Z
intermediary field_21980
Lnet/minecraft/class_1792$class_1793;field_21980:Z
named fireproof
Lnet/minecraft/item/Item$Settings;fireproof:Z
-
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
food
- Mappings:
Namespace Name Mixin selector official a
Lbnr$a;a(Lbjo;)Lbnr$a;
intermediary method_19265
Lnet/minecraft/class_1792$class_1793;method_19265(Lnet/minecraft/class_4174;)Lnet/minecraft/class_1792$class_1793;
named food
Lnet/minecraft/item/Item$Settings;food(Lnet/minecraft/item/FoodComponent;)Lnet/minecraft/item/Item$Settings;
-
maxCount
- Mappings:
Namespace Name Mixin selector official a
Lbnr$a;a(I)Lbnr$a;
intermediary method_7889
Lnet/minecraft/class_1792$class_1793;method_7889(I)Lnet/minecraft/class_1792$class_1793;
named maxCount
Lnet/minecraft/item/Item$Settings;maxCount(I)Lnet/minecraft/item/Item$Settings;
-
maxDamageIfAbsent
- Mappings:
Namespace Name Mixin selector official b
Lbnr$a;b(I)Lbnr$a;
intermediary method_7898
Lnet/minecraft/class_1792$class_1793;method_7898(I)Lnet/minecraft/class_1792$class_1793;
named maxDamageIfAbsent
Lnet/minecraft/item/Item$Settings;maxDamageIfAbsent(I)Lnet/minecraft/item/Item$Settings;
-
maxDamage
- Mappings:
Namespace Name Mixin selector official c
Lbnr$a;c(I)Lbnr$a;
intermediary method_7895
Lnet/minecraft/class_1792$class_1793;method_7895(I)Lnet/minecraft/class_1792$class_1793;
named maxDamage
Lnet/minecraft/item/Item$Settings;maxDamage(I)Lnet/minecraft/item/Item$Settings;
-
recipeRemainder
- Mappings:
Namespace Name Mixin selector official a
Lbnr$a;a(Lbnr;)Lbnr$a;
intermediary method_7896
Lnet/minecraft/class_1792$class_1793;method_7896(Lnet/minecraft/class_1792;)Lnet/minecraft/class_1792$class_1793;
named recipeRemainder
Lnet/minecraft/item/Item$Settings;recipeRemainder(Lnet/minecraft/item/Item;)Lnet/minecraft/item/Item$Settings;
-
group
- Mappings:
Namespace Name Mixin selector official a
Lbnr$a;a(Lbmm;)Lbnr$a;
intermediary method_7892
Lnet/minecraft/class_1792$class_1793;method_7892(Lnet/minecraft/class_1761;)Lnet/minecraft/class_1792$class_1793;
named group
Lnet/minecraft/item/Item$Settings;group(Lnet/minecraft/item/ItemGroup;)Lnet/minecraft/item/Item$Settings;
-
rarity
- Mappings:
Namespace Name Mixin selector official a
Lbnr$a;a(Lbok;)Lbnr$a;
intermediary method_7894
Lnet/minecraft/class_1792$class_1793;method_7894(Lnet/minecraft/class_1814;)Lnet/minecraft/class_1792$class_1793;
named rarity
Lnet/minecraft/item/Item$Settings;rarity(Lnet/minecraft/util/Rarity;)Lnet/minecraft/item/Item$Settings;
-
fireproof
- Mappings:
Namespace Name Mixin selector official a
Lbnr$a;a()Lbnr$a;
intermediary method_24359
Lnet/minecraft/class_1792$class_1793;method_24359()Lnet/minecraft/class_1792$class_1793;
named fireproof
Lnet/minecraft/item/Item$Settings;fireproof()Lnet/minecraft/item/Item$Settings;
-