Calculator
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)
常见问题
Calculator 支持哪些 Minecraft 版本?
Calculator 支持 Minecraft Java 版 1.20–1.21.11,共 19 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Calculator 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
Mochi753 的其他作品
查看全部 →MekaJadeUpgrades Unofficial
Mekanism addon to add extra tooltips on Jade to show installed upgrades. (Unofficial 1.20.1 Port)
Functional Storage Downgrade Fix
This is a patch that fixes the conditions under which Functional Storage's Iron downgrade can be applied and prevents the item overstack bug.
MekanismDelight
MekanismDelight is a small mod that adds integration features between Farmer’s Delight and Mekanism.
Mekanism: CleanVision
A small Mekanism addon that adds an alternative MekaSuit module for players who prefer the vanilla Night Vision effect.
评论
登录后评论和评分