Package me.clientastisch.cardinal.checks
Enum Class CheckManager
- All Implemented Interfaces:
Serializable,Comparable<CheckManager>,Constable
- Since:
- CAC v. 1.0
- Author:
- Clientastisch
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionGet a Check instance by namestatic booleantoggleCheck(String check, boolean state) Toggle a check by namestatic CheckManagerReturns the enum constant of this class with the specified name.static CheckManager[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KILLAURA_A
-
KILLAURA_B
-
KILLAURA_C
-
HEURISTIC_A
-
REACH_A
-
REACH_B
-
HITBOX_A
-
BLOCKHIT_A
-
BLOCKHIT_B
-
WALLATTACK_A
-
NO_SWING
-
FLY_A
-
FLY_B
-
FLY_C
-
FLY_D
-
FLY_E
-
FLY_F
-
FLY_G
-
FLY_H
-
SPEED_A
-
SPEED_B
-
SPEED_C
-
SPEED_D
-
SPEED_G
-
SPEED_J
-
SPEED_K
-
SPEED_L
-
SPEED_M
-
SPEED_N
-
WEB_A
-
STRAFE_A
-
STRAFE_B
-
MOTION_A
-
MOTION_B
-
INVMOVE_A
-
JESUS_A
-
FASTLADDER
-
VELOCITY_A
-
VELOCITY_B
-
NOSLOWDOWN_A
-
NETFREQUENCE_A
-
NETFREQUENCE_B
-
NOFALL
-
NO_GROUND
-
PACKETPORT_A
-
PACKETPORT_B
-
PACKETPORT_C
-
BLINK_A
-
BADPACKET_A
-
BADPACKET_B
-
BADPACKET_C
-
BADPACKET_D
-
BADPACKET_E
-
BADPACKET_F
-
TRANSACTION_A
-
BEDFUCKER
-
SCAFFOLD_A
-
SCAFFOLD_B
-
SCAFFOLD_C
-
SCAFFOLD_D
-
SCAFFOLD_E
-
SCAFFOLD_F
-
SCAFFOLD_G
-
SCAFFOLD_H
-
-
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
-
toggleCheck
Toggle a check by name- Parameters:
check- full name e.g. NetFrequence Type Bstate- true to enable, false to disable- Returns:
- true if enabled
-
getByName
Get a Check instance by name- Parameters:
name- full name e.g. NetFrequence Type B- Returns:
- Optional of Check if found, else empty optional
-