聊天框: 1-/scoreboard objectives add jss dummy ◈命令块-添加金币: 1-/titleraw @a actionbar {"rawtext":[{"selector":"*"},{"text":" §l金币:§e"},{"score":{"name":"*","objective":"jss"}}]} 2-/execute @e[type=xp_orb,tag=!ywc] ~~~ scoreboard players add @p[r=3] jss 1 3-/execute @a ~~~ tag @e[type=xp_orb,tag=!ywc,r=3,c=1] add ywc <指令1循环开启,指令2至3无条件连锁1> ◈命令块-商店购买: 1-/tag @p[r=3] add gm 2-/title @p[tag=gm,scores={jss=..49}] title §6金币不足 3-/title @p[tag=gm,scores={jss=50..}] title §a✔ 4-/setblock ~~1~ air 0 destroy 5-/tp @e[type=item,name=!物品展示框,r=3] @p[tag=gm] 5-/scoreboard players add @p[tag=gm,scores={jss=50..}] jss -50 6-/tag @a[tag=gm] remove gm 7-/clone ~~1~~~1~~~-1~ <指令1脉冲红石激活,指令2至6连锁1,其中指令4为有条件,其余无条件,指令7循环开启>