public static enum EventPacket.Type extends Enum<EventPacket.Type>
| Enum Constant and Description |
|---|
ACHIEVEMENT_AWARDED |
AGENT_COMMAND |
AGENT_CREATED |
BOSS_KILLED |
CAULDRON_USED |
COMMAND_EXECUTED |
ENTITY_INTERACT |
FISH_BUCKETED |
MOB_KILLED |
PATTERN_REMOVED |
PLAYER_DEATH |
PORTAL_BUILT |
PORTAL_USED |
| Modifier and Type | Method and Description |
|---|---|
static EventPacket.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventPacket.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventPacket.Type ACHIEVEMENT_AWARDED
public static final EventPacket.Type ENTITY_INTERACT
public static final EventPacket.Type PORTAL_BUILT
public static final EventPacket.Type PORTAL_USED
public static final EventPacket.Type MOB_KILLED
public static final EventPacket.Type CAULDRON_USED
public static final EventPacket.Type PLAYER_DEATH
public static final EventPacket.Type BOSS_KILLED
public static final EventPacket.Type AGENT_COMMAND
public static final EventPacket.Type AGENT_CREATED
public static final EventPacket.Type PATTERN_REMOVED
public static final EventPacket.Type COMMAND_EXECUTED
public static final EventPacket.Type FISH_BUCKETED
public static EventPacket.Type[] values()
for (EventPacket.Type c : EventPacket.Type.values()) System.out.println(c);
public static EventPacket.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2019 NukkitX. All rights reserved.