'item1':
material: NETHERITE_HELMET
slot: 1
hide_enchantments: true
enchantments:
- 'SILK_TOUCH;1'
left_click_requirement:
requirements:
balance_check:
type: javascript
expression: '%playerpoints_points% >= 19'
deny_commands:
- "[sound] BLOCK_NOTE_BLOCK_IRON_XYLOPHONE"
left_click_commands:
- '[console] points take %player_name% 19'
- '[refresh]'
- '[console] give %player_name% damaged_anvil{AttributeModifiers:[{AttributeName:"generic.attack_damage",Amount:2,Slot:offhand,Name:"generic.attack_damage",UUID:[I;-123617,16466,232723,-32932]}]} 1'
- '[sound] ENTITY_PLAYER_LEVELUP'