I followed what I thought was needed for an Item requirement for a menu but it hasnt worked yet. Tried a few ways with different items but it wont accept that I have the item in my inventory.
material: potato
data: 0
slot: 13
enchantments:
- DURABILITY;1
hide_enchantments: true
display_name: "&#A05E21&lPotato Shop"
lore:
- ""
- "&f&lɪᴛᴇᴍꜱ ɪɴ ᴄᴀᴛᴇɢᴏʀʏ"
- "&7Potato&7, Enchanted Potato&7,"
- "&7Baked Potato"
- ""
- "&e&lʟᴇꜰᴛ ᴄʟɪᴄᴋ&7 ᴛᴏ ᴠɪᴇᴡ ꜱᴇʟʟ ᴏᴘᴛɪᴏɴꜱ"
- "&c&lʀɪɢʜᴛ ᴄʟɪᴄᴋ&7 ᴛᴏ ᴠɪᴇᴡ ʙᴜʏ ᴏᴘᴛɪᴏɴꜱ"
- ""
left_click_requirement:
requirements:
stuff:
type: 'has item'
material: 'POTATO'
amount: 1
modeldata: 0
glow: true
name: "&eEnchanted Potato"
deny_commands:
- '[message] &c&lSERVER &8» &7You &cdo not &7have any &eEnchanted Potatoes &7to sell.'
left_click_commands:
- '[player] sellpotato'
- '[close]'```
