public static enum MovePlayerPacket.TeleportationCause extends Enum<MovePlayerPacket.TeleportationCause>
| Enum Constant and Description |
|---|
BEHAVIOR |
CHORUS_FRUIT |
COMMAND |
PROJECTILE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static MovePlayerPacket.TeleportationCause |
byId(int id) |
static MovePlayerPacket.TeleportationCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MovePlayerPacket.TeleportationCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MovePlayerPacket.TeleportationCause UNKNOWN
public static final MovePlayerPacket.TeleportationCause PROJECTILE
public static final MovePlayerPacket.TeleportationCause CHORUS_FRUIT
public static final MovePlayerPacket.TeleportationCause COMMAND
public static final MovePlayerPacket.TeleportationCause BEHAVIOR
public static MovePlayerPacket.TeleportationCause[] values()
for (MovePlayerPacket.TeleportationCause c : MovePlayerPacket.TeleportationCause.values()) System.out.println(c);
public static MovePlayerPacket.TeleportationCause 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 nullpublic static MovePlayerPacket.TeleportationCause byId(int id)
Copyright © 2018–2019 NukkitX. All rights reserved.