夏可文 6 лет назад
Родитель
Сommit
93970e59c9
1 измененных файлов с 16 добавлено и 8 удалено
  1. 16 8
      data/item/functions/particle/show_particle.mcfunction

+ 16 - 8
data/item/functions/particle/show_particle.mcfunction

@@ -1,9 +1,17 @@
-tag @a[tag=!particle] add particle
 # 播放粒子效果
-execute as @e[tag=show_particle_1] at @s run particle minecraft:composter ~ ~ ~ 0.15 0 0.15 0.001 2 force @a[tag=particle]
-execute as @e[tag=show_particle_2] at @s run particle dust 1 1 1 1.5 ~ ~ ~ 0.15 0 0.15 0.001 2 force @a[tag=particle]
-execute as @e[tag=show_particle_3] at @s run particle minecraft:falling_water ~ ~ ~ 0.15 0 0.15 0.001 2 force @a[tag=particle]
-execute as @e[tag=show_particle_4] at @s run particle flame ~ ~0.1 ~ 0.15 0 0.15 0.001 2 force @a[tag=particle]
-execute as @e[tag=show_particle_5] at @s run particle dust 10 10 10 1.5 ~ ~ ~ 0.15 0 0.15 0.001 2 force @a[tag=particle]
-execute as @e[tag=show_particle_6] at @s run particle minecraft:soul_fire_flame ~ ~0.1 ~ 0.15 0 0.15 0.001 1 force @a[tag=particle]
-execute as @e[tag=show_particle_6] at @s run particle flame ~ ~0.1 ~ 0.15 0 0.15 0.001 1 force @a[tag=particle]
+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 @e[type=!player,tag=show_particle_1] at @s run particle minecraft:composter ~ ~ ~ 0.15 1 0.15 0.001 2 force @a
+execute as @e[type=!player,tag=show_particle_2] at @s run particle dust 1 1 1 1.5 ~ ~ ~ 0.15 1 0.15 0.001 2 force @a
+execute as @e[type=!player,tag=show_particle_3] at @s run particle minecraft:falling_water ~ ~ ~ 0.15 1 0.15 0.001 2 force @a
+execute as @e[type=!player,tag=show_particle_4] at @s run particle flame ~ ~0.1 ~ 0.15 0 0.15 0.001 2 force @a
+execute as @e[type=!player,tag=show_particle_5] at @s run particle dust 10 10 10 1.5 ~ ~ ~ 0.15 1 0.15 0.001 2 force @a
+execute as @e[type=!player,tag=show_particle_6] at @s run particle minecraft:soul_fire_flame ~ ~0.1 ~ 0.15 1 0.15 0.001 1 force @a
+execute as @e[type=!player,tag=show_particle_6] at @s run particle flame ~ ~0.1 ~ 0.15 1 0.15 0.001 1 force @a