Go to file
Kyle Gunger 0d147b3a18 Change namespace again 2023-11-18 14:30:50 -05:00
gradle/wrapper Update to 1.20.2 2023-11-14 17:09:23 -05:00
src/main Change namespace again 2023-11-18 14:30:50 -05:00
.gitignore Change namespace again 2023-11-18 14:30:50 -05:00
LICENSE Update to 1.20.2 2023-11-14 17:09:23 -05:00
README.md Getting ready for 2.0 & Quality of Life changes 2021-01-26 00:10:09 -05:00
build.gradle Add remote publishing 2023-11-16 23:47:12 -05:00
gradle.properties Change namespace again 2023-11-18 14:30:50 -05:00
gradlew Update to 1.20.2 2023-11-14 17:09:23 -05:00
gradlew.bat Update to 1.20.2 2023-11-14 17:09:23 -05:00
settings.gradle Add remote publishing 2023-11-16 23:47:12 -05:00

README.md

TransitAPI

Transit is an attempt to provide simple uniform helpers for converting and transfering abstract types in Minecraft.

Transit makes no assumptions about what you transfer or how you transfer it, It only provides basic types for those that need it, and a network based API for compatibility.

A note on convention

When working with blocks, the convention is such:

  1. The BlockEntity will impliment the INode/IAcceptorNode/IProviderNode interfaces.
  2. The Placed block will ask the blocks around it to become a provider and or an acceptor, not the other way around.

(These conventions assume a server-side approach to your mod's pipes implementation)

Note from the author

I won't try to update the requirements for the API too much, so it should keep consistant across MC versions. However, when a common requirement is determined, I will update the API. This can be determined by the major version of the mod.

API updates/upgrades will only happen on Minecraft version increases (i.e. 1.16 -> 1.17, but not 1.16.4 -> 1.16.5) so all versions of the mod will work with other mods for the same MC version.

First few changes may come quickly as the API stabilizes, but by version 3 or 4 I think there will be a lasting API.

Release Candadites or Beta versions may or may not reflect the release API.

License

This mod is available under the MIT licence.