Package net.minecraft.item
Enum ItemStack.TooltipSection
- All Implemented Interfaces:
Serializable,Comparable<ItemStack.TooltipSection>,java.lang.constant.Constable
- Enclosing class:
- ItemStack
public static enum ItemStack.TooltipSection extends Enum<ItemStack.TooltipSection>
- Mappings:
Namespace Name official boq$aintermediary net/minecraft/class_1799$class_5422named net/minecraft/item/ItemStack$TooltipSection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONALCAN_DESTROYCAN_PLACEDYEENCHANTMENTSMODIFIERSUNBREAKABLE -
Field Summary
Fields Modifier and Type Field Description private intflag -
Constructor Summary
Constructors Modifier Constructor Description privateTooltipSection() -
Method Summary
Modifier and Type Method Description intgetFlag()static ItemStack.TooltipSectionvalueOf(String name)Returns the enum constant of this type with the specified name.static ItemStack.TooltipSection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENCHANTMENTS
- Mappings:
Namespace Name Mixin selector official aLboq$a;a:Lboq$a;intermediary field_25768Lnet/minecraft/class_1799$class_5422;field_25768:Lnet/minecraft/class_1799$class_5422;named ENCHANTMENTSLnet/minecraft/item/ItemStack$TooltipSection;ENCHANTMENTS:Lnet/minecraft/item/ItemStack$TooltipSection;
-
MODIFIERS
- Mappings:
Namespace Name Mixin selector official bLboq$a;b:Lboq$a;intermediary field_25769Lnet/minecraft/class_1799$class_5422;field_25769:Lnet/minecraft/class_1799$class_5422;named MODIFIERSLnet/minecraft/item/ItemStack$TooltipSection;MODIFIERS:Lnet/minecraft/item/ItemStack$TooltipSection;
-
UNBREAKABLE
- Mappings:
Namespace Name Mixin selector official cLboq$a;c:Lboq$a;intermediary field_25770Lnet/minecraft/class_1799$class_5422;field_25770:Lnet/minecraft/class_1799$class_5422;named UNBREAKABLELnet/minecraft/item/ItemStack$TooltipSection;UNBREAKABLE:Lnet/minecraft/item/ItemStack$TooltipSection;
-
CAN_DESTROY
- Mappings:
Namespace Name Mixin selector official dLboq$a;d:Lboq$a;intermediary field_25771Lnet/minecraft/class_1799$class_5422;field_25771:Lnet/minecraft/class_1799$class_5422;named CAN_DESTROYLnet/minecraft/item/ItemStack$TooltipSection;CAN_DESTROY:Lnet/minecraft/item/ItemStack$TooltipSection;
-
CAN_PLACE
- Mappings:
Namespace Name Mixin selector official eLboq$a;e:Lboq$a;intermediary field_25772Lnet/minecraft/class_1799$class_5422;field_25772:Lnet/minecraft/class_1799$class_5422;named CAN_PLACELnet/minecraft/item/ItemStack$TooltipSection;CAN_PLACE:Lnet/minecraft/item/ItemStack$TooltipSection;
-
ADDITIONAL
- Mappings:
Namespace Name Mixin selector official fLboq$a;f:Lboq$a;intermediary field_25773Lnet/minecraft/class_1799$class_5422;field_25773:Lnet/minecraft/class_1799$class_5422;named ADDITIONALLnet/minecraft/item/ItemStack$TooltipSection;ADDITIONAL:Lnet/minecraft/item/ItemStack$TooltipSection;
-
DYE
- Mappings:
Namespace Name Mixin selector official gLboq$a;g:Lboq$a;intermediary field_25774Lnet/minecraft/class_1799$class_5422;field_25774:Lnet/minecraft/class_1799$class_5422;named DYELnet/minecraft/item/ItemStack$TooltipSection;DYE:Lnet/minecraft/item/ItemStack$TooltipSection;
-
-
Field Details
-
flag
private final int flag- Mappings:
Namespace Name Mixin selector official hLboq$a;h:Iintermediary field_25775Lnet/minecraft/class_1799$class_5422;field_25775:Inamed flagLnet/minecraft/item/ItemStack$TooltipSection;flag:I
-
-
Constructor Details
-
TooltipSection
private TooltipSection()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getFlag
public int getFlag()- Mappings:
Namespace Name Mixin selector official aLboq$a;a()Iintermediary method_30269Lnet/minecraft/class_1799$class_5422;method_30269()Inamed getFlagLnet/minecraft/item/ItemStack$TooltipSection;getFlag()I
-