public static enum PlayStatusPacket.Status extends Enum<PlayStatusPacket.Status>
| Enum Constant and Description |
|---|
FAILED_SERVER_FULL_SUB_CLIENT
Sent to a split screen player when the server is full
|
LOGIN_FAILED_CLIENT_OLD
Displays outdated client disconnection screen
|
LOGIN_FAILED_EDITION_MISMATCH_EDU_TO_VANILLA
Sent when a Education Edition client joins an Bedrock server
|
LOGIN_FAILED_EDITION_MISMATCH_VANILLA_TO_EDU
Sent when a Bedrock client joins an Education server
|
LOGIN_FAILED_INVALID_TENANT |
LOGIN_FAILED_SERVER_OLD
Displays outdated server disconnection screen
|
LOGIN_SUCCESS
Sent to confirm login success and move onto resource pack sequence
|
PLAYER_SPAWN
Spawns player into the world
|
| Modifier and Type | Method and Description |
|---|---|
static PlayStatusPacket.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayStatusPacket.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayStatusPacket.Status LOGIN_SUCCESS
public static final PlayStatusPacket.Status LOGIN_FAILED_CLIENT_OLD
public static final PlayStatusPacket.Status LOGIN_FAILED_SERVER_OLD
public static final PlayStatusPacket.Status PLAYER_SPAWN
public static final PlayStatusPacket.Status LOGIN_FAILED_INVALID_TENANT
public static final PlayStatusPacket.Status LOGIN_FAILED_EDITION_MISMATCH_EDU_TO_VANILLA
public static final PlayStatusPacket.Status LOGIN_FAILED_EDITION_MISMATCH_VANILLA_TO_EDU
public static final PlayStatusPacket.Status FAILED_SERVER_FULL_SUB_CLIENT
public static PlayStatusPacket.Status[] values()
for (PlayStatusPacket.Status c : PlayStatusPacket.Status.values()) System.out.println(c);
public static PlayStatusPacket.Status 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 © 2018–2022 NukkitX. All rights reserved.