ModsFinder

datapack function library

by white_elephant

Datapack Function Library is a set of reusable functions for datapack authors, covering damage, respawn control and a death scoreboard item.

FabricForgeNeoForgeQuiltServer required, client optionalGNU Lesser General Public License v3.0 or laterOpen source1.13 – 26.3

What it does

Datapack Function Library gives datapack authors reusable functions for fall, fire, freeze and drowning damage. Other functions place the world respawn point at the origin with a radius of zero, and fix respawn time at the highest block coordinate. A scoreboard item named death is created so a pack can count deaths.

The library depends on the data pack system, so it only works on versions where data packs can be installed. Server owners and developers build their own packs on top of these functions. Localization Resource Pack is a required dependency, and it should be added together with the localized content, version 3.2 or later. Otherwise the data pack language falls back to the default zh_cn.

The license is the GNU Lesser General Public License v3.0 or later, so the code is open source. It is published for Fabric, Forge, NeoForge and Quilt, and as a data pack, across 51 release versions, 1.13 – 26.3. Only the server has to run it; players may add it but need nothing to join. no entity lag requires this mod.

Key features

  1. Damage functions

    Functions for fall, fire, freeze and drowning damage can be called from other data packs.

  2. Respawn control

    Functions place the respawn point at the origin with a radius of zero, and fix respawn time at the highest block coordinate.

  3. Death scoreboard item

    A scoreboard item named death is created so a pack can count player deaths.

  4. Macro functions

    Some functions are macros that take named parameters. Each function must be run once before others can use it, and the parameter format is described per function.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.35.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
26.25.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
26.1.25.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
26.1.15.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
26.15.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.x12 of 12 versions with builds
1.21.115.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.105.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.95.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.85.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.75.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.65.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.55.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.45.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.35.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.25.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.21.15.0.0+mod5.0.0+mod5.0.0+mod5.0.0+mod
1.215.0.0+mod5.0.0+mod5.0.0+mod5.0.0+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
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
ReleaseBetaAlphaNot available

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

3 older game versions (1.13 – 1.13.2) not shown. All files on Modrinth

Requirements

Dependencies declared by the latest file for each loader.

Required 1

LR
Localization Resource PackSummary not published
Required

Required by 1 mod

How it compares

Full comparison

Simple Player Freeze is a data pack for freezing players, released under the MIT License, and runs for 1.13 – 1.21.10 on Fabric, Forge, NeoForge and Quilt. ID System is also MIT licensed and covers the same 1.13 – 1.21.10 range. Remove Items From Ground is covered by All rights reserved and supports 1.13 – 1.21.11, so it is not open source.

ModLoadersGame versionsEnvironmentUpdated
datapack function libraryFabric, Forge, NeoForge and Quilt1.13 – 26.3Server required, client optional2026-09-26
Simple Player FreezeFabric, Forge, NeoForge and Quilt1.13 – 1.21.10Server required, client optional2025-11-20
ID SystemFabric, Forge, NeoForge and Quilt1.13 – 1.21.10Server required, client optional2025-10-29
Remove Items From GroundFabric, Forge, NeoForge and Quilt1.13 – 1.21.11Server required, client optional2025-10-13

Questions

Does Datapack Function Library need Localization Resource Pack?

Yes. Localization Resource Pack is a required dependency and should be installed together with the localized content, version 3.2 or later.

Can the library run without a data pack?

No. It is distributed as a data pack, and it can only be installed on versions where data packs can be installed.

Do players need to install it?

Players can skip it. Only the server needs the mod, and it works on the server alone while players may add it.

In the catalog

datapack function library is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 8,071 mods support Minecraft 26.3.

More from white_elephant

All projects

Similar mods

What the author says

This datapack is licensed under the GNU LESSER GENERAL PUBLIC LICENSE. This datapack provides developers with some practical functions (and some dialogs), compatible with all versions of Minecraft (except for versions that cannot install datapacks).
white_elephant, on the Modrinth page

Official listing

Owner
white_elephant
Published
2024-11-29
Updated on Modrinth
2026-09-26
Facts verified
2026-10-15

Tags