Skip to content

Math Function 2.6 for Minecraft 1.21.1 (NeoForge)

BetaJuly 8, 2026Minecraft 1.21.1NeoForge17 downloads on Modrinth
This isn't the latest version. The latest for 1.21.1 · NeoForge is 2.10Open 2.10 →
Test version — may have bugs. For a game without surprises, choose a release 2.10.

Files · 1

function_math-2.6-neoforge-1.21.1.jarPrimary72.8 KBDownload
Primary · 72.8 KB
SHA-1812c95896b3d501008de9227aeefd5d216694e95SHA-5121cfba490069ff11319cf680f16e84be8744f7af5842c9ee8f5f8c3122aba59dec0764642a4926685a30fe9def4bf5fe483615c5004ef540acc53ca45c0e39e2e
Download

What's changed

【中文更新日志】

2.6 版本更新 - 表达式解析器升级:

  • 重写了数学表达式解析器,现在支持更丰富的函数和更灵活的语法。
  • 新增函数支持:abs(绝对值)、exp(自然指数,#1)、带任意底数的 log(base, value)(例如 log(2, 8) 计算以 2 为底 8 的对数)、以及 sqrt(root, value)(求任意次方根,如 sqrt(3, 64) 计算 64 的 3 次方根)。
  • 支持 logN 简写形式,例如 log2 表示以 2 为底的对数,log10 表示常用对数。
  • 解析器更加健壮,能够正确处理函数嵌套和复杂表达式。
  • 所有函数附魔和命令功能均使用新解析器,计算更准确,支持更广泛的数学表达式。

【English Changelog】

Version 2.6 - Expression parser upgrade:

  • Rewrote the mathematical expression parser with support for more functions and flexible syntax.
  • New functions added: abs (absolute value), exp (natural exponential, #1), log(base, value) for arbitrary base logarithms (e.g. log(2, 8) computes log base 2 of 8), and sqrt(root, value) for arbitrary roots (e.g. sqrt(3, 64) computes the cube root of 64).
  • Supports shorthand logN notation, e.g. log2 for base-2 logarithm, log10 for common logarithm.
  • Parser is now more robust, correctly handling nested functions and complex expressions.
  • All function enchantments and command features utilize the new parser for more accurate calculations and broader mathematical expression support.

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.6 for Minecraft 1.21.1 (NeoForge) — download — battlemetrics.ru