瀏覽代碼

降低tp的精度

HerobrineXia 5 年之前
父節點
當前提交
22a585514f
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      data/mini/functions/trade/game/villager_tp3.mcfunction

+ 1 - 1
data/mini/functions/trade/game/villager_tp3.mcfunction

@@ -1,3 +1,3 @@
-execute positioned ^ ^ ^0.1 if block ~ ~ ~ #mini:redefined_air if block ~ ~1 ~ #mini:redefined_air if entity @s[distance=..2] run function mini:trade/game/villager_tp3
+execute positioned ^ ^ ^0.4 if block ~ ~ ~ #mini:redefined_air if block ~ ~1 ~ #mini:redefined_air if entity @s[distance=..2] run function mini:trade/game/villager_tp3
 tp @s[tag=tpTemp] ~ ~ ~ facing entity @a[tag=tempPlayerTp,limit=1]
 tp @s[tag=tpTemp] ~ ~ ~ facing entity @a[tag=tempPlayerTp,limit=1]
 tag @s remove tpTemp
 tag @s remove tpTemp