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