Enum Class ItemStack.TooltipSection

java.lang.Object
java.lang.Enum<ItemStack.TooltipSection>
net.minecraft.item.ItemStack.TooltipSection
All Implemented Interfaces:
Serializable, Comparable<ItemStack.TooltipSection>, Constable
Enclosing class:
ItemStack

public static enum ItemStack.TooltipSection extends Enum<ItemStack.TooltipSection>
Mappings:
Namespace Name
official cmy$a
intermediary net/minecraft/class_1799$class_5422
named net/minecraft/item/ItemStack$TooltipSection
  • Enum Constant Details

    • ENCHANTMENTS

      public static final ItemStack.TooltipSection ENCHANTMENTS
      Mappings:
      Namespace Name Mixin selector
      official a Lcmy$a;a:Lcmy$a;
      intermediary field_25768 Lnet/minecraft/class_1799$class_5422;field_25768:Lnet/minecraft/class_1799$class_5422;
      named ENCHANTMENTS Lnet/minecraft/item/ItemStack$TooltipSection;ENCHANTMENTS:Lnet/minecraft/item/ItemStack$TooltipSection;
    • MODIFIERS

      public static final ItemStack.TooltipSection MODIFIERS
      Mappings:
      Namespace Name Mixin selector
      official b Lcmy$a;b:Lcmy$a;
      intermediary field_25769 Lnet/minecraft/class_1799$class_5422;field_25769:Lnet/minecraft/class_1799$class_5422;
      named MODIFIERS Lnet/minecraft/item/ItemStack$TooltipSection;MODIFIERS:Lnet/minecraft/item/ItemStack$TooltipSection;
    • UNBREAKABLE

      public static final ItemStack.TooltipSection UNBREAKABLE
      Mappings:
      Namespace Name Mixin selector
      official c Lcmy$a;c:Lcmy$a;
      intermediary field_25770 Lnet/minecraft/class_1799$class_5422;field_25770:Lnet/minecraft/class_1799$class_5422;
      named UNBREAKABLE Lnet/minecraft/item/ItemStack$TooltipSection;UNBREAKABLE:Lnet/minecraft/item/ItemStack$TooltipSection;
    • CAN_DESTROY

      public static final ItemStack.TooltipSection CAN_DESTROY
      Mappings:
      Namespace Name Mixin selector
      official d Lcmy$a;d:Lcmy$a;
      intermediary field_25771 Lnet/minecraft/class_1799$class_5422;field_25771:Lnet/minecraft/class_1799$class_5422;
      named CAN_DESTROY Lnet/minecraft/item/ItemStack$TooltipSection;CAN_DESTROY:Lnet/minecraft/item/ItemStack$TooltipSection;
    • CAN_PLACE

      public static final ItemStack.TooltipSection CAN_PLACE
      Mappings:
      Namespace Name Mixin selector
      official e Lcmy$a;e:Lcmy$a;
      intermediary field_25772 Lnet/minecraft/class_1799$class_5422;field_25772:Lnet/minecraft/class_1799$class_5422;
      named CAN_PLACE Lnet/minecraft/item/ItemStack$TooltipSection;CAN_PLACE:Lnet/minecraft/item/ItemStack$TooltipSection;
    • ADDITIONAL

      public static final ItemStack.TooltipSection ADDITIONAL
      Mappings:
      Namespace Name Mixin selector
      official f Lcmy$a;f:Lcmy$a;
      intermediary field_25773 Lnet/minecraft/class_1799$class_5422;field_25773:Lnet/minecraft/class_1799$class_5422;
      named ADDITIONAL Lnet/minecraft/item/ItemStack$TooltipSection;ADDITIONAL:Lnet/minecraft/item/ItemStack$TooltipSection;
    • DYE

      public static final ItemStack.TooltipSection DYE
      Mappings:
      Namespace Name Mixin selector
      official g Lcmy$a;g:Lcmy$a;
      intermediary field_25774 Lnet/minecraft/class_1799$class_5422;field_25774:Lnet/minecraft/class_1799$class_5422;
      named DYE Lnet/minecraft/item/ItemStack$TooltipSection;DYE:Lnet/minecraft/item/ItemStack$TooltipSection;
    • UPGRADES

      public static final ItemStack.TooltipSection UPGRADES
      Mappings:
      Namespace Name Mixin selector
      official h Lcmy$a;h:Lcmy$a;
      intermediary field_41945 Lnet/minecraft/class_1799$class_5422;field_41945:Lnet/minecraft/class_1799$class_5422;
      named UPGRADES Lnet/minecraft/item/ItemStack$TooltipSection;UPGRADES:Lnet/minecraft/item/ItemStack$TooltipSection;
  • Field Details

    • flag

      private final int flag
      Mappings:
      Namespace Name Mixin selector
      official i Lcmy$a;i:I
      intermediary field_25775 Lnet/minecraft/class_1799$class_5422;field_25775:I
      named flag Lnet/minecraft/item/ItemStack$TooltipSection;flag:I
  • Constructor Details

    • TooltipSection

      private TooltipSection()
  • Method Details

    • values

      public static ItemStack.TooltipSection[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ItemStack.TooltipSection valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFlag

      public int getFlag()
      Mappings:
      Namespace Name Mixin selector
      official a Lcmy$a;a()I
      intermediary method_30269 Lnet/minecraft/class_1799$class_5422;method_30269()I
      named getFlag Lnet/minecraft/item/ItemStack$TooltipSection;getFlag()I