Enum HeadModificationHandling
- java.lang.Object
- 
- java.lang.Enum<HeadModificationHandling>
- 
- com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<HeadModificationHandling>
 
 public enum HeadModificationHandling extends Enum<HeadModificationHandling> The Handling (or modifiability) that is recommended for a head from another plugin. This currently just indicates whether the head should be treated as a supported player-owned head, or be avoided entirely to prevent plugin conflicts.- Author:
- crashdemons (crashenator at gmail.com)
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description NO_INTERACTIONAvoid any interaction or modification of this head to prevent plugin conflicts.NORMALSupport the head as a normal player-owned or inbuilt head.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static HeadModificationHandlingvalueOf(String name)Returns the enum constant of this type with the specified name.static HeadModificationHandling[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NORMALpublic static final HeadModificationHandling NORMAL Support the head as a normal player-owned or inbuilt head.
 - 
NO_INTERACTIONpublic static final HeadModificationHandling NO_INTERACTION Avoid any interaction or modification of this head to prevent plugin conflicts.
 
- 
 - 
Method Detail- 
valuespublic static HeadModificationHandling[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HeadModificationHandling c : HeadModificationHandling.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static HeadModificationHandling valueOf(String name) 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-