Procházet zdrojové kódy

给村民糊粒子

LTCatt před 5 roky
rodič
revize
766e78544d

+ 2 - 2
data/mini/functions/hotpm/watcher_limit.mcfunction

@@ -1,3 +1,3 @@
 # 观察者限制飞行范围
-execute as @a[gamemode=spectator,x=1001,y=5,z=3001,dx=29,dy=9,dz=27] run spectate
-tp @a[gamemode=spectator,x=1001,y=5,z=3001,dx=29,dy=9,dz=27,team=!debugging] 1030.06 17.20 3007.77 -290.29 32.65
+execute as @a[gamemode=spectator] unless entity @s[x=1001,y=5,z=3001,dx=29,dy=9,dz=27,team=!debugging] run spectate
+execute as @a[gamemode=spectator] unless entity @s[x=1001,y=5,z=3001,dx=29,dy=9,dz=27,team=!debugging] run tp @s 1030.06 17.20 3007.77 -290.29 32.65

+ 2 - 0
data/mini/functions/trade/tick2.mcfunction

@@ -3,5 +3,7 @@ tag @e[type=villager,tag=TradePlayer] remove tpPlayer
 execute as @a[team=playing,gamemode=survival] if entity @s[nbt={SelectedItemSlot:8}] run function mini:trade/game/villager_tp
 # 归位村民
 tp @e[type=villager,tag=TradePlayer,tag=!tpPlayer] 1000 5 5000
+# 给村民糊粒子
+execute as @e[tag=tpPlayer] at @s run particle end_rod ~ ~0.1 ~ 0.15 0.1 0.15 0 3 normal @a
 # 往手上塞纸
 execute as @a[team=playing] unless data entity @s Inventory[{Slot:8b,tag:{game_item:1b},Count:1b}] run function mini:trade/game/paper_show