变量菜单
# 菜单如何根据变量判断是否可点击
- 主要节点
conditions
'conditions':
index: 29
name: ' &8[&c变量条件&8]'
material: ARROW
lore:
- "&f- &7变量条件支持6种符号"
- "&f- &7 = ; !=; >; <; >=; <="
- "&f- &7 = ; !=; 无限制"
- "&f- &7>; <; >=; <= 必须为数字"
- "&f- &7玩家名称: &a%player_name%"
isEnchant: false
custom-model-data: 0
# 自定义条件
conditions:
- '%player_name% = 米饭'
- '%player_money% > 100'
commands:
- '[message] say 你点击了该按钮'
上次更新: 2024-01-30 21:09:58