ModsFinder

Singleplayer Library

by BibekTheLegend

Singleplayer Library is a utility library for datapack mods that lets developers enable features only in singleplayer worlds.

FabricForgeNeoForgeQuiltServer required, client optionalAll rights reserved1.17 – 26.2

What it does

The library gives datapack developers a tag-based way to detect when a world is a singleplayer world, so features and settings can apply there alone. Manual permission setup and extra commands are not needed for singleplayer users to get the intended behavior. It is a foundation for other projects and adds no gameplay features of its own.

The check runs once per second rather than on every one of the 20 ticks, which keeps the performance impact low. Code placed under the active tag runs only in singleplayer worlds, and a generated namespace is created for the datapack, though the mod using it must still write its own structure. Files exist for Fabric, Forge, NeoForge and Quilt, plus a Data pack platform, across 1.17 – 26.2.

A server running the library needs it, while players may leave it out, since it works on the server and does not require the client. The library is released under All rights reserved and is not open source, though developers may use it in projects that generate revenue.

Key features

  1. Singleplayer tag detection

    Projects check a tag to tell whether the current world is singleplayer, then gate their features on that result.

  2. Once-per-second checks

    The check runs once per second instead of every tick, which keeps the overhead small compared with a per-tick function.

  3. No separate version projects

    One library supports the same integration across several Minecraft versions, so developers avoid maintaining separate singleplayer builds.

  4. Generated datapack namespace

    A namespace pack is created automatically for the datapack, while the mod using the library writes its own structure.

Compatibility

Latest build for each game version and loader.

26.x4 of 4 versions with builds
26.20.1+mod0.1+mod0.1+mod0.1+mod
26.1.20.1+mod0.1+mod0.1+mod0.1+mod
26.1.10.1+mod0.1+mod0.1+mod0.1+mod
26.10.1+mod0.1+mod0.1+mod0.1+mod
1.21.x12 of 12 versions with builds
1.21.110.1+mod0.1+mod0.1+mod0.1+mod
1.21.100.1+mod0.1+mod0.1+mod0.1+mod
1.21.90.1+mod0.1+mod0.1+mod0.1+mod
1.21.80.1+mod0.1+mod0.1+mod0.1+mod
1.21.70.1+mod0.1+mod0.1+mod0.1+mod
1.21.60.1+mod0.1+mod0.1+mod0.1+mod
1.21.50.1+mod0.1+mod0.1+mod0.1+mod
1.21.40.1+mod0.1+mod0.1+mod0.1+mod
1.21.30.1+mod0.1+mod0.1+mod0.1+mod
1.21.20.1+mod0.1+mod0.1+mod0.1+mod
1.21.10.1+mod0.1+mod0.1+mod0.1+mod
1.210.1+mod0.1+mod0.1+mod0.1+mod
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

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

Use cases

Who it’s for: Datapack developers who want features that apply only to singleplayer worlds, and server owners who run datapacks built on the library.

How it compares

Full comparison

TritiumConfiguration is open source under the MIT License and runs on Fabric, Forge, NeoForge and Quilt for 1.19 – 1.21.10, with the client or server optional. NAIF API is also MIT licensed but not open source by the catalog, and it targets 1.21 – 1.21.11 on Fabric, NeoForge and Quilt as a client and server mod. Alexandria Lib is the only one of these for NeoForge and Fabric at 1.21.1, under All rights reserved, and it needs both client and server.

ModLoadersGame versionsEnvironmentUpdated
Singleplayer LibraryFabric, Forge, NeoForge and Quilt1.17 – 26.2Server required, client optional2026-06-27
TritiumConfigurationFabric, Forge, NeoForge and Quilt1.19 – 1.21.10Client or server, optional2025-11-19
NAIF APIFabric, NeoForge and Quilt1.21 – 1.21.11Client and server2026-05-08
Alexandria LibFabric and NeoForge1.21.1Client and server2026-09-30

Questions

Does Singleplayer Library have to be installed on the client?

No. The server needs the library, while players can leave it out and still join the server.

Which loaders does Singleplayer Library support?

Fabric, Forge, NeoForge and Quilt, along with a Data pack platform. The latest file is 0.1+mod for 26.2, dated 2026-06-27.

Does the library add gameplay features by itself?

No. It is a utility for developers, and any gameplay features come from the datapacks that use it.

In the catalog

Singleplayer Library is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.

More from BibekTheLegend

All projects

Similar mods

What the author says

SinglePlayer Library is a lightweight utility library for datapacks and mods that helps developers support singleplayer environments without creating separate versions of their projects. It provides a simple way to detect and enable singleplayer-specific features or settings, allowing projects that normally require…
BibekTheLegend, on the Modrinth page

Official listing

Owner
BibekTheLegend
Published
2026-06-27
Updated on Modrinth
2026-06-27
Facts verified
2026-10-15

Tags