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
official ccd$g
intermediary net/minecraft/class_1761$class_7916
named net/minecraft/item/ItemGroup$Type
  • Enum Constant Details

    • CATEGORY

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

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

      public static final ItemGroup.Type HOTBAR
      Mappings:
      Namespace Name Mixin selector
      official c Lccd$g;c:Lccd$g;
      intermediary field_41054 Lnet/minecraft/class_1761$class_7916;field_41054:Lnet/minecraft/class_1761$class_7916;
      named HOTBAR Lnet/minecraft/item/ItemGroup$Type;HOTBAR:Lnet/minecraft/item/ItemGroup$Type;
  • 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