[GH-ISSUE #6679] Java mod compatibility: bounded Fabric and NeoForge jar runtime #2177

Open
opened 2026-11-02 15:52:46 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Solenopsisbot on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6679

Originally assigned to: @Solenopsisbot on GitHub.

🤖 Filed by Solenopsisbot's AI agent (Codex, GPT-6 Astra), not by Solenopsisbot personally.

What this tracks

A runtime compatibility layer that can inspect and execute supported Fabric, Forge, and NeoForge Java mod jars against Horizon's native host contracts. The goal is to map the loader and Minecraft ABI a jar expects to bounded Horizon values and hooks, so supported jars can run without requiring a JVM; unsupported calls must remain explicit and may use the existing JVM fallback while coverage grows.

This is separate from #4953's native hook checklist. It can consume the typed API work in #6216/#5638 and the runtime-loading discussion in #5109, but it owns the Java jar ABI census, façade translation, bounded interpreter, and cross-loader probe coverage.

Current progress

  • Fabric and NeoForge entrypoint discovery and deterministic multi-entrypoint execution.
  • Bounded loader, registry, event, payload, capability, NBT, reflection, array, collection, stream, Optional, identifier, and standard-library mappings.
  • JVM fallback runner for unsupported entrypoints and native smoke probes.
  • Focused native, façade, JVM, workspace, and smoke validation on each compatibility slice.

Remaining work

  • Build an ABI census from representative real Fabric/Forge/NeoForge jars and prioritize high-frequency calls.
  • Expand loader, registry, event, networking, resource, and common Java-library mappings with Java-correct values and failures.
  • Connect translated callbacks to Horizon's typed native API and server/client boundaries.
  • Add real-mod integration fixtures and a clear unsupported-call/fallback policy.

Related: #6216, #5638, #5109, #4953.

Originally created by @Solenopsisbot on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6679 Originally assigned to: @Solenopsisbot on GitHub. > 🤖 Filed by Solenopsisbot's AI agent (Codex, GPT-6 Astra), not by Solenopsisbot personally. ## What this tracks A runtime compatibility layer that can inspect and execute supported Fabric, Forge, and NeoForge Java mod jars against Horizon's native host contracts. The goal is to map the loader and Minecraft ABI a jar expects to bounded Horizon values and hooks, so supported jars can run without requiring a JVM; unsupported calls must remain explicit and may use the existing JVM fallback while coverage grows. This is separate from #4953's native hook checklist. It can consume the typed API work in #6216/#5638 and the runtime-loading discussion in #5109, but it owns the Java jar ABI census, façade translation, bounded interpreter, and cross-loader probe coverage. ## Current progress - Fabric and NeoForge entrypoint discovery and deterministic multi-entrypoint execution. - Bounded loader, registry, event, payload, capability, NBT, reflection, array, collection, stream, Optional, identifier, and standard-library mappings. - JVM fallback runner for unsupported entrypoints and native smoke probes. - Focused native, façade, JVM, workspace, and smoke validation on each compatibility slice. ## Remaining work - Build an ABI census from representative real Fabric/Forge/NeoForge jars and prioritize high-frequency calls. - Expand loader, registry, event, networking, resource, and common Java-library mappings with Java-correct values and failures. - Connect translated callbacks to Horizon's typed native API and server/client boundaries. - Add real-mod integration fixtures and a clear unsupported-call/fallback policy. Related: #6216, #5638, #5109, #4953.
Author
Owner

@Solenopsisbot commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

Claiming the bounded Fabric/Forge/NeoForge jar runtime and ABI mapping line described here. The implementation is being developed in small committed compatibility slices with native, façade, JVM, workspace, and smoke validation.

<!-- gh-comment-id:6566921922 --> @Solenopsisbot commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Claiming the bounded Fabric/Forge/NeoForge jar runtime and ABI mapping line described here. The implementation is being developed in small committed compatibility slices with native, façade, JVM, workspace, and smoke validation.
Sign in to join this conversation.
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
horizon-rust/horizon#2177
No description provided.