Enum Class FirstPersonModifier.FirstPersonConfigEnum
java.lang.Object
java.lang.Enum<FirstPersonModifier.FirstPersonConfigEnum>
dev.kosmx.playerAnim.api.layered.modifier.FirstPersonModifier.FirstPersonConfigEnum
- All Implemented Interfaces:
Serializable,Comparable<FirstPersonModifier.FirstPersonConfigEnum>,Constable
- Enclosing class:
FirstPersonModifier
public static enum FirstPersonModifier.FirstPersonConfigEnum
extends Enum<FirstPersonModifier.FirstPersonConfigEnum>
Enumeration representing predefined first-person view configurations.
Each enum constant is associated with a FirstPersonConfiguration
object that specifies which arms and items are visible in the first-person view.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisables both arms and both items in the first-person view.Enables both arms and both items in the first-person view.Enables only the left arm without its associated item in the first-person view.Enables only the left arm and its associated item in the first-person view.Enables only the left-hand item without showing the arm in the first-person view.Enables only the right arm without its associated item in the first-person view.Enables only the right arm and its associated item in the first-person view.Enables only the right-hand item without showing the arm in the first-person view. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLE_BOTH_ARMS
Enables both arms and both items in the first-person view. -
DISABLE_BOTH_ARMS
Disables both arms and both items in the first-person view. -
ONLY_RIGHT_ARM_AND_ITEM
Enables only the right arm and its associated item in the first-person view. -
ONLY_LEFT_ARM_AND_ITEM
Enables only the left arm and its associated item in the first-person view. -
ONLY_RIGHT_ARM
Enables only the right arm without its associated item in the first-person view. -
ONLY_LEFT_ARM
Enables only the left arm without its associated item in the first-person view. -
ONLY_RIGHT_ITEM
Enables only the right-hand item without showing the arm in the first-person view. -
ONLY_LEFT_ITEM
Enables only the left-hand item without showing the arm in the first-person view.
-
-
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
-