public enum WaitType extends Enum<WaitType>
| Enum Constant and Description |
|---|
LOCK_BLOCK |
LOCK_ENTITY |
OWN_BLOCK |
OWN_ENTITY |
PROTECT_BLOCK |
PROTECT_ENTITY |
SHOW_OWNER_BLOCK |
SHOW_OWNER_ENTITY |
UNLOCK_BLOCK |
UNLOCK_ENTITY |
UNOWN_BLOCK |
UNOWN_ENTITY |
UNPROTECT_BLOCK |
UNPROTECT_ENTITY |
| Modifier and Type | Method and Description |
|---|---|
static WaitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WaitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaitType OWN_ENTITY
public static final WaitType UNOWN_ENTITY
public static final WaitType SHOW_OWNER_ENTITY
public static final WaitType PROTECT_ENTITY
public static final WaitType UNPROTECT_ENTITY
public static final WaitType LOCK_ENTITY
public static final WaitType UNLOCK_ENTITY
public static final WaitType OWN_BLOCK
public static final WaitType UNOWN_BLOCK
public static final WaitType SHOW_OWNER_BLOCK
public static final WaitType PROTECT_BLOCK
public static final WaitType UNPROTECT_BLOCK
public static final WaitType LOCK_BLOCK
public static final WaitType UNLOCK_BLOCK
public static WaitType[] values()
for (WaitType c : WaitType.values()) System.out.println(c);
public static WaitType 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 © 2015. All rights reserved.