public static enum ArmorStand.LockType extends Enum<ArmorStand.LockType>
Enum Constant and Description |
---|
ADDING
Prevents adding the respective equipment - players cannot replace the
empty slot with a new item, but can swap items between themselves and
the ArmorStand.
|
ADDING_OR_CHANGING
Prevents adding or changing the respective equipment - players cannot
replace the empty slot with a new item or swap the items between
themselves and the ArmorStand.
|
REMOVING_OR_CHANGING
Prevents removing or changing the respective equipment - players
cannot take an item from the slot or swap the items between
themselves and the ArmorStand.
|
Modifier and Type | Method and Description |
---|---|
static ArmorStand.LockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArmorStand.LockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArmorStand.LockType ADDING_OR_CHANGING
public static final ArmorStand.LockType REMOVING_OR_CHANGING
public static final ArmorStand.LockType ADDING
public static ArmorStand.LockType[] values()
for (ArmorStand.LockType c : ArmorStand.LockType.values()) System.out.println(c);
public static ArmorStand.LockType 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 © 2022. All rights reserved.