Package net.minecraft.item
Enum Class ItemGroup.Type
- All Implemented Interfaces:
Serializable
,Comparable<ItemGroup.Type>
,Constable
- Enclosing class:
ItemGroup
- Mappings:
Namespace Name official cle$h
intermediary net/minecraft/class_1761$class_7916
named net/minecraft/item/ItemGroup$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemGroup.Type
Returns the enum constant of this class with the specified name.static ItemGroup.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CATEGORY
- Mappings:
Namespace Name Mixin selector official a
Lcle$h;a:Lcle$h;
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
- Mappings:
Namespace Name Mixin selector official b
Lcle$h;b:Lcle$h;
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
- Mappings:
Namespace Name Mixin selector official c
Lcle$h;c:Lcle$h;
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;
-
SEARCH
- Mappings:
Namespace Name Mixin selector official d
Lcle$h;d:Lcle$h;
intermediary field_41055
Lnet/minecraft/class_1761$class_7916;field_41055:Lnet/minecraft/class_1761$class_7916;
named SEARCH
Lnet/minecraft/item/ItemGroup$Type;SEARCH:Lnet/minecraft/item/ItemGroup$Type;
-
-
Constructor Details
-
Type
private Type()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-