public static enum ItemStack.TooltipSection extends Enum<ItemStack.TooltipSection>
Enum Constant and Description |
---|
ADDITIONAL |
CAN_DESTROY |
CAN_PLACE |
DYE |
ENCHANTMENTS |
MODIFIERS |
UNBREAKABLE |
Modifier and Type | Field and Description |
---|---|
private int |
flag |
Modifier and Type | Method and Description |
---|---|
int |
getFlag() |
static ItemStack.TooltipSection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemStack.TooltipSection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemStack.TooltipSection ENCHANTMENTS
public static final ItemStack.TooltipSection MODIFIERS
public static final ItemStack.TooltipSection UNBREAKABLE
public static final ItemStack.TooltipSection CAN_DESTROY
public static final ItemStack.TooltipSection CAN_PLACE
public static final ItemStack.TooltipSection ADDITIONAL
public static final ItemStack.TooltipSection DYE
public static ItemStack.TooltipSection[] values()
for (ItemStack.TooltipSection c : ItemStack.TooltipSection.values()) System.out.println(c);
public static ItemStack.TooltipSection 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 nullpublic int getFlag()