promotional bannermobile promotional banner

StackCalc

In-game calculator that instantly breaks any number down into shulker boxes, stacks and leftover items. Expression parser with unit suffixes like 5s or 2h, live colored results and a /stack command. Client side only, works on any server.
Back to Files

stackcalc-1.1.0.jar

File namestackcalc-1.1.0.jar
Uploader
hashdevhashdev
Uploaded
Sep 6, 2026
Downloads
7
Size
19.6 KB
Mod Loaders
Fabric
File ID
8823910
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:stackcalc-1684881:8823910"

Learn more about Curse Maven

What's new

Changelog

All notable changes to this project are documented here. This project follows Semantic Versioning.

1.1.0

First public release, for Minecraft 26.2 on Fabric.

Calculator

  • In-game calculator screen, opened with the = key (rebindable under Options, Controls).
  • Expression parser supporting + - * / % ^, parentheses, unary minus and implicit multiplication such as 2(3+4).
  • Unit suffixes: s / st / stack (64), h / sh / shulker (1728), c / chest (1728), dc (3456), k (1000), mi / mil (1000000).
  • Live breakdown into shulker boxes, stacks and leftover items, updated as you type.
  • Stack size toggle cycling between 64, 16 and 1 for items that do not stack fully.
  • Press Enter to copy the result to the clipboard.

Interface

  • Syntax highlighting in the input field: numbers, operators, parentheses and suffixes each have their own color, invalid characters turn red.
  • Color coded breakdown, one color per unit.
  • Parse errors are shown inline instead of failing silently.

Commands

  • /stack <amount> [perstack] breaks a plain number down in chat.
  • /stack calc <expression> evaluates an expression in chat.
  • Both run entirely on the client, so they work on any server.

Other

  • Client side only, nothing to install on the server.
  • Fully translatable, shipping with English and Italian.

Requirements

  • Minecraft 26.2
  • Fabric Loader 0.19.3 or newer
  • Fabric API 0.159.0+26.2 or newer
  • Java 25