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 areintermediary net/minecraft/class_1306named 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 TextoptionName -
Constructor Summary
-
Method Summary
Modifier and Type Method Description ArmgetOpposite()TextgetOptionName()StringtoString()static ArmvalueOf(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 aLare;a:Lare;intermediary field_6182Lnet/minecraft/class_1306;field_6182:Lnet/minecraft/class_1306;named LEFTLnet/minecraft/util/Arm;LEFT:Lnet/minecraft/util/Arm;
-
RIGHT
- Mappings:
Namespace Name Mixin selector official bLare;b:Lare;intermediary field_6183Lnet/minecraft/class_1306;field_6183:Lnet/minecraft/class_1306;named RIGHTLnet/minecraft/util/Arm;RIGHT:Lnet/minecraft/util/Arm;
-
-
Field Details
-
optionName
- Mappings:
Namespace Name Mixin selector official cLare;c:Loi;intermediary field_6181Lnet/minecraft/class_1306;field_6181:Lnet/minecraft/class_2561;named optionNameLnet/minecraft/util/Arm;optionName:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
Arm
- Mappings:
Namespace Name Mixin selector official <init>Lare;<init>(Ljava/lang/String;ILoi;)Vintermediary <init>Lnet/minecraft/class_1306;<init>(Ljava/lang/String;ILnet/minecraft/class_2561;)Vnamed <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 aLare;a()Lare;intermediary method_5928Lnet/minecraft/class_1306;method_5928()Lnet/minecraft/class_1306;named getOppositeLnet/minecraft/util/Arm;getOpposite()Lnet/minecraft/util/Arm;
-
toString
-
getOptionName
- Mappings:
Namespace Name Mixin selector official bLare;b()Loi;intermediary method_27301Lnet/minecraft/class_1306;method_27301()Lnet/minecraft/class_2561;named getOptionNameLnet/minecraft/util/Arm;getOptionName()Lnet/minecraft/text/Text;
-