A stable modding interface between Techblox and mods
Go to file
Norbi Peti e9df67f462
Use Block.New everywhere, testing *every block property*
Fixed prefab update for nonexistent blocks
Removed Type from block placed/removed event args
Added test to check the block ID enum (whether it has any extra or missing IDs)
Added test to place every block on the ID enum
Added test to set and verify each property of each block type (type-specific properties are also set when they can be through the API)
Added support for enumerator test methods with exception handling
2021-05-19 01:40:15 +02:00
Automation Update gen_csproj script and references 2021-05-11 22:56:36 +02:00
docs Fix expired discord invite 2020-06-04 08:31:09 -04:00
TechbloxModdingAPI Use Block.New everywhere, testing *every block property* 2021-05-19 01:40:15 +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 Renamed all references of Gamecraft to Techblox 2021-05-02 01:56:20 +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.