public enum BlockSyncType extends Enum<BlockSyncType>
| Modifier and Type | Method and Description |
|---|---|
static BlockSyncType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockSyncType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockSyncType NONE
public static final BlockSyncType CREATE
public static final BlockSyncType DESTROY
public static BlockSyncType[] values()
for (BlockSyncType c : BlockSyncType.values()) System.out.println(c);
public static BlockSyncType 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.