Перейти к содержимому
Mineforgian

Handles

ComputerCraft integration for your favorite Tardis mods.

Загрузки
3K
Подписчики
2
Обновлён
10 марта 2024 г.
Лицензия
MIT

Опубликован 1 января 2023 г.

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)

Ченджлог

1.8.0.3Релиз1.19.2 · 10 марта 2024 г.

This version of Handles is made for use with 'Tardis Refined' :)

Fixed onLand event, so that it actually triggers on landing, not on take off.

1.8.0.3Релиз1.19.2 · 10 марта 2024 г.

This version of Handles is made for use with 'Tardis Refined' :)

  • : Hookup missing onLand event and update EVENTS.md documentation

  • : partial gradle fixes for automated uploading new build artifacts. Curseforge should be working, but only the forge version of modrinth upload worked when last tested

1.8.0.1Релиз1.19.2 · 6 марта 2024 г.

This is the first build of Handles for use on 1.19.2 and with TARDIS Refined v1.0.1: https://www.curseforge.com/minecraft/mc-mods/tardis-refined

This build of Handles has both forge and fabric versions, so please ensure you're using the correct version 🙂

Contained Commits:

  • : Moving docs folder to root directory

  • : Initial generation of Events and Functions documentation

  • : Merge branch 'feature/documentation-generation' into 1.19.2

  • : Hopefully fix modrinth upload gradle stuff

  • : Updated DocumentationParser.kt tidying up my example code presentation

  • : Updated DocumentationParser.kt for formatting

  • : Updated DocumentationParser.kt to include example

  • : Missed updating a copy-pasted function name in an example

  • : Tidy up function examples

  • : add HandlesOSEvent annotation

  • : add parameter type to HandlesParameter

  • : add example to handles function

  • : Merge branch '1.19.2' into feature/documentation-generation

  • : change peripheral name from 'fez' to 'tardis'

  • : Fix setShellPattern exception

  • : Added parameters annotations to functions

  • : Added all function documentation, just have parameter documentation to go

  • : Filled in some partial documentation descriptions and returns

  • : Merge branch '1.19.2' into feature/documentation-generation

  • : Expand version as major.minor.patch.build, instead of minecraft version-handles version

  • : set root project name as handles, instead of tardis-peripherals

  • : Fix error related to trying to cross computer thread with main thread. Needed to call set methods inside a queued lambda instead of directly.

  • : Fix clientside tiles trying to add themselves to server list of tiles that need to be informed of tardis events

  • : Added some documentation and markdown generation

  • : Started on documentation parsing

  • : Implement tardis refined tardis events

  • : Add functions canBeginFlight, endFlight

  • : Fix accidental incorrect copypaste function name

  • : Add Flight related functions - beginFlight, getFlightEventActive, getFlightEventControl, getRequiredFlightEvents, getRespondedFlightEvents, isInDangerZone, areControlEventsComplete, areDangerZoneEventsComplete,

  • : Adding recipe/localisation for antenna

  • : Setup github issues/pull request templates

  • : Setup curseforge/modrinth uploaders (hopefully) to use the correct mod files

  • : Treat mod version separately from mod version + build version

  • : Convert getDimensions to return a set, instead of a list. Computercraft seems to make lists require boxing like { list } in order to iterate over it, which is counterintuitive

  • : Antenna block, ported from 1.16 Handles

  • : Fez block bench folder

  • : Rename TRP to Handles, files, folders, references etc.

  • : Update README.md

1.8.0.1Альфа1.19.2 · 6 марта 2024 г.

This version of Handles is made for use with 'Tardis Refined' :)

Unable to generate changelog :(

Комментарии

Загружаем…