Back to mods
VerSion project artwork

Modrinth · Minecraft mod

VerSion

Technical API pack providing the currently running version and pack format.

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

Quick answer

Which VerSion release matches 25w37a?

Updated today
Best match for your filters 1.1-Mod
Game version 1.20-pre1, 1.20-pre2, 1.20-pre3
Loader Fabric, Forge, NeoForge

VerSion 1.1-Mod targets 1.20-pre1, 1.20-pre2, 1.20-pre3 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is VerSion 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, Forge, NeoForge
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 VerSion 1.1-Mod need?

1.1-Mod on 25w37a. 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 VerSion without breaking your instance.

Built for VerSion 1.1-Mod on 25w37a. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1-Mod. It targets 1.20-pre1, 1.20-pre2, 1.20-pre3 with Fabric, Forge, NeoForge; 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.1-Mod. It opens that exact file at the source.

About this project

What does VerSion add?

Showcase of VerSion printing the current Minecraft version 26.3-snap3 into the chat.

Please report any issues you have with wrong versions or any other unexpected behaviour on GitHub. Thank you!

VerSion

In Minecraft Vanilla, there is no simple command (or any source, that is) providing the currently running Minecraft Version or data pack format to datapacks.

VerSion addresses this issue and may be used as an API by other datapacks to get the current pack format. Using overlays, VerSion achieves this goal in an inexpensive, light-weight and future-proof manner.

In contrast to existing alternatives (like Version Detector, which at least supports earlier versions), VerSion covers way more formats, does not throw faulty errors (when in reality, everything's working) or display excessive amounts of notices, and thus may be used elegantly and in any form of datapack project you plan to implement. Of course, it is free of charge and open-source forever.

How to use

Functions:

  • function ver:sion, returns current pack format as an int (available 23w44a and later)
  • function ver:load to reload version info (runs automatically on world startup and /reload)
  • function ver:print to print current version info to the executor

On every reload, VerSion stores the current pack format as an Integer and the name of the (last) Minecraft version using that format as a String inside a data storage. If lost, this information may always be refetched by running /function ver:load.

#get the pack format
data get storage ver:sion Format

#get the version
data get storage ver:sion Name

To make use of that information in your pack, use execute store ... run data get storage ver:sion Format or data modify ... from storage ver:sion (Format|Name).

For formats beginning with 23 (versions 23w44a and later), the most convenient way to get the pack format is function ver:sion which simply returns the current pack format.

Supported versions

If the datapack is marked as being for an older/newer version when investigated, that means no correct version info will be supplied. Due to the way VerSion works out the current pack format, only version 1.20.2 and later (specifically, beginning 23w31a) may be detected. For simplicity, only the major format number is taken into account.

Currently, all versions up to 26.3 – pack format 121 – are detected, however this will be quickly expanded when Minecraft updates progress further.

Project description from Modrinth.

Pick your setup

VerSion by Minecraft version and loader

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

1145 available setups

Showing the newest 12 of 229 game versions. Older files are in the list below.

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

Recent files

VerSion versions and loaders

4 of 5 releases match
Clear filters

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