Algent 7c6d4b9c88 feat: add BlockMultipart.hitPartIndex as Java reduceMOP index
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
2026-10-16 14:06:50 +02:00
2026-10-14 21:07:20 +02:00
2023-01-19 15:33:54 +00:00
2026-10-14 21:07:20 +02:00
2022-01-17 22:09:17 -08:00
2026-10-14 21:07:20 +02:00
2026-10-14 21:07:20 +02:00
2021-11-19 23:01:31 +01:00
2013-06-26 21:26:28 +10:00
2023-06-27 17:23:32 +09:00

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.

S
Description
No description provided
Readme
4.2 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 98.7%
Scala 1.3%