Package net.minecraft.inventory
Enum Class StackMappingInventory.FlatteningType
java.lang.Object
java.lang.Enum<StackMappingInventory.FlatteningType>
net.minecraft.inventory.StackMappingInventory.FlatteningType
- All Implemented Interfaces:
Serializable,Comparable<StackMappingInventory.FlatteningType>,Constable
- Enclosing class:
StackMappingInventory
public static enum StackMappingInventory.FlatteningType
extends Enum<StackMappingInventory.FlatteningType>
- Mappings:
Namespace Name official cep$aintermediary net/minecraft/class_7865$class_7866named net/minecraft/inventory/StackMappingInventory$FlatteningType
-
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 TypeMethodDescriptionReturns the enum constant of this class with the specified name.static StackMappingInventory.FlatteningType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PARTIALLY_FLATTENED
- Mappings:
Namespace Name Mixin selector official aLcep$a;a:Lcep$a;intermediary field_40873Lnet/minecraft/class_7865$class_7866;field_40873:Lnet/minecraft/class_7865$class_7866;named PARTIALLY_FLATTENEDLnet/minecraft/inventory/StackMappingInventory$FlatteningType;PARTIALLY_FLATTENED:Lnet/minecraft/inventory/StackMappingInventory$FlatteningType;
-
FULLY_FLATTENED
- Mappings:
Namespace Name Mixin selector official bLcep$a;b:Lcep$a;intermediary field_40874Lnet/minecraft/class_7865$class_7866;field_40874:Lnet/minecraft/class_7865$class_7866;named FULLY_FLATTENEDLnet/minecraft/inventory/StackMappingInventory$FlatteningType;FULLY_FLATTENED:Lnet/minecraft/inventory/StackMappingInventory$FlatteningType;
-
NO_CHANGE
- Mappings:
Namespace Name Mixin selector official cLcep$a;c:Lcep$a;intermediary field_40875Lnet/minecraft/class_7865$class_7866;field_40875:Lnet/minecraft/class_7865$class_7866;named NO_CHANGELnet/minecraft/inventory/StackMappingInventory$FlatteningType;NO_CHANGE:Lnet/minecraft/inventory/StackMappingInventory$FlatteningType;
-
-
Constructor Details
-
FlatteningType
private FlatteningType()
-
-
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
-