瀏覽代碼

新tp村民同步rotation

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

+ 1 - 0
data/mini/functions/trade/game/villager_rebirth.mcfunction

@@ -6,6 +6,7 @@ scoreboard players operation @e[type=villager,tag=newVillager] player_id = @s pl
 data modify entity @e[type=villager,tag=newVillager,limit=1] Xp set from entity @s Xp
 data modify entity @e[type=villager,tag=newVillager,limit=1] VillagerData set from entity @s VillagerData
 data modify entity @e[type=villager,tag=newVillager,limit=1] Offers set from entity @s Offers
+data modify entity @e[type=villager,tag=newVillager,limit=1] Rotation set from entity @s Rotation
 # 清理tag
 data modify entity @e[type=villager,tag=newVillager,limit=1] Tags set from entity @s Tags
 # 清理旧村民