ModsFinder

chatqalc

by vlad2305m

chatqalc turns the Minecraft chat box into a calculator: type an expression and send it to get a result from the Qalculate engine.

FabricClient-side onlyGNU General Public License v3.0 or laterOpen source1.20 – 1.20.4

What it does

Once installed, chatqalc runs a portable interactive qalc calculator that starts with the game and can be opened from the chat screen with the T key. Expressions typed there are evaluated by Qalculate, which handles unit conversion such as 1km to m, symbolic calculation and arbitrary precision. Functions, units, variables and constants persist between restarts, and error messages are verbose so a bad input explains what went wrong.

Parsing is fault-tolerant, so input close to natural language still works, and unknown variables can be turned off to reduce confusion. Ctrl+Enter sends the result to the chat as an executed line, Shift+Enter replaces the chat field with the last result, and Ctrl+Shift+Enter broadcasts the result to everyone on the server. Shift+Tab lists completions, and chat history can be queried. Gnuplot plots open in a new window when Gnuplot is installed separately.

The mod runs only on the client, so a server does not need it, and players on a server that lacks it can still use the chat calculator locally. Files are published for Fabric only. The code is open source under the GNU General Public License v3.0 or later, and Mod Menu is optional.

Key features

  1. Chat-based evaluation

    Expressions typed in the chat screen are evaluated by the Qalculate engine and the result can be sent back into chat.

  2. Result sharing shortcuts

    Ctrl+Enter, Shift+Enter and Ctrl+Shift+Enter choose whether a result is executed, placed in the field or shared with every player on the server.

  3. Unit and symbolic math

    Unit conversion, symbolic calculation and arbitrary precision work from the same input line, with fault-tolerant parsing.

  4. Persistent definitions

    Functions, units, variables and constants are kept between restarts, and unknown variables can be disabled.

Compatibility

Latest build for each game version and loader.

1.20.41.2.1
1.20.31.2.1
1.20.21.2.1
1.20.11.2.1
1.201.2.1
ReleaseBetaAlphaNot available

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

Requirements

Dependencies declared by the latest file for each loader.

Optional 1

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional

How it compares

Full comparison

Calculator commands is a Fabric mod for 1.20.2 – 1.20.4 under the MIT License, and it is open source. Chat Vars is Fabric-only, runs on the client alone for 1.20 – 1.20.4 and is not open source, being licensed under the Apache License 2.0. McCalc is open source under the MIT License and covers only 1.19.1, so it does not reach the versions chatqalc supports.

ModLoadersGame versionsEnvironmentUpdated
chatqalcFabric1.20 – 1.20.4Client-side only2023-08-19
Calculator commandsFabric1.20.2 – 1.20.4Client-side only2024-01-20
Chat VarsFabric1.20 – 1.20.4Client-side only2024-04-17
McCalcFabric1.19.1Client-side only2022-08-21

Questions

Does chatqalc need a server install?

No. Players add it to their own game, and a server needs no copy.

Is Mod Menu required?

No. Mod Menu is an optional dependency, and chatqalc runs without it.

Which game versions does chatqalc support?

Files are published for Fabric across the range above, with 1.2.1 for 1.20.4 as the latest file.

In the catalog

chatqalc is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,907 mods support Minecraft 1.20.4.

More from vlad2305m

All projects

Similar mods

What the author says

An interface to Qalculate! qalc - the best cli calculator. (Included for Windows/Linux) Most notably: - /help then Ctrl+Enter - Use -> for unit conversion (1km->m = 1000 m) - Fault-tolerant parsing of strings (almost natural language) - Ability to disable functions, variables, units or unknown variables for less…
vlad2305m, on the Modrinth page

Official listing

Owner
vlad2305m
Published
2023-08-19
Updated on Modrinth
2023-08-19
Facts verified
2026-10-15

Tags