Package com.therandomlabs.randompatches
Enum RPConfig.PlayerHeadStackingFixMode
- java.lang.Object
-
- java.lang.Enum<RPConfig.PlayerHeadStackingFixMode>
-
- com.therandomlabs.randompatches.RPConfig.PlayerHeadStackingFixMode
-
- All Implemented Interfaces:
Serializable,Comparable<RPConfig.PlayerHeadStackingFixMode>
- Enclosing class:
- RPConfig
public static enum RPConfig.PlayerHeadStackingFixMode extends Enum<RPConfig.PlayerHeadStackingFixMode>
Player head stacking fix modes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDDisable the fix.REQUIRE_SAME_PLAYERRequire the same player.REQUIRE_SAME_PLAYER_AND_TEXTURE_URLRequire the same player and texture URL.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RPConfig.PlayerHeadStackingFixModevalueOf(String name)Returns the enum constant of this type with the specified name.static RPConfig.PlayerHeadStackingFixMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final RPConfig.PlayerHeadStackingFixMode DISABLED
Disable the fix.
-
REQUIRE_SAME_PLAYER_AND_TEXTURE_URL
public static final RPConfig.PlayerHeadStackingFixMode REQUIRE_SAME_PLAYER_AND_TEXTURE_URL
Require the same player and texture URL.
-
REQUIRE_SAME_PLAYER
public static final RPConfig.PlayerHeadStackingFixMode REQUIRE_SAME_PLAYER
Require the same player.
-
-
Method Detail
-
values
public static RPConfig.PlayerHeadStackingFixMode[] 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 (RPConfig.PlayerHeadStackingFixMode c : RPConfig.PlayerHeadStackingFixMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RPConfig.PlayerHeadStackingFixMode 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 nameNullPointerException- if the argument is null
-
-