Enum Class IBlockAnalyzer.MaterialStatus
java.lang.Object
java.lang.Enum<IBlockAnalyzer.MaterialStatus>
nl.pim16aap2.animatedarchitecture.core.api.IBlockAnalyzer.MaterialStatus
- All Implemented Interfaces:
Serializable,Comparable<IBlockAnalyzer.MaterialStatus>,Constable
- Enclosing interface:
IBlockAnalyzer<T>
Represents the status of a material.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe material is blacklisted and cannot in any way be used as an animated block.This material is allowed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static IBlockAnalyzer.MaterialStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLACKLISTED
The material is blacklisted and cannot in any way be used as an animated block. -
WHITELISTED
This material is allowed.
-
-
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
-