🏳Item Flags - Athlaeos/ValhallaMMO GitHub Wiki

Item flags usually determine which information is and isn't displayed on the item, but some add functionality as well.

Flag ID Description GUI Icon
ATTRIBUTE_FOR_BOTH_HANDS When applied on an item, any attributes assigned to it will function both while in main-hand and off-hand. Usually, items attributes only work while in main-hand Golden Sword
DISPLAY_ATTRIBUTES When applied on an item it will display the custom attributes and potion effects it has in its lore. If HIDE_ATTRIBUTES (or HIDE_POTION_EFFECTS for potion effects) is also present, which usually just hides vanilla attributes, said vanilla attributes are also converted to lore in the similar style as Valhalla's custom attributes and displayed as such Name Tag
HIDE_DURABILITY Hides ValhallaMMO's custom durability Wooden Pickaxe
HIDE_QUALITY Hides ValhallaMMO's quality flavor text from the item Coal
HIDE_TAGS Hides ValhallaMMO's custom smithing- and alchemy tag flavor texts from the item Ink Sac
INFINITY_EXPLOITABLE If applied on arrows, they may be duplicated by the Infinity enchantment Arrow
TEMPORARY_POTION_DISPLAY Should not be applied manually. Does the same as DISPLAY_ATTRIBUTES, except this tag is removed from the item if it no longer has any potion effects. Is used with the Weapon Coating mechanic to make potion effects temporarily visible on an item Glass Bottle
UNCRAFTABLE Should also not be applied manually. This tag is applied to items which fail their condition checks during recipes, which will cause them to display error information or not appear entirely Barrier
UNENCHANTABLE Prevents an item from being enchanted Enchantment Table
UNMENDABLE Prevents an item from being repaired by the Mending enchantment Anvil
HIDE_ARMOR_TRIM Vanilla flag, hides armor trims Brick
HIDE_ATTRIBUTES Vanilla flag, hides attribute modifiers on the item. If DISPLAY_ATTRIBUTES is also present, these hidden attributes will be displayed in the form of lore instead Paper
HIDE_DESTROYS Vanilla flag, hides any "destroys" tags on the item Golden Pickaxe
HIDE_DYE Vanilla flag, hides the colorable item's hex color from the item Red Dye
HIDE_ENCHANTS Vanilla flag, hides any enchantments on the item Enchanted Book
HIDE_PLACED_ON Vanilla flag, hides any "placeable on" tags on the item Bricks
HIDE_POTION_EFFECTS Vanilla flag, hides any potion effects present on the item. If DISPLAY_ATTRIBUTES is also present, these hidden potion effects will be displayed in the form of lore instead Potion
HIDE_UNBREAKABLE Vanilla flag, if the item is unbreakable its "Unbreakable" flavor text is hidden Diamond Pickaxe