Uses of Enum Class
org.bukkit.inventory.ItemFlag
Packages that use ItemFlag
Package
Description
Classes involved in manipulating player inventories and item interactions.
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 ItemFlagModifier and TypeMethodDescriptionstatic ItemFlagReturns the enum constant of this class with the specified name.static ItemFlag[]ItemFlag.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.bukkit.inventory that return types with arguments of type ItemFlagMethods in org.bukkit.inventory with parameters of type ItemFlagModifier and TypeMethodDescriptionvoidItemStack.addItemFlags(@NotNull ItemFlag... itemFlags) Set itemflags which should be ignored when rendering a ItemStack in the Client.booleanItemStack.hasItemFlag(@NotNull ItemFlag flag) Check if the specified flag is present on this item.voidItemStack.removeItemFlags(@NotNull ItemFlag... itemFlags) Remove specific set of itemFlags. -
Uses of ItemFlag in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return types with arguments of type ItemFlagMethods in org.bukkit.inventory.meta with parameters of type ItemFlagModifier and TypeMethodDescriptionvoidItemMeta.addItemFlags(@NotNull ItemFlag... itemFlags) Set itemflags which should be ignored when rendering a ItemStack in the Client.booleanItemMeta.hasItemFlag(@NotNull ItemFlag flag) Check if the specified flag is present on this item.voidItemMeta.removeItemFlags(@NotNull ItemFlag... itemFlags) Remove specific set of itemFlags.