Package net.minecraft.item
Enum Class ItemGroup.StackVisibility
- All Implemented Interfaces:
Serializable,Comparable<ItemGroup.StackVisibility>,Constable
- Enclosing class:
ItemGroup
- Mappings:
Namespace Name named net/minecraft/item/ItemGroup$StackVisibilityintermediary net/minecraft/class_1761$class_7705official cta$g
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemGroup.StackVisibilityReturns 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 named PARENT_AND_SEARCH_TABSLnet/minecraft/item/ItemGroup$StackVisibility;PARENT_AND_SEARCH_TABS:Lnet/minecraft/item/ItemGroup$StackVisibility;intermediary field_40191Lnet/minecraft/class_1761$class_7705;field_40191:Lnet/minecraft/class_1761$class_7705;official aLcta$g;a:Lcta$g;
-
PARENT_TAB_ONLY
- Mappings:
Namespace Name Mixin selector named PARENT_TAB_ONLYLnet/minecraft/item/ItemGroup$StackVisibility;PARENT_TAB_ONLY:Lnet/minecraft/item/ItemGroup$StackVisibility;intermediary field_40192Lnet/minecraft/class_1761$class_7705;field_40192:Lnet/minecraft/class_1761$class_7705;official bLcta$g;b:Lcta$g;
-
SEARCH_TAB_ONLY
- Mappings:
Namespace Name Mixin selector named SEARCH_TAB_ONLYLnet/minecraft/item/ItemGroup$StackVisibility;SEARCH_TAB_ONLY:Lnet/minecraft/item/ItemGroup$StackVisibility;intermediary field_40193Lnet/minecraft/class_1761$class_7705;field_40193:Lnet/minecraft/class_1761$class_7705;official cLcta$g;c:Lcta$g;
-
-
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
-