Package org.bukkit.entity.model
Enum Class PlayerModelPart
- All Implemented Interfaces:
Serializable
,Comparable<PlayerModelPart>
,Constable
Represents a part of a player model/texture.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlayer cape.Player hat/helmet.Player torso covering.Player left leg covering.Player left arm covering.Player right leg covering.Player right arm covering. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerModelPart
Returns the enum constant of this class with the specified name.static PlayerModelPart[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAPE
Player cape. -
JACKET
Player torso covering. -
LEFT_SLEEVE
Player left arm covering. -
RIGHT_SLEEVE
Player right arm covering. -
LEFT_PANTS_LEG
Player left leg covering. -
RIGHT_PANTS_LEG
Player right leg covering. -
HAT
Player hat/helmet.
-
-
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
-