public static enum PacketFilterManager.PlayerInjectHooks extends java.lang.Enum<PacketFilterManager.PlayerInjectHooks>
Enum Constant and Description |
---|
NETWORK_HANDLER_FIELDS
Override the packet queue lists in NetworkHandler.
|
NETWORK_MANAGER_OBJECT
Override the network handler object itself.
|
NETWORK_SERVER_OBJECT
Override the server handler object.
|
NONE
The injection hook that does nothing.
|
Modifier and Type | Method and Description |
---|---|
static PacketFilterManager.PlayerInjectHooks |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketFilterManager.PlayerInjectHooks[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketFilterManager.PlayerInjectHooks NONE
public static final PacketFilterManager.PlayerInjectHooks NETWORK_MANAGER_OBJECT
Cannot intercept MapChunk packets.
public static final PacketFilterManager.PlayerInjectHooks NETWORK_HANDLER_FIELDS
Cannot intercept MapChunk packets.
public static final PacketFilterManager.PlayerInjectHooks NETWORK_SERVER_OBJECT
public static PacketFilterManager.PlayerInjectHooks[] values()
for (PacketFilterManager.PlayerInjectHooks c : PacketFilterManager.PlayerInjectHooks.values()) System.out.println(c);
public static PacketFilterManager.PlayerInjectHooks 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