Support for ItemFlags #45
Labels
+ Enhancement
A feature request.
✓ Implemented
A fix has been implemented. Issue will remain open pending code merge into master branch
Hi there,
As mentioned on the Discord, it would be amazing to see support for ItemFlags added to OtherDrops
(reference: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html)
For example, this would allow to create an item like the one below, and hide the unbreaking X enchant:
ITEM@!UNBREAKING#10@!~&aItem name;&7Item lore;
Possible idea to implement this while respecting the current format could be to have it after enchants, like:
ITEM@!UNBREAKING#10!HIDE_ENCHANTS#true!HIDE_ATTRIBUTES#true@!~&aItem name;&7Item lore;
(or 1 for true 0 for false, just an idea though)
Thanks!
EDIT: If anyone stumbles upon this post, it's now possible to do it like below:
The text was updated successfully, but these errors were encountered: