Skip to content

ReplaceBlock 2.0.0 for Minecraft 1.21.10 (Datapack)

ReleaseSeptember 21, 2026Minecraft 1.20.3–1.21.10Datapack58 downloads on Modrinth

Files · 1

ReplaceBlock_v2.0.0_1.20.3-1.21.10.zipPrimary793 KBDownload
Primary · 793 KB
SHA-16f4695f638bd0bacbef139cdc0281e3a43db1a7dSHA-512d782dbf264aeb1b10c0d6864af7a207a0f291793c8ca373426b41670ccee753bdd2a744f04168baa0fe8251546c497582f87e027c0b6ce3dbc34bdfb77873008
Download

What's changed

  • 支持的 Minecraft 版本范围由 1.20.3-1.21.10 扩展至 1.20.3-26.3
  • 移除配置项 selector,遍历起点改为 replace_block:api/execute 的命令执行位置(由 at 更新)
  • replace_block:api/execute 现在会返回替换成功的方块总数,未成功替换任何区块时返回 fail
  • 内部函数统一移入 private/ 目录,外部只需依赖 api/ 下的入口
  • 更新 README 中的调用示例与配置说明,并补充返回值文档

  • Expanded the supported Minecraft version range from 1.20.3-1.21.10 to 1.20.3-26.3
  • Removed the selector configuration option; traversal now starts from the command execution position (updated by at) of replace_block:api/execute
  • replace_block:api/execute now returns the total number of blocks successfully replaced, or fail when no chunk was replaced
  • Internal functions are now grouped under private/, so external callers only need the entry points under api/
  • Updated the usage examples and configuration description in the README, and documented the return value

Dependencies of this version

3S0b1XESrequired for 1.21.10Mod 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