ModsFinder

Math Function

by aiLinMc

Math Function lets players define mathematical expressions as reusable functions and apply them to projectiles, tools, and block structures in NeoForge 1.21.1.

NeoForgeClient and serverGNU General Public License v3.0 onlyOpen source1.21.1

What it does

Players define their own functions with the customfunction command, then save, list, look up, evaluate, modify and remove them. Saved functions are written to a custom functions file, so they survive restarts. A function can be used anywhere the mod accepts an expression, and the quick evaluation command returns a value without storing anything.

Functions can also be turned into physical results. Block graph generation builds a function as a three-dimensional block structure from a single command. The function enchantment, obtained through commands, can be applied to a bow or other tools, and anvil renaming sets trajectories on arrows, TNT, fireworks and other projectiles, so their flight follows a chosen curve.

Math Function is a NeoForge mod for Minecraft Java Edition 1.21.1 only. Servers that run it need every player to install it too.

Key features

  1. Saved custom functions

    Functions defined with customfunction add are kept in a file and reloaded after each restart.

  2. Block graph generation

    A single command builds a function's graph as a three-dimensional block structure in the world.

  3. Function enchantment

    A bow or tool enchanted through commands makes its projectiles follow a custom mathematical trajectory.

  4. Quick evaluation

    The evaluation command returns the value of an expression at a given input without saving it.

Compatibility

Latest build for each game version and loader.

1.21.12.10
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

Eval is a Fabric, Forge and NeoForge library for evaluating expressions, published under a custom license for 1.20.1 – 1.21.11 and not open source. Numberous is a NeoForge mod for 1.21.1 under All rights reserved, with a client and server environment and no open source code.

ModLoadersGame versionsEnvironmentUpdated
Math FunctionNeoForge1.21.1Client and server2026-08-07
EvalFabric, Forge and NeoForge1.20.1 – 1.21.11Not published2026-01-23
NumberousNeoForge1.21.1Client and server2026-04-26

Questions

Does Math Function need to be installed on the server?

Yes. Servers that run it need every player to install it too.

Which loader and game version does Math Function support?

Math Function is published for NeoForge only, for 1.21.1. The latest NeoForge file is 2.10, released on 2026-08-07.

Where are custom functions stored?

Custom functions are saved in a custom functions JSON file, so they persist across restarts.

Can a function be used for enchantments?

Yes. A function enchantment can be obtained through commands and applied to a bow or tool, and anvil renaming sets trajectories.

In the catalog

Math Function is one of 12,078 Decoration mods on ModsFinder, and one of 5,201 Decoration mods for NeoForge. 32,366 mods support Minecraft 1.21.1.

More from aiLinMc

All projects

Similar mods

What the author says

Bring mathematics to life in Minecraft with function-powered projectiles and graphs! Math Function is a Minecraft NeoForge mod that transforms mathematical expressions into interactive in-game experiences. Whether you want to visualize functions as block graphs or launch projectiles along custom curves, this mod…
aiLinMc, on the Modrinth page

Official listing

Owner
aiLinMc
Published
2026-04-02
Updated on Modrinth
2026-08-07
Facts verified
2026-10-15

Tags