Package net.minecraft.item
Enum Class ItemGroup.StackVisibility
- All Implemented Interfaces:
Serializable
,Comparable<ItemGroup.StackVisibility>
,Constable
- Enclosing class:
ItemGroup
- Mappings:
Namespace Name official cle$g
intermediary net/minecraft/class_1761$class_7705
named net/minecraft/item/ItemGroup$StackVisibility
-
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.StackVisibility
Returns the enum constant of this class with the specified name.static ItemGroup.StackVisibility[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
- 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
- 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
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
-