ModsFinder

DataPack Anvil

by sirttas

With DataPack Anvil installed, modders can build mods whose content is driven by datapacks, using a shared library of data managers and serializable block predicates.

ForgeNeoForgeClient and serverGNU Lesser General Public License v2.1 onlyOpen source1.16.5 – 1.21.1

What it does

DataPack Anvil is a library for creating mods that read their content from datapacks instead of hard-coded registries. It provides a data manager that loads and reloads datapack entries, and serializable block predicates that store conditions on blocks as custom data in a datapack. Other mods that depend on it, such as Elemental Craft, use these tools to expose their content to datapack authors.

The library is built for Forge and NeoForge, with files published for game versions 1.16.5 – 1.21.1. Because it runs on client and server, the server and every player need it when a dependent mod uses it. The code is licensed under the GNU Lesser General Public License v2.1 only and is open source, with a source repository, issue tracker and wiki available.

Key features

  1. Data manager

    A manager loads datapack files for a mod and reloads them, so content can be changed without rebuilding the mod.

  2. Serializable block predicates

    Conditions on blocks can be written as data and saved or read back, letting datapacks describe block matching rules.

  3. Custom datapack data

    Mods can define their own datapack data formats on top of the library's tools.

  4. Shared base for dependents

    Mods built on it reuse the same loading and serialization code instead of each writing its own.

Compatibility

Latest build for each game version and loader.

1.21.1Not available6.1.3
1.20.4Not available5.1.2
1.20.11.20.1-5.0.11.20.1-5.0.1
1.19.21.19.2-4.4.0Not available
1.19.11.19.1-4.2.0Not available
1.191.19-4.1.0Not available
1.18.21.18.2-3.4.2Not available
1.16.51.16.5-1.3.1Not available
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Required by 1 mod

Use cases

Who it’s for: The library suits mod developers who want datapack-driven content, and players who install a mod that requires it. Modpack builders need it only when a dependent mod lists it.

How it compares

Full comparison

AddonsLib is a library for Fabric, Forge and NeoForge that runs on client and server, but its license is All rights reserved, so it is not open source. AlinLib supports Fabric, Forge, NeoForge and Quilt and is client-side only, under the GNU General Public License v3.0 or later. ItemOverlayState is a NeoForge-only client-side mod for 1.21.1 under the GNU Lesser General Public License v3.0 or later.

ModLoadersGame versionsEnvironmentUpdated
DataPack AnvilForge and NeoForge1.16.5 – 1.21.1Client and server2025-12-26
AddonsLibFabric, Forge and NeoForge1.16.5 – 26.2Client and server2026-07-14
AlinLibFabric, Forge, NeoForge and Quilt1.20 – 26.3Client-side only2026-09-27
ItemOverlayStateNeoForge1.21.1Client-side only2025-11-07

Questions

Does Elemental Craft need DataPack Anvil?

Yes. Elemental Craft requires DataPack Anvil, so the library must be installed alongside it.

Does DataPack Anvil have to be installed on the server?

Yes. Servers that run it need every player to install it too.

Which loaders does DataPack Anvil support?

The library has files for Forge and NeoForge. The latest Forge file is 1.20.1-5.0.1, and the latest NeoForge file is 6.1.3 for 1.21.1.

Is the source code available?

Yes. The project is open source under the GNU Lesser General Public License v2.1 only, and a source code link is published.

In the catalog

DataPack Anvil is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 32,366 mods support Minecraft 1.21.1.

More from sirttas

All projects

Similar mods

What the author says

Take a look at the wiki for more info on how this it works.
sirttas, on the Modrinth page

Official listing

Owner
sirttas
Published
2022-05-29
Updated on Modrinth
2025-12-26
Facts verified
2026-10-15

Tags