Enum Class ItemGroup.Type

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

public static enum ItemGroup.Type extends Enum<ItemGroup.Type>
Mappings:
Namespace Name
named net/minecraft/item/ItemGroup$Type
intermediary net/minecraft/class_1761$class_7916
official cwd$h
  • Enum Constant Details

    • CATEGORY

      public static final ItemGroup.Type CATEGORY
      Mappings:
      Namespace Name Mixin selector
      named CATEGORY Lnet/minecraft/item/ItemGroup$Type;CATEGORY:Lnet/minecraft/item/ItemGroup$Type;
      intermediary field_41052 Lnet/minecraft/class_1761$class_7916;field_41052:Lnet/minecraft/class_1761$class_7916;
      official a Lcwd$h;a:Lcwd$h;
    • INVENTORY

      public static final ItemGroup.Type INVENTORY
      Mappings:
      Namespace Name Mixin selector
      named INVENTORY Lnet/minecraft/item/ItemGroup$Type;INVENTORY:Lnet/minecraft/item/ItemGroup$Type;
      intermediary field_41053 Lnet/minecraft/class_1761$class_7916;field_41053:Lnet/minecraft/class_1761$class_7916;
      official b Lcwd$h;b:Lcwd$h;
    • HOTBAR

      public static final ItemGroup.Type HOTBAR
      Mappings:
      Namespace Name Mixin selector
      named HOTBAR Lnet/minecraft/item/ItemGroup$Type;HOTBAR:Lnet/minecraft/item/ItemGroup$Type;
      intermediary field_41054 Lnet/minecraft/class_1761$class_7916;field_41054:Lnet/minecraft/class_1761$class_7916;
      official c Lcwd$h;c:Lcwd$h;
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

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