跳到正文

Valkyrien Warfare Drivers for OpenComputers

作者:Djeezuss

通过 OC 电脑收集 VW 船只的信息

收藏

介绍

介绍由机器翻译自 CurseForge 原页面,仅供参考。

简要介绍

添加了一个名为 ship_interface 的方块,可让用户从计算机中获取与其所在船只相关的数据。

使用方法

将 ship_interface 放置在 VW 的船只上,并确保它已连接到 OC 的网络。

在 LUA 中使用时,请输入 component.ship_interface.FUNCTION_HERE(),即可返回一个值。

如果 ship_interface 不在船只上,则会返回 nil 值。

功能

getMass();      returns the mass of the ship
getPosition();         returns the x, y and z coordinates of the ship
getPitch();            returns the pitch of the ship
getYaw();              returns the yaw of the ship
getRoll();             returns the roll of the ship
getYawPitch();         returns the yaw and the pitch of the ship
getAngularVelocity(); return the angular velocity of the ship
getLinearVelocity(); return the linear velocity of the ship, in meters per second (m/s)

错误报告

If you encounter a bug or your game crashes and you think that this mod is the cause of it, post a bug report here explaining what you were doing before de bug/crash happened and the steps to reproduce this bug/crash.

常见问题

Valkyrien Warfare Drivers for OpenComputers 支持哪些 Minecraft 版本?

Valkyrien Warfare Drivers for OpenComputers 支持 Minecraft Java 版 1.10–1.11.2,共 4 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Valkyrien Warfare Drivers for OpenComputers 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分