Left-Right Click Menu
# Left-Right Click Menu (1.5.0+)
- clickType
- actions
clickType means this button only works when clicked in the specified way actions means commands executed for left and right clicks
'1':
index: 1
name: Left Click
material: ARROW
lore:
- "&f- &7Click to try"
isEnchant: false
custom-model-data: 0
hideFlag: true
hideEnchant: true
# Configure this button to only work with left click, left is left, right is right
clickType: left
commands:
- '[message] You used left click'
'2':
index: 2
name: 'Left-Right Click Trigger Different Commands'
material: APPLE
lore:
- "&f- &7Try left and right click"
isEnchant: false
custom-model-data: 0
hideFlag: true
hideEnchant: true
actions:
left:
- '[console] say Command triggered by left click'
right:
- '[console] say Command triggered by right click'