← Назад к ресурсам

Handles

ComputerCraft integration for your favorite Tardis mods.

Modrinth technology

Описание

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](https://cdn.modrinth.com/data/zYnlJN4c/images/8b9cafaf5864b4026baf9f9ff6f84a7c55eef495.png) ```lua 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](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)](https://github.com/leafreynolds/Handles/blob/1.19.2/docs/FUNCTIONS.md) [Events (1.19.2)](https://github.com/leafreynolds/Handles/blob/1.19.2/docs/EVENTS.md) ### 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)