Calculator

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

1 373 downloads 5 followers

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)

No gallery available for this project.

Version Minecraft Loader Download

Calculator v1.1.0

1.1.0-1.21

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
neoforge
Download

Calculator v1.1.0

1.1.0-1.20

1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
forge
Download

Calculator v1.1.0

1.1.0-1.21

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
neoforge
Download

Calculator v1.0.2

1.0.2

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
neoforge
Download

Calculator v1.0.1

1.0.1

1.21.1
neoforge
Download

Calculator v1.0.0

1.0.0

1.21.1
neoforge
Download