Enum Class NonLegacyClass
- All Implemented Interfaces:
Serializable
,Comparable<NonLegacyClass>
,Constable
Enum containing information whether a class can be found in the current setup
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCheck for bkcommonlib compatibilityCheck for Folia compatibility -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> boolean
static NonLegacyClass
Returns the enum constant of this class with the specified name.static NonLegacyClass[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHAT_COLOR
-
POWERED_MINECART
-
WORLD
-
PLAYER_ADVANCEMENT_CRITERION_EVENT
-
ENTITY_INSIDE_BLOCK_EVENT
-
COMPONENT
-
SIGN_SIDE
-
REGIONIZED_SERVER
Check for Folia compatibility -
MULTI_BLOCK_CHANGE_EVENT
Check for bkcommonlib compatibility -
BLOCK_UTIL
-
-
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
-
isImplemented
public boolean isImplemented()- Returns:
True if the class is implemented
-
getRelatedClass
- Returns:
The class that this checks against
- Throws:
ClassNotFoundException
-If the class does could not be found
-