소스 검색

修改村民位置

HerobrineXia 5 년 전
부모
커밋
2b624c6428
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data/mini/functions/trade/game/villager_tp.mcfunction

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

@@ -1,6 +1,6 @@
 tag @s add tempPlayerTp
 execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id run tag @s add tempVillagerTp
 execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id run tag @s add tpPlayer
-execute at @s anchored eyes run tp @e[type=villager,tag=tempVillagerTp] ^ ^ ^0.2
+execute at @s anchored feet run tp @e[type=villager,tag=tempVillagerTp] ^ ^ ^0.5
 tag @e[type=villager,tag=tempVillagerTp] remove tempVillagerTp
 tag @s remove tempPlayerTp