public static enum ServerboundDataDrivenScreenClosedPacket.CloseReason extends java.lang.Enum<ServerboundDataDrivenScreenClosedPacket.CloseReason>
| Enum Constant and Description |
|---|
CLIENT_CANCELED |
INVALID_FORM |
PROGRAMMATIC_CLOSE |
PROGRAMMATIC_CLOSE_ALL |
USER_BUSY |
| Modifier and Type | Method and Description |
|---|---|
static ServerboundDataDrivenScreenClosedPacket.CloseReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerboundDataDrivenScreenClosedPacket.CloseReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerboundDataDrivenScreenClosedPacket.CloseReason PROGRAMMATIC_CLOSE
public static final ServerboundDataDrivenScreenClosedPacket.CloseReason PROGRAMMATIC_CLOSE_ALL
public static final ServerboundDataDrivenScreenClosedPacket.CloseReason CLIENT_CANCELED
public static final ServerboundDataDrivenScreenClosedPacket.CloseReason USER_BUSY
public static final ServerboundDataDrivenScreenClosedPacket.CloseReason INVALID_FORM
public static ServerboundDataDrivenScreenClosedPacket.CloseReason[] values()
for (ServerboundDataDrivenScreenClosedPacket.CloseReason c : ServerboundDataDrivenScreenClosedPacket.CloseReason.values()) System.out.println(c);
public static ServerboundDataDrivenScreenClosedPacket.CloseReason 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