|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PluginLoader.Hook>
PluginLoader.Hook
public static enum PluginLoader.Hook extends java.lang.Enum<PluginLoader.Hook>
Hook - Used for adding a listener to listen on specific hooks
Enum Constant and Description |
---|
ARM_SWING
Calls onArmSwing |
ATTACK
Calls onAttack |
BAN
Calls onBan |
BLOCK_BROKEN
Calls onBlockBreak |
BLOCK_CREATED
Calls onBlockCreate |
BLOCK_DESTROYED
Calls onBlockDestroy |
BLOCK_PHYSICS
Calls onBlockPhysics |
BLOCK_PLACE
Calls onBlockPlace |
BLOCK_RIGHTCLICKED
Calls onBlockRightClicked |
CHAT
Calls onChat |
COMMAND
Calls onCommand |
DAMAGE
Calls onDamage |
DISCONNECT
Calls onDisconnect |
EXPLODE
Calls onExplode |
FLOW
Calls onFlow |
HEALTH_CHANGE
Calls onHealthChange |
IGNITE
Calls onIgnite |
INVENTORY_PLACE
Calls onInventoryPlaceItem |
INVENTORY_SWAP
Calls onInventoryCursorSwap |
INVENTORY_TAKE
Calls onInventoryTakeItem |
IPBAN
Calls onIpBan |
ITEM_DROP
Calls onItemDrop |
ITEM_PICK_UP
Calls onItemPickUp |
ITEM_USE
Calls onItemUse |
KICK
Calls onKick |
LEAF_DECAY
Calls onLeafDecay |
LIQUID_DESTROY
Calls onLiquidDestroy |
LOGIN
Calls onLogin |
LOGINCHECK
Calls onLoginChecks |
MOB_SPAWN
Calls onMobSpawn |
NUM_HOOKS
Unused. |
OPEN_INVENTORY
Calls onOpenInventory |
PLAYER_MOVE
Calls onPlayerMove |
REDSTONE_CHANGE
Calls onRedstoneChange |
SERVERCOMMAND
Calls onConsoleCommand |
SIGN_CHANGE
Calls onSignChange |
SIGN_SHOW
Calls onSignShow |
TELEPORT
Calls onTeleport |
VEHICLE_COLLISION
Calls onVehicleCollision |
VEHICLE_CREATE
Calls onVehicleCreate |
VEHICLE_DAMAGE
Calls onVehicleDamage |
VEHICLE_DESTROYED
Calls onVehicleDestroyed |
VEHICLE_ENTERED
Calls onVehicleEntered |
VEHICLE_POSITIONCHANGE
Calls onVehiclePositionChange |
VEHICLE_UPDATE
Calls onVehicleUpdate |
Modifier and Type | Method and Description |
---|---|
static PluginLoader.Hook |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PluginLoader.Hook[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PluginLoader.Hook LOGINCHECK
public static final PluginLoader.Hook LOGIN
public static final PluginLoader.Hook CHAT
public static final PluginLoader.Hook COMMAND
public static final PluginLoader.Hook SERVERCOMMAND
public static final PluginLoader.Hook BAN
public static final PluginLoader.Hook IPBAN
public static final PluginLoader.Hook KICK
public static final PluginLoader.Hook BLOCK_CREATED
public static final PluginLoader.Hook BLOCK_DESTROYED
public static final PluginLoader.Hook DISCONNECT
public static final PluginLoader.Hook PLAYER_MOVE
public static final PluginLoader.Hook ARM_SWING
public static final PluginLoader.Hook ITEM_DROP
public static final PluginLoader.Hook ITEM_PICK_UP
public static final PluginLoader.Hook TELEPORT
public static final PluginLoader.Hook BLOCK_BROKEN
public static final PluginLoader.Hook IGNITE
public static final PluginLoader.Hook FLOW
public static final PluginLoader.Hook EXPLODE
public static final PluginLoader.Hook MOB_SPAWN
public static final PluginLoader.Hook DAMAGE
public static final PluginLoader.Hook HEALTH_CHANGE
public static final PluginLoader.Hook REDSTONE_CHANGE
public static final PluginLoader.Hook BLOCK_PHYSICS
public static final PluginLoader.Hook VEHICLE_CREATE
public static final PluginLoader.Hook VEHICLE_UPDATE
public static final PluginLoader.Hook VEHICLE_DAMAGE
public static final PluginLoader.Hook VEHICLE_COLLISION
public static final PluginLoader.Hook VEHICLE_DESTROYED
public static final PluginLoader.Hook VEHICLE_ENTERED
public static final PluginLoader.Hook VEHICLE_POSITIONCHANGE
public static final PluginLoader.Hook ITEM_USE
public static final PluginLoader.Hook BLOCK_PLACE
public static final PluginLoader.Hook BLOCK_RIGHTCLICKED
public static final PluginLoader.Hook LIQUID_DESTROY
public static final PluginLoader.Hook ATTACK
public static final PluginLoader.Hook OPEN_INVENTORY
public static final PluginLoader.Hook SIGN_SHOW
public static final PluginLoader.Hook SIGN_CHANGE
public static final PluginLoader.Hook INVENTORY_PLACE
public static final PluginLoader.Hook INVENTORY_TAKE
public static final PluginLoader.Hook INVENTORY_SWAP
public static final PluginLoader.Hook LEAF_DECAY
public static final PluginLoader.Hook NUM_HOOKS
Method Detail |
---|
public static PluginLoader.Hook[] values()
for (PluginLoader.Hook c : PluginLoader.Hook.values()) System.out.println(c);
public static PluginLoader.Hook valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |