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