promotional bannermobile promotional banner

ONNX Lib

Lightweight NeoForge library bundling Microsoft ONNX Runtime for AI-powered Minecraft mods.

About ONNX Lib

ONNX Lib is a standalone library mod for NeoForge (1.21.1+) that bundles Microsoft ONNX Runtime (1.19.2) into the game's classpath.

It allows AI-driven Minecraft mods (such as Naruto: New Shinobi Era) to run neural network inference natively in Java without bloating every mod update with ~50 MB of native binaries.

Features

  • Cross-Platform Native Support: Includes pre-packaged ONNX Runtime binaries for Windows (x64, ARM64), Linux (x64, ARM64), and macOS (Intel & Apple Silicon).
  • Zero Configuration for Players: Just drop the .jar into your mods folder alongside any mod that requires it.
  • Fast CPU Inference: Enables real-time neural network decision-making for entities and combat AI with minimal overhead.

For Mod Developers

If you want to use ai.onnxruntime.* in your NeoForge 1.21.1 (21.1.240+) mod without bundling it via jarJar:

  1. Add onnx_lib as a required dependency in your neoforge.mods.toml:

[[dependencies.your_mod_id]]

    modId="onnx_lib"

    type="required"

    versionRange="[1.0.0,)"

    ordering="BEFORE"

    side="BOTH"

ONNX Lib Team

profile avatar
  • 3
    Followers
  • 3
    Projects
  • 8.4K
    Downloads

Minecraft mod developer. Creator of Naruto: New Shinobi Era and ONNX Lib. Building deep RPG mechanics, custom GUIs, and neural-network mob AI

More from LikoZell

  • Naruto: New Shinobi Era (NSE) project image

    Naruto: New Shinobi Era (NSE)

    Wanted to become a shinobi but not ready to downgrade to older Minecraft versions just for that? Naruto: New Shinobi Era is a mod for the modern Minecraft 1.20.1 that will plunge you into adventures across the wonderful world of Naruto.

    • 8.3K
    • November 27, 2026
  • NarutoHouse project image

    NarutoHouse

    Adds new buildings to the NSE-1.20.1 mod

    • 50
    • November 2, 2026
  • Naruto: New Shinobi Era (NSE) project image

    Naruto: New Shinobi Era (NSE)

    Wanted to become a shinobi but not ready to downgrade to older Minecraft versions just for that? Naruto: New Shinobi Era is a mod for the modern Minecraft 1.20.1 that will plunge you into adventures across the wonderful world of Naruto.

    • 8.3K
    • November 27, 2026
  • NarutoHouse project image

    NarutoHouse

    Adds new buildings to the NSE-1.20.1 mod

    • 50
    • November 2, 2026