com.cliffblaster.game.api.event
Enum PlayerCheatEvent.CheatType

java.lang.Object
  extended by java.lang.Enum<PlayerCheatEvent.CheatType>
      extended by com.cliffblaster.game.api.event.PlayerCheatEvent.CheatType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PlayerCheatEvent.CheatType>
Enclosing class:
PlayerCheatEvent

public static enum PlayerCheatEvent.CheatType
extends java.lang.Enum<PlayerCheatEvent.CheatType>

The enumerated types of cheats


Enum Constant Summary
BLOCK_DISTANCE
          Cheat parameters: Packet7BlockChange
BLOCK_SPEED
          Cheat parameters: Packet7BlockChange
BLOCK_TYPE
          Cheat parameters: Packet7BlockChange
FLYING
          Cheat parameters: Packet6PlayerPosition
SPEED
          Cheat parameters: Packet6PlayerPosition
 
Method Summary
static PlayerCheatEvent.CheatType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PlayerCheatEvent.CheatType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BLOCK_DISTANCE

public static final PlayerCheatEvent.CheatType BLOCK_DISTANCE
Cheat parameters: Packet7BlockChange


BLOCK_TYPE

public static final PlayerCheatEvent.CheatType BLOCK_TYPE
Cheat parameters: Packet7BlockChange


BLOCK_SPEED

public static final PlayerCheatEvent.CheatType BLOCK_SPEED
Cheat parameters: Packet7BlockChange


FLYING

public static final PlayerCheatEvent.CheatType FLYING
Cheat parameters: Packet6PlayerPosition


SPEED

public static final PlayerCheatEvent.CheatType SPEED
Cheat parameters: Packet6PlayerPosition

Method Detail

values

public static final PlayerCheatEvent.CheatType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PlayerCheatEvent.CheatType c : PlayerCheatEvent.CheatType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PlayerCheatEvent.CheatType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name