Skip to content

Math Function 2.9 for Minecraft 1.21.1 (NeoForge)

ReleaseJuly 10, 2026Minecraft 1.21.1NeoForge103 downloads on Modrinth
This isn't the latest version. The latest for 1.21.1 · NeoForge is 2.10Open 2.10 →

Files · 1

function_math-2.9-neoforge-1.21.1.jarPrimary84.8 KBDownload
Primary · 84.8 KB
SHA-1059c1001a36be3eda2c0eca26a3128f525eba210SHA-512f0de51daa704aca53672542bd5ab68d91428435bf34aaba3d27a8e582d0bdaed8ef8af5473d49cefbd458d6206e12feb02aa1de266c793ce233cc1adb4fc9f68
Download

What's changed

【中文更新日志】

2.9 版本更新 - 递归调用安全防护:

  • 修复了自定义函数互相调用或自身调用自身时导致的栈溢出崩溃漏洞(StackOverflowError),该问题曾导致服务器崩溃甚至存档损坏。
  • 新增递归调用检测机制,当检测到函数存在直接或间接的循环调用时,会抛出友好的“循环调用”错误提示,而非崩溃。
  • 设定了最大递归深度限制(64 层),防止意外深度递归导致性能问题。
  • 现在你可以安全地定义和测试自定义函数,即使不小心写出了递归调用,游戏也会优雅地给出错误提示而不会崩溃。

【English Changelog】

Version 2.9 - Recursive call protection:

  • Fixed a critical crash vulnerability where custom functions calling themselves or mutually referencing each other would cause StackOverflowError, potentially crashing the server or corrupting saves.
  • Added recursive call detection mechanism that throws a friendly "circular call" error when direct or indirect recursion is detected, instead of crashing.
  • Implemented a maximum recursion depth limit (64 layers) to prevent performance issues from accidental deep recursion.
  • You can now safely define and test custom functions – even if you accidentally write recursive calls, the game will gracefully display an error message instead of crashing.

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

Math Function 2.9 for Minecraft 1.21.1 (NeoForge) — download — battlemetrics.ru