Hello,I use DeluxeMenus and I want to make an interface with an item that allows to repair a specific item (screen of the item below). For this, there must be a requirement with the name and lore of the item but I can not make it work. And is it possible to detect only the item held?
left_click_requirement:
requirements:
has_item:
type: has item
material: 'IRON_SWORD'
name: 'Mystical Sword'
lore: 'A strange sword'
name_contains: boolean
lore_contains: boolean
amount: 1
deny_commands:
- '[message] &cYou don''t have the good item'
left_click_commands:
- '[player] repair'
- '[message] Your item has been repaired'