跳到正文

Handles

ComputerCraft integration for your favorite Tardis mods.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Do you want to do programming while using your TARDIS? It is now possible!

This mod is an addon and requires the usage of the New Tardis Mod (1.16.5) or Tardis Refined (1.19.2) and a version of CC:Tweaked (forge) or CC:Restitched (Fabric 1.19.2)

Getting started

Handles image

tardis = peripheral.wrap("top")

Returns a table of functions, allowing you to call peripheral methods as if they were normal Lua functions. If no peripheral is connected, returns nil. (http://computercraft.info/wiki/Peripheral.wrap)

Check here for getting started with the version of Handles made for use with Tardis Refined:

###

Functions (1.19.2)

Events (1.19.2)

Check here for getting started with the version of Handles made for use with ‘New Tardis Mod`

###

Getting started with Handles for NewTardisMod

To get the TARDIS Location : local x,y,z = [peripheral].getTardisPos()

To set the TARDIS desination : [peripheral].setTardisPos(x,y,z,dimensionID)

To open/close TARDIS Doors : [peripheral].setDoors(boolean)

To get the fuel level of your TARDIS : local fuel = [peripheral].getFuel()

More example on the Wiki : https://github.com/LotuxPunk/Handles/wiki

Every call will damage the Aprioritron subsystem, make sur to read this : https://github.com/LotuxPunk/Handles/wiki/Aprioritron’s-subsystem

Now you can do what ever you want ! (as long as you code it)

常见问题

Handles 支持哪些 Minecraft 版本?

Handles 支持 Minecraft Java 版 1.16.5–1.19.2,共 2 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

Handles 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

lotuxpunk 的其他作品

查看全部 →