public static enum ClientboundMatchmakingStatePacket.MatchmakingState extends java.lang.Enum<ClientboundMatchmakingStatePacket.MatchmakingState>
| Enum Constant and Description |
|---|
CANCELED |
IDLE |
MATCH_FOUND |
MATCHMAKING |
PLAYER_LEFT_PARTY |
PLAYER_LEFT_SERVER |
REQUEUE_AS_PARTY |
SERVER_SHUTDOWN |
TIMED_OUT |
| Modifier and Type | Method and Description |
|---|---|
static ClientboundMatchmakingStatePacket.MatchmakingState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientboundMatchmakingStatePacket.MatchmakingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientboundMatchmakingStatePacket.MatchmakingState IDLE
public static final ClientboundMatchmakingStatePacket.MatchmakingState MATCHMAKING
public static final ClientboundMatchmakingStatePacket.MatchmakingState MATCH_FOUND
public static final ClientboundMatchmakingStatePacket.MatchmakingState CANCELED
public static final ClientboundMatchmakingStatePacket.MatchmakingState PLAYER_LEFT_PARTY
public static final ClientboundMatchmakingStatePacket.MatchmakingState PLAYER_LEFT_SERVER
public static final ClientboundMatchmakingStatePacket.MatchmakingState SERVER_SHUTDOWN
public static final ClientboundMatchmakingStatePacket.MatchmakingState TIMED_OUT
public static final ClientboundMatchmakingStatePacket.MatchmakingState REQUEUE_AS_PARTY
public static ClientboundMatchmakingStatePacket.MatchmakingState[] values()
for (ClientboundMatchmakingStatePacket.MatchmakingState c : ClientboundMatchmakingStatePacket.MatchmakingState.values()) System.out.println(c);
public static ClientboundMatchmakingStatePacket.MatchmakingState 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