mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-20 04:09:45 +00:00
78be94b0b3236f6ded6cdf56c1ca48cca075648a
Upload functional test reports, JUnit XML and server logs on every run so a CI failure has something to read beyond aggregate counts. Print unit and functional test summaries, naming each failed functional test. Repackage the JUnit stack into the test mod jar without module descriptors so FML stops logging a LoaderException per jar while scanning the classpath, and silence the two ERROR lines that passing tests drive on purpose. Refresh the handoff counts and record which migration documents are deleted when the port closes.
ForgeMultipart
An API for dynamically handling different functional parts in the one block space.
Requirements:
- The latest version of CCL (files.minecraftforge.net/CodeChickenLib/)
- Forge
- JDK 8 and JDK 25. The mod targets Java 8, but a small set of helpers is compiled at Java 21 by the
compileModernJavatask and downgraded to Java 8, so both toolchains must be resolvable to build. - A scala compatible IDE and project (For eclipse, download the scala eclipse plugin and right click on the project -> Add Scala Nature).
Most of the codebase is Java now; the Java sources live under
src/main/scalaso they can be joint-compiled with the Scala files that remain.
If you only want to use the API and not modify it:
- Download the latest dev version from files.minecraftforge.net/ForgeMultipart/
- Download the latest dev version of CCL.
- Place both mods in your /libs/ folder and link them as libraries in your IDE.
Implementation of all parts of the API should be clean and easy in Java. The minecraft multipart mod is implemented in java as a test case.
See the Java API index for supported entry points, compiling examples, ownership/lifecycle contracts and migration status. It links to factory registration, material enumeration, part traversal, tile loading and occlusion guides.
Languages
Java
98.7%
Scala
1.3%