Skip to content

InfinityLib Mod for Minecraft 1.16.5, 1.18.2

Library holding common code used by all of my mods

views
5 views
Updated
Updated 17.10.2026

About the InfinityLib mod

I'm at the point where I have multiple mods which all use parts of the same code. Maintaining those chunks of identical code over multiple projects became a real hassle, so I decided to bundle the common code into one small mod.

This mod does nothing on its own, except for providing the necessary classes for my mods.

Versioning:

All my mods depending on InfinityLib will have the following versioning:

<maj. version>.<InfinityLib version>.<patch nr>

InfinityLib version number must correspond to the version of InfinityLib, patch number is used for a fix in InfinityLib or the mod itself which does not break binary compatibility with the other dependencies.

How to install InfinityLib

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.16.5–1.18.2 on Forge automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Forge

    The loader must match the game version of the mod file, for example Minecraft 1.18.2. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file infinitylib-2.1.4.jar (552 KB) for your game version.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: InfinityLib should be in the list.

Minecraft 1.18.2 runs on Java 17: with a different Java version the game may close right after launch.

Versions

With dependencies

MinecraftLoaderFileDateActions
1.18.2Forgeinfinitylib-2.1.4.jar552 KB
1.16.5—Infinitylib-2.0.4.jar489 KB

FAQ

Which Minecraft versions does InfinityLib work on?

There are files for 1.18.2, 1.16.5. The newest is 1.18.2.

Is InfinityLib for Forge or Fabric?

Only for Forge: 1.18.2. There are no files for Fabric or NeoForge: a mod for another loader will not start.

Does InfinityLib need other mods?

The author lists no required dependencies: the Forge loader is enough.

Which Java does InfinityLib need?

Minecraft 1.18.2 runs on Java 17. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download InfinityLib safely?

On this page: the file infinitylib-2.1.4.jar (552 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: c23117b224dd3ef474c9ad0accd213ef5649b884.

Reviews

Be the first to rate InfinityLib

Comments 0

Sign in to commentSign in

Similar mods

All mods

More on this