hello i used to use a custom gui with dm before the new rp updates so now im using minecraft 1.21.4 but it seems the older method no longer worked so if switched to the method using component but im having no luck is anyone able to help me this is my current layout for resourcepack and the file for the dm.
size: 52
menu_title: "&f七七七七七七七七ㇺ"
open_requirement:
requirements:
permission:
type: has permission
permission: deluxemenus.menu
deny_commands:
- '[message] &cPlease contact your local admin to be perminated with the warp permission.'
items:
'1':
model_data_component: icon_pack:pixel
slot: 26
display_name: "&c+1 Strength"
lore:
- "&7Left-Click to allocate Stat-Point"
left_click_commands:
- '[player] gamemode survival'
- '[close]'
'close':
model_data_component: icon_pack:pixel
slot: 52
display_name: "&c CLOSE MENU"
left_click_commands:
- '[close]'```