#Hide Enchantments not working on 1.21
1 messages · Page 1 of 1 (latest)
material: NAME_TAG
priority: 2
slot: 19
amount: 1
display_name: '&e&lAlex Pin'
lore:
- '&fDisplay[colon] ⌀&7Display in the tab'
- ''
- '&e➥ Left-Click to select'
view_requirement:
requirements:
upgrade_requirement:
type: has permission
permission: deluxetags.tag.alexb
click_commands:
- '[close]'
- '[player] deluxetags:tags select Alex'
hide_enchantments: true
enchantments:
- DURABILITY;1
AlexB:
material: NAME_TAG
priority: 1
slot: 19
amount: 1
display_name: '&e&lAlex Pin'
lore:
- '&fDisplay[colon] ⌀&7Display in the tab'
- ''
- '&c[!] &7You haven’t unlocked this tag!'
hide_enchantments: true
enchantments:
- DURABILITY;1```
Abandoned?
Might need the latest devbuild
Update DeluxeMenus to the latest build - #184
here is the link: https://ci.extendedclip.com/job/DeluxeMenus/
I also had the issue and it works on the latest build)
Did this resurface for you? I'm using DeluxeMenus-1.14.1-DEV-184 and hide_enchantments seems to have no effect.
`item_flags:
- hide_enchants`
Thank you, the massive amount of warnings the console spit out telling me to update should have been my first clue lol.
I've tried:
item_flags:
- "HIDE_ENCHANTS"
- "HIDE_ATTRIBUTES"
item_flags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
For some reason I cannot get the enchant to hide. Here is an example:
rules:
material: ENCHANTED_BOOK
slot: 12
enchantments:
- "SILK_TOUCH;1"
item_flags:
- "HIDE_ENCHANTS"
- "HIDE_ATTRIBUTES"
display_name: "&#FFD9BE⚖ &#FFA462Rules"
lore:
- "&7Some Lore →"
left_click_commands:
- "[player] runalias /rules"
- "[close]"
right_click_commands:
- "[player] runalias /rules"
- "[close]"
I also did lowercase variations (I don't think it matters but wanted to be sure)
Are you positive you are using the latest dev build?
This is the full file:
menu_title: "&0Help Guides"
open_command: help
size: 36
items:
rules:
material: ENCHANTED_BOOK
slot: 12
enchantments:
- "SILK_TOUCH;1"
item_flags:
- "HIDE_ENCHANTS"
- "HIDE_ATTRIBUTES"
display_name: "&#FFD9BE⚖ &#FFA462Rules"
lore:
- "&7Example Lore →"
left_click_commands:
- "[player] runalias /rules"
- "[close]"
right_click_commands:
- "[player] runalias /rules"
- "[close]"
What's the server version?
1.21.1
That's weird, honestly not too sure
I'll give it a try on my server soon, I know hide_attributes has been working for me but idk about hide enchants lol
Yeah no worries - just kind of tripping me out. I appreciate you taking the time to troubleshoot this /w me.
I haven't touched this in like a year so I'm going through my honey-do list of things to fix.
hide_enchantments: true also doesn't hide it by chance?
I know they are legacy and scheduled for removal or whatever, but it's weird itemflags wouldn't work
@agile fiber I found a strange pattern that idk how I didn't notice... this is only on Enchanted Books. Items are not an issue.
Oh so it does work, just not on enchanted books?
Yup just tested on some others, just enchanted books don't seem to hide it.
Wait a sec, do you just want an enchanted book to display in your GUI with no enchants on it or?
Still has that glowy effect on it
Yeah that's the fix. Thank you for playing my stupid game 😂
All good, I feel like I have something like that happen to me at least once per day