Enum Class ItemGroup.StackVisibility

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

protected static enum ItemGroup.StackVisibility extends Enum<ItemGroup.StackVisibility>
Mappings:
Namespace Name
named net/minecraft/item/ItemGroup$StackVisibility
intermediary net/minecraft/class_1761$class_7705
official cwd$g
  • Enum Constant Details

    • PARENT_AND_SEARCH_TABS

      public static final ItemGroup.StackVisibility PARENT_AND_SEARCH_TABS
      Mappings:
      Namespace Name Mixin selector
      named PARENT_AND_SEARCH_TABS Lnet/minecraft/item/ItemGroup$StackVisibility;PARENT_AND_SEARCH_TABS:Lnet/minecraft/item/ItemGroup$StackVisibility;
      intermediary field_40191 Lnet/minecraft/class_1761$class_7705;field_40191:Lnet/minecraft/class_1761$class_7705;
      official a Lcwd$g;a:Lcwd$g;
    • PARENT_TAB_ONLY

      public static final ItemGroup.StackVisibility PARENT_TAB_ONLY
      Mappings:
      Namespace Name Mixin selector
      named PARENT_TAB_ONLY Lnet/minecraft/item/ItemGroup$StackVisibility;PARENT_TAB_ONLY:Lnet/minecraft/item/ItemGroup$StackVisibility;
      intermediary field_40192 Lnet/minecraft/class_1761$class_7705;field_40192:Lnet/minecraft/class_1761$class_7705;
      official b Lcwd$g;b:Lcwd$g;
    • SEARCH_TAB_ONLY

      public static final ItemGroup.StackVisibility SEARCH_TAB_ONLY
      Mappings:
      Namespace Name Mixin selector
      named SEARCH_TAB_ONLY Lnet/minecraft/item/ItemGroup$StackVisibility;SEARCH_TAB_ONLY:Lnet/minecraft/item/ItemGroup$StackVisibility;
      intermediary field_40193 Lnet/minecraft/class_1761$class_7705;field_40193:Lnet/minecraft/class_1761$class_7705;
      official c Lcwd$g;c:Lcwd$g;
  • Constructor Details

    • StackVisibility

      private StackVisibility()
  • Method Details

    • values

      public static ItemGroup.StackVisibility[] 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 ItemGroup.StackVisibility 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