Skip to content

datapack function library 5.0.0+mod for Minecraft 1.21.11 (Fabric, NeoForge)

ReleaseSeptember 18, 2026Minecraft 1.21.11FabricNeoForgeForge96 downloads on Modrinth

Files · 1

datapack-function-library-5.0.0.jarPrimary414 KBDownload
Primary · 414 KB
SHA-1a68057a6492d2b05be35ef19e65250f3f520305eSHA-512a42828189df44a29d9b582849eb2e55cd4d9ca221cba76e19d3bb186b5e0fcd202e24c1565680be229007f3cbbbac77fc552f2ecbfbe3e4d7e9fcb2db0f9f50d
Download

What's changed

  • 兼容:支持范围由 1.13–1.21.10 扩展至 1.13–26.3;
  • 兼容:适配 Minecraft 26.x 的命令语法变更(gamerule 与 time query),旧版本由构建系统自动转换;
  • 破坏性:dfl:lib/count_items 新增 {namespace} 参数,记分项由 dfl_{name}_num 改为 dfl_{namespace}.{name}_count;
  • 破坏性:基于 count_items 的函数(clear_and_execute_single、clear_and_execute_multiple、maintain_item_count、convert_items_to_xp)同步新增 {namespace} 参数;
  • 破坏性:dfl:child/smelt 重命名为 dfl:tick/smelt_item,dfl:tick/smelt 重命名为 dfl:tick/coal_smelt,两者参数均有调整;
  • 破坏性:移除 dfl:lib/spawn_dummies 批量生成假人函数;
  • 破坏性:移除 tick 入口函数与 minecraft:tick 标签;
  • 修复:kill_by_density 的村民豁免在部分版本下失效;
  • 修复:teleport_request 的传送目标判定错误;
  • 修复:冶炼函数中 count_items 调用缺少宏前缀导致无法执行。

  • Compatibility: supported version range extended from 1.13–1.21.10 to 1.13–26.3;
  • Compatibility: adapted to the command syntax changes of Minecraft 26.x (gamerule and time query), with older versions converted automatically at build time;
  • Breaking: dfl:lib/count_items now takes a {namespace} parameter, and its scoreboard objective changed from dfl_{name}_num to dfl_{namespace}.{name}_count;
  • Breaking: functions built on count_items (clear_and_execute_single, clear_and_execute_multiple, maintain_item_count, convert_items_to_xp) now take a {namespace} parameter as well;
  • Breaking: dfl:child/smelt renamed to dfl:tick/smelt_item and dfl:tick/smelt renamed to dfl:tick/coal_smelt, both with adjusted parameters;
  • Breaking: removed the dfl:lib/spawn_dummies function;
  • Breaking: removed the tick entry point function and the minecraft:tick tag;
  • Fix: villager exemption of kill_by_density did not work on some versions;
  • Fix: wrong teleport target check in teleport_request;
  • Fix: missing macro prefix on count_items calls in the smelting functions.

Dependencies of this version

3S0b1XESrequired for 1.21.11Mod on Modrinth ↗

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More