Calculator-Mochi_753

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

File Details

Calculator v1.0.0

  • R
  • Sep 3, 2025
  • 898.71 KB
  • 18
  • 1.21.1
  • NeoForge

File Name

calculator-1.0.0.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:calculator-mochi-753-1340340:6958955"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Calculator Mod

A simple client-side chat calculator for Minecraft 1.21.1 (NeoForge).

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 Show 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)