Перейти к содержимому

datapack function library 5.0.0 для Minecraft 1.21.11 (Datapack)

Релиз18 сентября 2026Minecraft 1.21.11Datapack15 скачиваний на Modrinth
Это не последняя версия. Последняя для 1.21.11 · Datapack — 5.1.0Открыть 5.1.0 →

Файлы · 1

datapack-function-library_v5.0.0_1.21.11.zipОсновной163 КБСкачать
Основной · 163 КБ
SHA-10d43665474496c6f4449677f16b6b27307459c24SHA-512c0becfc2276fb6fc9b79e4a1216719a0118f81b05575661646a3a8f87182ac9eb998f2657b2ad7c95f5d36b53cd3447dcf00b543a25370cbe8930df5091731a4
Скачать

Что изменилось

  • 兼容:支持范围由 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.

Зависимости этой версии

3S0b1XESобязательная для 1.21.11Мод на Modrinth ↗

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее