Algent 6ebec208df feat: add TileMultipart.refreshInventorySlots for AE2
AE2 casts the tile to the raw scalatraits TIInventoryTile to call
rebuildSlotMap after its cable bus inventory size changes. Give it a
supported entry point on TileMultipart instead.

- refreshInventorySlots is a no-op on base tiles; the generated inventory
  trait rebuilds its flattened slot mapping without rebinding parts
- rebuildSlotMap stays supported for released AE2 jars
- Functional tests cover resize, tiles without inventories, and a
  slotted plus inventory tile; smoke test freezes the new trait method
- Document it in the tile trait guide, API index and adoption ledger
2026-10-16 15:17:42 +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.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
Scala 85.4%
Java 14.6%