Integrate coremod packaging and Custom LAN #20

Open
opened 2026-11-04 14:20:53 +01:00 by rexlManu · 4 comments
Owner

Parent: #18

  • Implement jar manifest main attributes and preserve access transformer resources.
  • Add all discovered coremod jars before loading plugins; preserve the relaunch import skip.
  • Map Custom LAN replacement targets and access rule to MCP names.
  • Compile platform and assemble the existing BuildCraft jar.
  • Compile and assemble Custom LAN after reference classpath contamination is fixed.
  • Inspect rebuilt coremod manifests and access transformer resources in assembled jars.
  • Complete compatibility review and coordinator runtime checks.

Full-pack coremod loading, jar manifests, mapped access rules, and rebuilt replacement payload loading passed. The client log confirms Custom LAN GUI replacement loading.

  • Verify Custom LAN sharing, LAN connection and operator-command behavior in a focused manual session.

This remaining feature check is separate from the completed full-pack source integration in #18.

Parent: #18 - [x] Implement jar manifest main attributes and preserve access transformer resources. - [x] Add all discovered coremod jars before loading plugins; preserve the relaunch import skip. - [x] Map Custom LAN replacement targets and access rule to MCP names. - [x] Compile platform and assemble the existing BuildCraft jar. - [x] Compile and assemble Custom LAN after reference classpath contamination is fixed. - [x] Inspect rebuilt coremod manifests and access transformer resources in assembled jars. - [x] Complete compatibility review and coordinator runtime checks. Full-pack coremod loading, jar manifests, mapped access rules, and rebuilt replacement payload loading passed. The client log confirms Custom LAN GUI replacement loading. - [ ] Verify Custom LAN sharing, LAN connection and operator-command behavior in a focused manual session. This remaining feature check is separate from the completed full-pack source integration in #18.
Author
Owner

Progress:

  • Manifest main attributes now feed the actual jar manifest; original signing sections and signature files are excluded. Configured coremodClass and accessTransformer override those attributes.
  • Relaunch discovery adds all candidate coremod jars before plugin loading and closes scanned jars. RelaunchLibraryManager was already on the legacy-import skip list.
  • Custom LAN replacement targets now use MCP class names. Its access rule maps gm.i to net/minecraft/server/management/ServerConfigurationManager.ops.
  • :platform:game:compileJava :mods:buildcraft:jar passed. :mods:customport:compileJava currently fails because the Lumy reference jar shadows platform classes; details are in #18. No runtime checks were run.
Progress: - Manifest main attributes now feed the actual jar manifest; original signing sections and signature files are excluded. Configured coremodClass and accessTransformer override those attributes. - Relaunch discovery adds all candidate coremod jars before plugin loading and closes scanned jars. RelaunchLibraryManager was already on the legacy-import skip list. - Custom LAN replacement targets now use MCP class names. Its access rule maps gm.i to net/minecraft/server/management/ServerConfigurationManager.ops. - `:platform:game:compileJava :mods:buildcraft:jar` passed. `:mods:customport:compileJava` currently fails because the Lumy reference jar shadows platform classes; details are in #18. No runtime checks were run.
Author
Owner

Custom LAN progress:

  • Compile and assemble: JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:customport:compileJava :mods:customport:jar.
  • Inspect Custom LAN jar manifest and access rule. The manifest has FMLCorePlugin: CustomLAN.CoreMod.CustomLANLoadingPlugin; customlan_at.cfg is present.
  • Preserve all three replacement classes under CustomLAN/replacements/net/minecraft/.... Their rebuilt fields and method signatures match the remapped original by javap -p.
  • Coordinator: inspect other coremod jars and run final client/server checks. Confirm Custom LAN transformers load the three replacements, the LAN screen accepts IP/port and shares a world, another client connects, and ops reload/commands work. Check dedicated server startup and full-pack interactions.

Original evidence: the remapped shipped jar contains the three net/minecraft/... replacement classes; javap -c -p CustomLAN.CoreMod.Overriders.ClassOverrider shows it reads <name>.class directly from its own ZipFile. Rebuilt jar entries use private paths and the transformer reads those exact entries, avoiding platform classpath precedence. No shared API changes or optional dependencies were needed. Compile and jar checks do not establish runtime behavior.

Custom LAN progress: - [x] Compile and assemble: `JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:customport:compileJava :mods:customport:jar`. - [x] Inspect Custom LAN jar manifest and access rule. The manifest has `FMLCorePlugin: CustomLAN.CoreMod.CustomLANLoadingPlugin`; `customlan_at.cfg` is present. - [x] Preserve all three replacement classes under `CustomLAN/replacements/net/minecraft/...`. Their rebuilt fields and method signatures match the remapped original by `javap -p`. - [ ] Coordinator: inspect other coremod jars and run final client/server checks. Confirm Custom LAN transformers load the three replacements, the LAN screen accepts IP/port and shares a world, another client connects, and ops reload/commands work. Check dedicated server startup and full-pack interactions. Original evidence: the remapped shipped jar contains the three `net/minecraft/...` replacement classes; `javap -c -p CustomLAN.CoreMod.Overriders.ClassOverrider` shows it reads `<name>.class` directly from its own ZipFile. Rebuilt jar entries use private paths and the transformer reads those exact entries, avoiding platform classpath precedence. No shared API changes or optional dependencies were needed. Compile and jar checks do not establish runtime behavior.
Author
Owner
  • Inspected CCC and NEI coremod manifests and AT resources in rebuilt jars.
  • Added MCP-name AT resources for CCC and NEI; their plugins select these in development.
  • Coordinator: verify early transformer registration and access rules in the running pack. ChickenChunks development AT needs separate work; reported in #18.
- [x] Inspected CCC and NEI coremod manifests and AT resources in rebuilt jars. - [x] Added MCP-name AT resources for CCC and NEI; their plugins select these in development. - [ ] Coordinator: verify early transformer registration and access rules in the running pack. ChickenChunks development AT needs separate work; reported in #18.
Author
Owner

[x] Inspected rebuilt Lumy and TreeCapitator coremod manifests and Lumy replacement payloads. Lumy uses private rebuilt MCP class resources and excludes root copies of compatibility classes. TreeCapitator matches the current platform removeBlock bytecode. Both jars assembled with the requested JDK 21 and JDK 8 toolchains.
[ ] Full-pack runtime compatibility checks remain for the coordinator.

[x] Inspected rebuilt Lumy and TreeCapitator coremod manifests and Lumy replacement payloads. Lumy uses private rebuilt MCP class resources and excludes root copies of compatibility classes. TreeCapitator matches the current platform removeBlock bytecode. Both jars assembled with the requested JDK 21 and JDK 8 toolchains. [ ] Full-pack runtime compatibility checks remain for the coordinator.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rexlManu/TekkitLite#20
No description provided.