GT5U 5.09.54.205 casts reduceMOP(hit)._1() to Integer to find the struck ProjectRed wire. Give Java callers the same index without Scala types. - hitPartIndex returns the jPartList index recorded by rayTraceAll, or -1 when the hit carries no part index - reduceMOP and its companion are unchanged and not deprecated; tests now pin the boxed Integer index and the rebased hit - Add HitPartExample and the HIT_PART guide, link it from the API index - Record the replacement in the compatibility ledger
ForgeMultipart
An API for dynamically handling different functional parts in the one block space, for Minecraft 1.7.10 / Forge. This is the GT New Horizons fork.
Using the API
Depend on the dev artifact, for example com.github.GTNewHorizons:ForgeMultipart:<version>:dev, alongside GTNH
CodeChickenCore. Start at the Java API index: it lists the supported entry points with a guide and a
compiling Java example for each. You do not need Scala in your own mod to use them.
If you are rebuilding an existing integration against the Java port, read the release notes first. Already compiled consumer jars keep working.
Building
The codebase is being ported from Scala to Java. Most sources are Java now, but they still live under
src/main/scala so they can be joint-compiled with the Scala files that remain. Everything compiles for Java 8.
./gradlew build
Use gradlew.bat on Windows. The maintainer guide covers the build boundaries,
the Forge functional tests and the full verification sequence. Port status and remaining work are in the
migration status.