Package net.minecraft.item
Enum Class ItemGroup.Type
- All Implemented Interfaces:
Serializable
,Comparable<ItemGroup.Type>
,Constable
- Enclosing class:
ItemGroup
- Mappings:
Namespace Name named net/minecraft/item/ItemGroup$Type
intermediary net/minecraft/class_1761$class_7916
official cta$h
-
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 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
Lcta$h;a:Lcta$h;
-
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
Lcta$h;b:Lcta$h;
-
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
Lcta$h;c:Lcta$h;
-
SEARCH
- Mappings:
Namespace Name Mixin selector named SEARCH
Lnet/minecraft/item/ItemGroup$Type;SEARCH:Lnet/minecraft/item/ItemGroup$Type;
intermediary field_41055
Lnet/minecraft/class_1761$class_7916;field_41055:Lnet/minecraft/class_1761$class_7916;
official d
Lcta$h;d:Lcta$h;
-
-
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
-