DOMINATOR · LUA API

rotation

静默转头与朝向恢复。

Minecraft 1.1.5.1Lua 5.2138 个接口
  • rotation.set(number yaw, number pitch); — 设置目标旋转。
  • rotation.get(); — 读取目标旋转 {yaw, pitch}。
  • rotation.restore(); — 恢复真实朝向。
  • rotation.clear(); — 清除目标。
  • rotation.visual(boolean on); — 客户端是否跟随显示。
Dominator · Lua API 文档 · 脚本放入 Dominator/LuaScript 目录后自动加载