Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
This is a port of Chat Calc by RTTV to Minecraft 1.21.11+. I created it because Chat Calc by Rime hasn't been updated for some time now and I really enjoyed using it (it is not a fork of this as I don't know Kotlin O.O).
As of now this is just a port without any features added so everything said below is not my work; I only made it function on the latest Minecraft versions.
This mod is best way to integrate a calculator into Minecraft (at least I think that). You can just type your expression like 2^8 into the chat and it will display the result in a little tooltip above and replace the expression when you press tab.
You can of course do much more complex calculations like for example
arccos((1*4+2*5+3*6)/(sqrt(1^2+2^2+3^2)*sqrt(4^2+5^2+6^2))).
The mod also supports functions and constants.
You can define them via <name>=<value>, <name>(x)=<function> (with parameters separated by semicolons), remove them if leaving the value/function side empty and see the active ones using the constants? and functions? keywords.
Builtin functions/constants
Functions:- sqrt
- cbrt
- sin
- cos
- tan
- csc
- sec
- cot
- arcsin
- asin
- arccos
- acos
- arctan
- atan
- arccsc
- acsc
- arcsec
- asec
- arccot
- acot
- floor
- ceil
- round
- abs
- log
- ln
- exp
- sgn
- min
- max
- gcf
- lcm
- clamp
- cmp
Constants:
- random
- rand
- rad
- deg
- yaw
- pitch
- pi
- tau
- e
- phi
- x
- y
- z
You can also configure the mod with a few options in the chat. Type ? and press tab to see the available options. To get the description of an option, type <option>? and to set it <option>=<value> and press tab afterwards.


