ModsFinder
VE

VerSion

by SubBurban

VerSion is a library for datapack authors that exposes the running Minecraft version's pack format to other datapacks, ready for use from the first world start.

FabricForgeNeoForgeQuiltServer required, client optionalGNU Lesser General Public License v2.1 or laterOpen source1.20 – 26.3

What it does

Datapacks often need to know which pack format the game is running, so that overlays and version checks can select the right files. VerSion supplies that value through a function that returns the current pack format as an integer, available from snapshot 23w44a onward. It also stores the pack format and the last Minecraft version name in data storage under ver:sion, so other datapacks can read it with a data get command without calling any function.

The reload function ver:load runs automatically on world startup and on each reload, refreshing the stored version information. Lost data is always refetched by running ver:load. The ver:print function prints the current version information to the command executor, which helps when checking a datapack. Pack formats are detected from 1.20.2 onward, starting at 23w31a, and the mod counts only the major number of each format. Pack formats up to 26.3, such as 121, are covered.

Key features

  1. Pack format function

    ver:sion returns the current pack format as an integer for use in datapack logic.

  2. Stored version data

    The pack format and the last Minecraft version name are saved in data storage under ver:sion.

  3. Automatic refresh

    ver:load reloads the version information on world startup and on each reload.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.31.1-Mod1.1-Mod1.1-Mod1.1-Mod
26.21.1-Mod1.1-Mod1.1-Mod1.1-Mod
26.1.21.1-Mod1.1-Mod1.1-Mod1.1-Mod
26.1.11.1-Mod1.1-Mod1.1-Mod1.1-Mod
26.11.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.x12 of 12 versions with builds
1.21.111.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.101.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.91.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.81.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.71.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.61.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.51.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.41.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.31.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.21.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.21.11.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.211.1-Mod1.1-Mod1.1-Mod1.1-Mod
1.20.x7 of 7 versions with builds
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

Use cases

Overlay selection in datapacks

A datapack can read the stored pack format to choose which overlay applies, without carrying its own version check.

Checking a datapack against the game

Running ver:print shows which pack format the game reports, which helps find mismatches while testing.

Who it’s for: Datapack authors who need the running pack format in their own functions, and server owners whose datapacks depend on it. Players only need the mod when a datapack that requires it is installed.

How it compares

Full comparison

PackTest is a Fabric-only server-side mod released under the MIT License, with files for 1.20.4 – 26.3, and it is open source. No Vanilla Data Pack is server required and client optional, published for Fabric, Forge, NeoForge and Quilt across 1.19 – 1.21.1, under the MIT License, and it is not open source.

ModLoadersGame versionsEnvironmentUpdated
VerSionFabric, Forge, NeoForge and Quilt1.20 – 26.3Server required, client optional2026-10-08
PackTestFabric1.20.4 – 26.3Server-side only2026-09-20
No Vanilla Data PackFabric, Forge, NeoForge and Quilt1.19 – 1.21.1Server required, client optional2024-08-18

Questions

Does VerSion need to be installed on the client?

No. It works on the server, and players may leave it out, since the server alone is enough to run it.

Which pack formats does VerSion detect?

Detection starts at 23w31a for Minecraft 1.20.2 and later, and covers pack formats up to 26.3, including 121.

Which loaders are supported?

Files are published for Fabric, Forge, NeoForge and Quilt, and the latest file for each loader is 1.1-Mod for 26.3.

In the catalog

VerSion is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.

More from SubBurban

All projects

Similar mods

What the author says

Please report any issues you have with wrong versions or any other unexpected behaviour on GitHub. Thank you! 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.
SubBurban, on the Modrinth page

Official listing

Owner
SubBurban
Published
2026-09-25
Updated on Modrinth
2026-10-08
Facts verified
2026-10-15

Tags