Package net.minecraft.util
Enum Arm
- All Implemented Interfaces:
Serializable
,Comparable<Arm>
,java.lang.constant.Constable
public enum Arm extends Enum<Arm>
- Mappings:
Namespace Name official are
intermediary net/minecraft/class_1306
named net/minecraft/util/Arm
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private Text
optionName
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Arm
getOpposite()
Text
getOptionName()
String
toString()
static Arm
valueOf(String name)
Returns the enum constant of this type with the specified name.static Arm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEFT
- Mappings:
Namespace Name Mixin selector official a
Lare;a:Lare;
intermediary field_6182
Lnet/minecraft/class_1306;field_6182:Lnet/minecraft/class_1306;
named LEFT
Lnet/minecraft/util/Arm;LEFT:Lnet/minecraft/util/Arm;
-
RIGHT
- Mappings:
Namespace Name Mixin selector official b
Lare;b:Lare;
intermediary field_6183
Lnet/minecraft/class_1306;field_6183:Lnet/minecraft/class_1306;
named RIGHT
Lnet/minecraft/util/Arm;RIGHT:Lnet/minecraft/util/Arm;
-
-
Field Details
-
optionName
- Mappings:
Namespace Name Mixin selector official c
Lare;c:Loi;
intermediary field_6181
Lnet/minecraft/class_1306;field_6181:Lnet/minecraft/class_2561;
named optionName
Lnet/minecraft/util/Arm;optionName:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
Arm
- Mappings:
Namespace Name Mixin selector official <init>
Lare;<init>(Ljava/lang/String;ILoi;)V
intermediary <init>
Lnet/minecraft/class_1306;<init>(Ljava/lang/String;ILnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/util/Arm;<init>(Ljava/lang/String;ILnet/minecraft/text/Text;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getOpposite
- Mappings:
Namespace Name Mixin selector official a
Lare;a()Lare;
intermediary method_5928
Lnet/minecraft/class_1306;method_5928()Lnet/minecraft/class_1306;
named getOpposite
Lnet/minecraft/util/Arm;getOpposite()Lnet/minecraft/util/Arm;
-
toString
-
getOptionName
- Mappings:
Namespace Name Mixin selector official b
Lare;b()Loi;
intermediary method_27301
Lnet/minecraft/class_1306;method_27301()Lnet/minecraft/class_2561;
named getOptionName
Lnet/minecraft/util/Arm;getOptionName()Lnet/minecraft/text/Text;
-