| 12345678910 |
- # 关闭粒子 (0 e)
- scoreboard players add @s shop_particle_system 0
- tellraw @s[scores={shop_particle_system=0}] ["",{"text":">> ","color":"red","bold":true},{"text":"你需要先在左侧购买尾迹特效才能切换尾迹种类!","color":"red"}]
- execute as @s[scores={shop_particle_system=0}] at @s run function lib:sounds/error
- tellraw @s[scores={shop_particle_system=1..}] ["",{"text":">> ","color":"green","bold":true},"尾迹特效已 ",{"text":"关闭","color":"green"}]
- execute as @s[scores={shop_particle_system=1..}] at @s run function lib:sounds/hit
- scoreboard players set @s particle_type 0
|