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
official cle$g
intermediary net/minecraft/class_1761$class_7705
named net/minecraft/item/ItemGroup$StackVisibility
  • Enum Constant Details

    • PARENT_AND_SEARCH_TABS

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

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

      public static final ItemGroup.StackVisibility SEARCH_TAB_ONLY
      Mappings:
      Namespace Name Mixin selector
      official c Lcle$g;c:Lcle$g;
      intermediary field_40193 Lnet/minecraft/class_1761$class_7705;field_40193:Lnet/minecraft/class_1761$class_7705;
      named SEARCH_TAB_ONLY Lnet/minecraft/item/ItemGroup$StackVisibility;SEARCH_TAB_ONLY:Lnet/minecraft/item/ItemGroup$StackVisibility;
  • 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