public static enum UpdateBlockPacket.Flag extends Enum<UpdateBlockPacket.Flag>
| Enum Constant and Description |
|---|
NEIGHBORS |
NETWORK |
NO_GRAPHIC |
NONE |
PRIORITY |
| Modifier and Type | Method and Description |
|---|---|
static UpdateBlockPacket.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateBlockPacket.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateBlockPacket.Flag NONE
public static final UpdateBlockPacket.Flag NEIGHBORS
public static final UpdateBlockPacket.Flag NETWORK
public static final UpdateBlockPacket.Flag NO_GRAPHIC
public static final UpdateBlockPacket.Flag PRIORITY
public static UpdateBlockPacket.Flag[] values()
for (UpdateBlockPacket.Flag c : UpdateBlockPacket.Flag.values()) System.out.println(c);
public static UpdateBlockPacket.Flag 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–2019 NukkitX. All rights reserved.