A stable modding interface between Techblox and mods
Go to file
Norbi Peti 4bd636b8ed Add wrapped event handler, using the existing ECS object instances
- Added a wrapper class that handles the individual wrapping of event handlers to individually handle exceptions - now it tracks the wrapped event handlers so it can unregister them properly
- Fixed an exception that happened when two ECS objects were created with the same EGID
- Added support for returning an existing ECS object if it exists instead of always creating a new one
- Added a parameter to the entity query extension methods to override the group of the ECS object (could be used for the player properties)
2021-10-08 03:58:01 +02:00
Automation Update to Techblox 2021.06.08.16.19 2021-06-09 20:11:31 +02:00
CodeGenerator Add Motor class 2021-08-12 00:44:23 +02:00
docs Fix expired discord invite 2020-06-04 08:31:09 -04:00
TechbloxModdingAPI Add wrapped event handler, using the existing ECS object instances 2021-10-08 03:58:01 +02:00
.gitattributes Create dependency gen 2019-12-12 21:00:11 -08:00
.gitignore Improve doc layout & style 2020-01-29 17:02:51 -05:00
doxygen.conf Fix docs (hopefully) 2021-05-12 20:00:33 -04:00
doxygen.xml Improve doc layout & style 2020-01-29 17:02:51 -05:00
LICENSE Initial commit 2019-12-11 19:45:29 +00:00
README.md Update readme and version 2021-05-02 02:08:22 +02:00
TechbloxModdingAPI.sln Get wire looked at, block class generation 2021-07-29 00:08:57 +02:00

TechbloxModdingAPI

Unofficial Techblox modding API for interfacing Techblox from mods.

The TechbloxModdingAPI aims to simplify the mods in two ways:

  • Ease-of-Use The API provides convenient ways to do common tasks such as moving blocks and adding commands. All of the Harmony patching is done for you, so you can focus on writing your mod instead of reading swathes of undocumented code.
  • Stability The API aims to be reliable and consistent between versions. This means your code won't break when the TechbloxModdingAPI or Techblox updates.

For more info, please check out the official documentation.

For more support, join the ExMods Discord.

Installation

Please follow the official mod installation guide or use GCMM.

Development

To get started, create a symbolic link called ref in the root of the project, or one folder higher, linking to the Techblox install folder. This will allow your IDE to resolve references to Techblox files for building and IDE tools.

TechbloxModdingAPI version numbers follow the Semantic Versioning guidelines.

External Libraries

TechbloxModdingAPI includes Harmony to modify the behaviour of existing Techblox code.

Disclaimer

This API is an unofficial modification of Techblox software, and is not endorsed or supported by FreeJam or Techblox. The TechbloxModdingAPI developer(s) claim no rights on the Techblox code referenced within this project. All code contained in this project is licensed under the GNU Public License v3.