public enum FormID extends Enum<FormID>
| Enum Constant and Description |
|---|
ADD_SERVER |
CONNECTING |
DIRECT_CONNECT |
EDIT_SERVER |
EDIT_SERVERS |
ERROR |
LIST_SERVERS |
MAIN |
REMOVE_SERVER |
SERVER_OPTIONS |
WELCOME |
| Modifier and Type | Method and Description |
|---|---|
static FormID |
fromId(int id) |
static FormID |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormID WELCOME
public static final FormID MAIN
public static final FormID DIRECT_CONNECT
public static final FormID LIST_SERVERS
public static final FormID EDIT_SERVERS
public static final FormID SERVER_OPTIONS
public static final FormID ADD_SERVER
public static final FormID REMOVE_SERVER
public static final FormID EDIT_SERVER
public static final FormID CONNECTING
public static final FormID ERROR
public static FormID[] values()
for (FormID c : FormID.values()) System.out.println(c);
public static FormID 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 FormID fromId(int id)
Copyright © 2021 GeyserMC. All rights reserved.