ChatUtils
ChatUtils is a client-side Minecraft modification that extends chat functionality by adding convenient commands for various calculations directly within the game.
Core Features
The mod's main highlight is an advanced calculator accessible through the /calc command, which supports:
- Basic arithmetic operations: addition, subtraction, multiplication, division, and exponentiation
- Operation priority using parentheses
- Work with variables and the ability to save the result of the previous calculation in a separate variable
- Standard mathematical functions
Available Commands
Standard Calculations
/calc <expression> — calculates the specified mathematical expression.
Example: /calc (3+pi) </em> sin(3)*
Variable Management
/calc add <variable_name> <value> — creates a custom variable with the specified value.
Example: /calc add x 5 sets the value of variable "x" to 5
/calc clear — clears all created variables from memory.
Game-related Calculations
/calc dist <x> <y> <z> — calculates the distance from the player's current position to the specified coordinates.
/calc asstacks <quantity> — converts the number of items into corresponding stacks with a remainder.
Installation Requirements
For the mod to function properly, you'll need:
- Fabric Loader
- Fabric API
- Fabric Language Kotlin
- Cotton Client Commands