"when in main hand"
Is this client side and if not, is it possible to remove the "when in main hand" on tools, "when on body" on armor etc.. in GUI's. Deluxemenu screenshot attached for example

10 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by potsojam#0
https://jd.papermc.io/paper/1.21/org/bukkit/inventory/ItemFlag.html#HIDE_ATTRIBUTES
i believe this is the itemflag you're looking for
ItemFlag (paper-api 1.21-R0.1-SNAPSHOT API)
declaration: package: org.bukkit.inventory, enum: ItemFlag
https://jd.papermc.io/paper/1.21/org/bukkit/inventory/ItemStack.html#addItemFlags(org.bukkit.inventory.ItemFlag...)
use this and add the
HIDE_ATTRIBUTES
flagItemStack (paper-api 1.21-R0.1-SNAPSHOT API)
declaration: package: org.bukkit.inventory, class: ItemStack
Like this? think I did it wrong as it still shows


gonna try a restart and see - edit: didnt work, unless i added it to config incorrectly
oh i have no clue how to do it with deluxe menus
ahh ok no problem! thank you for trying to help ill keep researching haha
thought u were just asking if its possible, in guis' which yet it is.
i dont know if deluxemenus has an option for it. your best bet is to just ask in the deluxe menu discord
will find ur answer a lot quicker
discord.gg/helpchat
thank you, appreciate the help 🙂
!solved
post closed!
The post/thread has been closed!
Requested by potsojam#0