editor item flags - magemonkeystudio/divinity GitHub Wiki
🏷️ Editor: Item Flags
The Item Flags editor option allows you to hide or reveal specific item tooltip elements. These are purely visual and use Minecraft’s ItemFlag
system.
🎛️ What Are Item Flags?
Item Flags control the visibility of item metadata in the tooltip shown when hovering over the item. They don’t change how the item works — only how it looks.
🧩 Available Flags
In the editor, you can toggle the following flags:
HIDE_ENCHANTS
– Hide all enchantment lines.HIDE_ATTRIBUTES
– Hide attribute bonuses (e.g., +7 Attack Damage).HIDE_UNBREAKABLE
– Hide the "Unbreakable" label.HIDE_DESTROYS
– Hide block break restrictions (CanDestroy
).HIDE_PLACED_ON
– Hide block placement restrictions.HIDE_POTION_EFFECTS
– Hide potion effects on potions.HIDE_DYE
– Hide leather armor dye color.
🧭 How to Use
- Open the Item Generator Editor and select Item Flags.
- A menu displays each flag as an individual icon.
- Click each icon to toggle that flag on/off.
🔧 Want to Hide All Flags?
The editor does not provide a button to hide all flags at once.
However, in the generator’s config file, you can manually add:
item-flags:
- ALL
This will apply all available flags automatically when the item is generated.
✅ Use Cases
- Clean up low-tier items by hiding enchantments and attributes.
- Hide potion effects to make items mysterious.
- Remove the “Unbreakable” label when using a custom durability system.
- Style your UI for minimalism or roleplay immersion.
Notes
- Flags do not affect gameplay — only visuals.
- You can mix and match flags freely.
- Some flags are more useful for certain item types (e.g.,
HIDE_DYE
for leather armor only).
Return to: Item Generator Module