Uses of Enum Class
org.bukkit.inventory.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
Modifier and TypeFieldDescriptionstatic final ItemFlag
ItemFlag.HIDE_ITEM_SPECIFICS
Setting to show/hide item-specific information, including, but not limited to: Potion effects on potions, tipped arrows, and suspicious stew Enchanted book enchantments Book author and generation Record names Patterns of banners and shields Fish bucket variants Instrument item descriptions (i.e.Modifier and TypeMethodDescriptionstatic ItemFlag
Returns 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.Modifier and TypeMethodDescriptionvoid
ItemStack.addItemFlags
(@NotNull ItemFlag... itemFlags) Set itemflags which should be ignored when rendering a ItemStack in the Client.boolean
ItemStack.hasItemFlag
(@NotNull ItemFlag flag) Check if the specified flag is present on this item.void
ItemStack.removeItemFlags
(@NotNull ItemFlag... itemFlags) Remove specific set of itemFlags. -
Uses of ItemFlag in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionvoid
ItemMeta.addItemFlags
(@NotNull ItemFlag... itemFlags) Set itemflags which should be ignored when rendering a ItemStack in the Client.boolean
ItemMeta.hasItemFlag
(@NotNull ItemFlag flag) Check if the specified flag is present on this item.void
ItemMeta.removeItemFlags
(@NotNull ItemFlag... itemFlags) Remove specific set of itemFlags.