Bläddra i källkod

添加清空粒子效果的展示

LTCatt 6 år sedan
förälder
incheckning
9b638a75e7

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

@@ -8,10 +8,11 @@ execute as @a[tag=show_particle_6,gamemode=!spectator] at @s run particle soul_f
 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 composter ~ ~0.1 ~ 0.15 0.15 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.1 ~ 0.15 0.15 0.15 0.001 2 force @a
-execute as @e[type=!player,tag=show_particle_3] at @s run particle falling_water ~ ~0.1 ~ 0.15 0.15 0.15 0.001 3 force @a
-execute as @e[type=!player,tag=show_particle_4] at @s run particle flame ~ ~0.1 ~ 0.15 0.15 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.1 ~ 0.15 0.15 0.15 0.001 2 force @a
-execute as @e[type=!player,tag=show_particle_6] at @s run particle soul_fire_flame ~ ~0.1 ~ 0.15 0.15 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 0.15 0.15 0.001 1 force @a
+execute as @e[type=!player,tag=show_particle_1] at @s run particle composter ~ ~0.5 ~ 0.15 0.15 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.5 ~ 0.1 0.15 0.1 0.001 1 force @a
+execute as @e[type=!player,tag=show_particle_3] at @s run particle falling_water ~ ~0.8 ~ 0.2 0.15 0.2 0.001 3 force @a
+execute as @e[type=!player,tag=show_particle_4] at @s run particle flame ~ ~0.1 ~0.5 0.15 0.15 0.15 0.001 1 force @a
+execute as @e[type=!player,tag=show_particle_5] at @s run particle dust 10 10 10 1.5 ~ ~0.5 ~ 0.1 0.15 0.1 0.001 1 force @a
+execute as @e[type=!player,tag=show_particle_6] at @s run particle soul_fire_flame ~ ~0.5 ~ 0.1 0.15 0.1 0.001 1 force @a
+execute as @e[type=!player,tag=show_particle_6] at @s run particle flame ~ ~0.5 ~ 0.1 0.15 0.1 0.001 1 force @a
+execute as @e[type=!player,tag=show_particle_no] at @s run particle barrier ~ ~0.5 ~ 0 0 0 0 1 force @a

+ 1 - 0
data/ltw/functions/state/0/summon_entity.mcfunction

@@ -17,6 +17,7 @@ execute unless entity @e[type=armor_stand,tag=shop_particle_5,tag=lobby_entity]
 execute unless entity @e[type=armor_stand,tag=shop_particle_6,tag=lobby_entity] run summon minecraft:armor_stand -17 20.1 -75 {Small:1b,Invisible:1b,Invulnerable:1b,Marker:1b,Tags:["shop_particle_6","show_particle_4","lobby_entity"]}
 execute unless entity @e[type=armor_stand,tag=shop_particle_7,tag=lobby_entity] run summon minecraft:armor_stand -16 20.1 -75 {Small:1b,Invisible:1b,Invulnerable:1b,Marker:1b,Tags:["shop_particle_7","show_particle_5","lobby_entity"]}
 execute unless entity @e[type=armor_stand,tag=shop_particle_8,tag=lobby_entity] run summon minecraft:armor_stand -15 20.1 -75 {Small:1b,Invisible:1b,Invulnerable:1b,Marker:1b,Tags:["shop_particle_8","show_particle_6","lobby_entity"]}
+execute unless entity @e[type=armor_stand,tag=shop_particle_9,tag=lobby_entity] run summon minecraft:armor_stand -14 20.1 -75 {Small:1b,Invisible:1b,Invulnerable:1b,Marker:1b,Tags:["shop_particle_9","show_particle_no","lobby_entity"]}
 execute unless entity @e[type=piglin,tag=shop_piglin_11,tag=lobby_entity] run kill @e[type=minecart,tag=lobby_entity]
 execute unless entity @e[type=minecart,tag=lobby_entity] run kill @e[type=piglin,tag=lobby_entity,tag=shop_piglin_11]
 execute unless entity @e[type=piglin,tag=shop_piglin_11,tag=lobby_entity] run summon minecart 4 28 -47 {Rotation:[0.0f,0.0f],Tags:["lobby_entity"],Passengers:[{id:"minecraft:piglin",Rotation:[90.0f,0.0f],Tags:["lobby_entity","shop_piglin_11"],CustomName:'{"text":"老板"}',ArmorItems:[{},{},{},{id:"player_head",Count:1b,tag:{SkullOwner:"HerobrineXia"}}],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],PersistenceRequired:1b,IsImmuneToZombification:1b,CannotHunt:1b,HandItems:[{id:"gold_block",Count:1b},{}],HandDropChances:[0.0f,0.0f]}]}