Uses of Class
org.bukkit.inventory.ItemFlag
| Package | Description |
|---|---|
| org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
| org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks. |
-
Uses of ItemFlag in org.bukkit.inventory
Methods in org.bukkit.inventory that return ItemFlag Modifier and Type Method Description static ItemFlagItemFlag. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ItemFlag[]ItemFlag. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of ItemFlag in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return types with arguments of type ItemFlag Modifier and Type Method Description java.util.Set<ItemFlag>ItemMeta. getItemFlags()Get current set itemFlags.Methods in org.bukkit.inventory.meta with parameters of type ItemFlag Modifier and Type Method Description voidItemMeta. addItemFlags(ItemFlag... itemFlags)Set itemflags which should be ignored when rendering a ItemStack in the Client.booleanItemMeta. hasItemFlag(ItemFlag flag)Check if the specified flag is present on this item.voidItemMeta. removeItemFlags(ItemFlag... itemFlags)Remove specific set of itemFlags.