buy_particle0.mcfunction 562 B

12345678910
  1. # 关闭粒子 (0 e)
  2. # 触发器ID 102
  3. tellraw @s[scores={shop_particle_s=0}] ["",{"text":">> ","color":"red","bold":true},{"text":"你需要先在左侧购买尾迹特效才能切换尾迹种类!","color":"red"}]
  4. execute as @s[scores={shop_particle_s=0}] at @s run function lib:sounds/error
  5. tellraw @s[scores={shop_particle_s=1..}] ["",{"text":">> ","color":"aqua","bold":true},{"text":"你关闭了自己的尾迹特效","color":"aqua"}]
  6. execute as @s[scores={shop_particle_s=1..}] at @s run function lib:sounds/hit
  7. scoreboard players set @s particle_type 0