test-view-requirement:
type: predicate
slot: 1
button:
id: exp_bottle
name: "&cA exp bottle"
lore:
- "You will see this icon when the level is higher than 5"
view-requirement: # View Requirement
level: # Requirement Set name
level: 5 # Here we are
test-click-requirement:
type: predicate
slot: 1
button:
id: exp_bottle
name: "&cA level checker"
command: "tell: &aYou reached level 5"
click-requirement: # Click Requirement
default: # Click type
test-level: # Requirement Set name
level: # Here we are
value: 5
take: true # Take the level
fail-command:
- "tell: &cTrain more"