promotional bannermobile promotional banner

Calculator-Mochi_753

A simple mod that lets you calculate math expressions directly in chat using the @ prefix.

Calculator Mod

A simple client-side chat calculator.

Overview

Calculator Mod allows you to evaluate mathematical expressions directly from the chat.
Simply start your message with @ followed by a formula, and the result will be displayed in your chat.

Features:

  • Evaluate arithmetic expressions using double precision.
  • Optional inline or multi-line result display (configurable).
  • Client-side only: does not require server installation.
  • Configurable warnings and display options.

Usage

Type a calculation in the chat starting with @


Configuration

The mod provides a client-side configuration file (config/calculator-client.toml) with the following options:

Option Description Default
suppressWarning Suppress a warning on login about possible rounding errors false
resultInline Display calculation results in the same line as input false

Note: This calculator uses double precision. Results may contain rounding errors.


License

Calculator Mod: MIT License

Third-party libraries:

  • exp4j — Apache License 2.0
    (Source code included with license header preserved)

The Calculator-Mochi_753 Team

profile avatar
  • 7
    Projects
  • 58.5K
    Downloads

More from Mochi753View all

  • MekaJadeUpgrades Unofficial project image

    MekaJadeUpgrades Unofficial

    • 20.8K
    • Mods

    Mekanism addon to add extra tooltips on Jade to show installed upgrades. (Unofficial 1.20.1 Port)

    • 20.8K
    • April 18, 2026
    • Mods
    • +3
  • Functional Storage Downgrade Fix project image

    Functional Storage Downgrade Fix

    • 22.6K
    • Mods

    This is a patch that fixes the conditions under which Functional Storage's Iron downgrade can be applied and prevents the item overstack bug.

    • 22.6K
    • March 10, 2026
    • Mods
    • +1
  • MekanismDelight project image

    MekanismDelight

    • 6.1K
    • Mods

    MekanismDelight is a small mod that adds integration features between Farmer’s Delight and Mekanism.

    • 6.1K
    • January 23, 2026
    • Mods
    • +4
  • ForgeConfig Overload project image

    ForgeConfig Overload

    • 286
    • Mods

    ForgeConfig Overload is a mod that removes and bypasses value limits in Forge configs.

    • 286
    • January 12, 2026
    • Mods
  • MekaJadeUpgrades Unofficial project image

    MekaJadeUpgrades Unofficial

    • 20.8K
    • Mods

    Mekanism addon to add extra tooltips on Jade to show installed upgrades. (Unofficial 1.20.1 Port)

    • 20.8K
    • April 18, 2026
    • Mods
    • +3
  • Functional Storage Downgrade Fix project image

    Functional Storage Downgrade Fix

    • 22.6K
    • Mods

    This is a patch that fixes the conditions under which Functional Storage's Iron downgrade can be applied and prevents the item overstack bug.

    • 22.6K
    • March 10, 2026
    • Mods
    • +1
  • MekanismDelight project image

    MekanismDelight

    • 6.1K
    • Mods

    MekanismDelight is a small mod that adds integration features between Farmer’s Delight and Mekanism.

    • 6.1K
    • January 23, 2026
    • Mods
    • +4
  • ForgeConfig Overload project image

    ForgeConfig Overload

    • 286
    • Mods

    ForgeConfig Overload is a mod that removes and bypasses value limits in Forge configs.

    • 286
    • January 12, 2026
    • Mods