Package net.minecraft.world.entity
Enum Class HumanoidArm
- All Implemented Interfaces:
- Serializable,- Comparable<HumanoidArm>,- Constable,- OptionEnum,- StringRepresentable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentableStringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>, StringRepresentable.StringRepresentableCodec<S extends StringRepresentable>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final IntFunction<HumanoidArm>static final com.mojang.serialization.Codec<HumanoidArm>private final intprivate final Stringprivate final StringFields inherited from interface net.minecraft.util.StringRepresentablePRE_BUILT_MAP_THRESHOLD
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateHumanoidArm(int p_217028_, String p_217029_, String p_295547_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()getKey()static HumanoidArmReturns the enum constant of this class with the specified name.static HumanoidArm[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.util.OptionEnumgetCaption
- 
Enum Constant Details- 
LEFT
- 
RIGHT
 
- 
- 
Field Details- 
CODEC
- 
BY_ID
- 
idprivate final int id
- 
name
- 
translationKey
 
- 
- 
Constructor Details- 
HumanoidArm
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getOpposite
- 
getIdpublic int getId()- Specified by:
- getIdin interface- OptionEnum
 
- 
getKey- Specified by:
- getKeyin interface- OptionEnum
 
- 
getSerializedName- Specified by:
- getSerializedNamein interface- StringRepresentable
 
 
-