Explorar o código

旁观者不播放粒子

LTCatt %!s(int64=6) %!d(string=hai) anos
pai
achega
b2491dc087
Modificáronse 1 ficheiros con 7 adicións e 7 borrados
  1. 7 7
      data/item/functions/particle/show_particle.mcfunction

+ 7 - 7
data/item/functions/particle/show_particle.mcfunction

@@ -1,11 +1,11 @@
 # 播放玩家粒子效果
 # 播放玩家粒子效果
-execute as @a[tag=show_particle_1] at @s run particle minecraft:composter ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
-execute as @a[tag=show_particle_2] at @s run particle dust 1 1 1 1.5 ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
-execute as @a[tag=show_particle_3] at @s run particle minecraft:falling_water ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
-execute as @a[tag=show_particle_4] at @s run particle flame ~ ~0.1 ~ 0.15 0 0.15 0.001 2 force @a
-execute as @a[tag=show_particle_5] at @s run particle dust 10 10 10 1.5 ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
-execute as @a[tag=show_particle_6] at @s run particle minecraft:soul_fire_flame ~ ~0.1 ~ 0.15 0 0.15 0.001 1 force @a
-execute as @a[tag=show_particle_6] at @s run particle flame ~ ~0.1 ~ 0.15 0 0.15 0.001 1 force @a
+execute as @a[tag=show_particle_1,gamemode=!spectator] at @s run particle minecraft:composter ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
+execute as @a[tag=show_particle_2,gamemode=!spectator] at @s run particle dust 1 1 1 1.5 ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
+execute as @a[tag=show_particle_3,gamemode=!spectator] at @s run particle minecraft:falling_water ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
+execute as @a[tag=show_particle_4,gamemode=!spectator] at @s run particle flame ~ ~0.1 ~ 0.15 0 0.15 0.001 2 force @a
+execute as @a[tag=show_particle_5,gamemode=!spectator] at @s run particle dust 10 10 10 1.5 ~ ~ ~ 0.15 0 0.15 0.001 2 force @a
+execute as @a[tag=show_particle_6,gamemode=!spectator] at @s run particle minecraft:soul_fire_flame ~ ~0.1 ~ 0.15 0 0.15 0.001 1 force @a
+execute as @a[tag=show_particle_6,gamemode=!spectator] at @s run particle flame ~ ~0.1 ~ 0.15 0 0.15 0.001 1 force @a
 
 
 # 播放展示用实体的粒子效果
 # 播放展示用实体的粒子效果
 execute as @e[type=!player,tag=show_particle_1] at @s run particle minecraft:composter ~ ~0.5 ~ 0.15 0.5 0.15 0.001 2 force @a
 execute as @e[type=!player,tag=show_particle_1] at @s run particle minecraft:composter ~ ~0.5 ~ 0.15 0.5 0.15 0.001 2 force @a