Enum VDCConfig.ContainerType
- java.lang.Object
-
- java.lang.Enum<VDCConfig.ContainerType>
-
- com.therandomlabs.vanilladeathchest.VDCConfig.ContainerType
-
- All Implemented Interfaces:
Serializable,Comparable<VDCConfig.ContainerType>
- Enclosing class:
- VDCConfig
public static enum VDCConfig.ContainerType extends Enum<VDCConfig.ContainerType>
The death chest container type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SINGLE_CHESTOnly single chests.SINGLE_OR_DOUBLE_CHESTSingle or double chests.SINGLE_OR_DOUBLE_SHULKER_BOXSingle or double shulker boxes.SINGLE_SHULKER_BOXOnly single shulker boxes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VDCConfig.ContainerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static VDCConfig.ContainerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_CHEST
public static final VDCConfig.ContainerType SINGLE_CHEST
Only single chests.
-
SINGLE_OR_DOUBLE_CHEST
public static final VDCConfig.ContainerType SINGLE_OR_DOUBLE_CHEST
Single or double chests.
-
SINGLE_SHULKER_BOX
public static final VDCConfig.ContainerType SINGLE_SHULKER_BOX
Only single shulker boxes.
-
SINGLE_OR_DOUBLE_SHULKER_BOX
public static final VDCConfig.ContainerType SINGLE_OR_DOUBLE_SHULKER_BOX
Single or double shulker boxes.
-
-
Method Detail
-
values
public static VDCConfig.ContainerType[] 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 (VDCConfig.ContainerType c : VDCConfig.ContainerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VDCConfig.ContainerType 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
-
-