All Mods Resource Packs Data Packs Shaders Modpacks Plugins
ChatCalc

ChatCalc

by Smallinger • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

ChatCalc (NeoForge Port)

Perform **mathematical calculations directly in chat** – no commands or external tools needed. Supports custom functions, constants, and real-time evaluation.

demo

✨ Features

  • 💬 Calculate directly in chat (press TAB to evaluate)
  • 🔢 Live result preview above chat
  • ⚙️ Custom functions & constants
  • 🧮 Supports + - * / ^ %, trigonometry, logs, sqrt, and more
  • 🚀 Client-side only – works everywhere

💡 Usage

Type:

2+2 → TAB → 4

sin(pi/2) → TAB → 1

myFunc(x;y)=x^2+y^2

myFunc(3;4) → TAB → 25

🧾 License

Licensed under MPL-2.0
Original Fabric Mod by RealRTTV
NeoForge Port by Smallinger

🔗 More Info

GitHub Repository

How to Install ChatCalc (Mod)

ChatCalc by Smallinger is verified for Neoforge across Minecraft versions 1.21.1, 1.21.10 (latest release: 1.0.0, file size: 88 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.1, 1.21.10) and platform (Neoforge).
  2. Make sure you have the compatible loader or environment installed for Neoforge.
  3. Move the downloaded ChatCalc file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
last yr. 1
1.21.10
Neoforge
last yr. 1
[1.0.0] ChatCalc 1.0.0 - 1.21.1 by Smallinger on Nov 12, 2025
Download
Backport of ChatCalc to NeoForge / Minecraft 1.21.1.

  • Supported Minecraft: 1.21.1 only.
  • Key fixes:
  • Mixin input-signature backport (avoids KeyEvent).
  • Click/Hover event compatibility restored for older mappings.
  • Tooltip fallback for EditBox (Reflection-based).
  • Built and dev-client tested on NeoForge 21.1.215.
## [1.0.0] - 2025-11-10

### Added - Initial NeoForge Port
  • Complete port of ChatCalc from Fabric 1.20.2 to NeoForge 1.21.10
  • All mathematical calculation features from original mod
  • In-chat calculations with TAB key
  • Live preview tooltip above chat input
  • Custom function and constant definitions
  • Click-to-copy functionality for functions and constants
  • Hover tooltips on function/constant listings
  • Configuration file support (chatcal.json)
  • All mathematical operations: basic arithmetic, trigonometry, logarithms, etc.
  • Summation and product operators
  • Test cases command for verification

### Changed - API Adaptations
  • Updated from Fabric API to NeoForge API
  • Changed package structure from ca.rttv.chatcalc to de.smallinger.chatcal
  • Updated Mixin injections for Minecraft 1.21.10
  • Adapted key event handling from primitive parameters to KeyEvent objects
  • Changed chat message API from sendSystemMessage to displayClientMessage
  • Updated ClickEvent and HoverEvent to use new interface-based implementations
  • Changed tooltip rendering from drawTooltip to setTooltipForNextFrame
  • Updated EditBox rendering from renderButton to renderWidget

### Technical Details
  • Minecraft Version**: 1.21.10
  • NeoForge Version**: 21.10.49-beta
  • Java Version**: 21
  • Gradle Version**: 9.2.0
  • Mappings**: Parchment 2025.10.12

### Documentation
  • Added comprehensive README.md with usage instructions
  • Created DEVELOPMENT.md with porting notes and API changes
  • Added NOTICE.md with copyright and attribution information
  • Added MPL 2.0 license headers to all source files
  • Added this CHANGELOG.md

### Credits
  • Original ChatCalc Mod by RealRTTV
  • NeoForge Port by Smallinger

## [Unreleased]

### Planned Features
  • Configuration GUI
  • Additional mathematical functions
  • Localization support for multiple languages
  • Performance optimizations for complex expressions


## Version History

### Fabric Original (Reference)

### NeoForge Port
  • First Release**: 1.0.0 (2025-11-10)
  • Platform**: NeoForge
  • Minecraft**: 1.21.10
ChatCalc Icon
Download ChatCalc
Select game version
Select platform