Back to mods
Minecraft Version Loader project artwork

Modrinth · Minecraft mod

Minecraft Version Loader

Simple library/utility to find the Minecraft version in code universally whatever is the Minecraft version.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Minecraft Version Loader release matches 1.20.1 Fabric?

Updated 3 years ago
alpha file 1.0.0
Game version 1.18, 1.18.1, 1.18.2
Loader Fabric

Minecraft Version Loader 1.0.0 targets 1.18, 1.18.1, 1.18.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Minecraft Version Loader required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Minecraft Version Loader 1.0.0 need?

1.0.0 on 1.20.1 Fabric. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Minecraft Version Loader without breaking your instance.

Built for Minecraft Version Loader 1.0.0 on 1.20.1 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.18, 1.18.1, 1.18.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does Minecraft Version Loader add?

Minecraft Version Loader

What is it?

The Minecraft Version Loader is a straightforward library/utility mod designed to offer a consistent API across all Minecraft versions. Its main purpose is to conveniently retrieve the exact version of Minecraft being used.

But why?

This mod serves a crucial role in situations where a universal mod is required to function across all Minecraft versions, while also needing to identify the specific version of Minecraft it's running on. This information is essential for determining which code should be loaded for each precise Minecraft version within the mod's codebase.

Important

This mod is currently in its early release stage, and it has been tested and confirmed to support Minecraft versions ranging from 1.18 to 1.20.1. While it is possible that the mod may work with other versions, if you encounter any issues, please create a ticket on the GitHub issue page.

How to use it?

  1. Retrieve the mod from the Maven Central repository using the following code snippet in your Gradle build script:
dependencies {
    modImplementation "lv.cebbys.mcmods:minecraft-version-loader:${version}"
}
  1. Import the necessary classes and call the method as shown below:
import lv.cebbys.mcmods.mvl.api.MinecraftVersionLoader;
import lv.cebbys.mcmods.mvl.dto.MinecraftVersion;

public void () {
    MinecraftVersion version = MinecraftVersionLoader.getMinecraftVersion();
    // Prepare things with the version how you like - burned, medium, raw
}

Project description from Modrinth.

Pick your setup

Minecraft Version Loader by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

10 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Minecraft Version Loader versions and loaders

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.