CurseForge · Minecraft mod
Calc
A calculator in your chat with shortcuts designed for Minecraft.
Quick answer
Which Calc release matches 1.15.2 Forge?
Calc forge-1.15.2-1.3.0 targets 1.15-Snapshot, 1.15, 1.15.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Calc required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Calc forge-1.15.2-1.3.0 need?
forge-1.15.2-1.3.0 on 1.15.2 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Calc without breaking your instance.
Built for Calc forge-1.15.2-1.3.0 on 1.15.2 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use forge-1.15.2-1.3.0. It targets 1.15-Snapshot, 1.15, 1.15.2 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside forge-1.15.2-1.3.0. It opens that exact file at the source.
About this project
What does Calc add?
Bring the power of calculation to your Minecraft chat with CalcMod! Discover a wide range of features designed for both casual and hardcore players, from basic calculations to advanced utilities for optimizing your gameplay.
CalcMod is more frequently updated on Modrinth
/calc craft piston 3 sb
/calc nether ~ ~ ~![]()
Click any green text to copy it to your clipboard!
Features:
🟢 Basic Calculator
Functions like a simple calculator with some handy variables. To see a list of variables run /calc variables.
Usage: /calc {expression}
📦 Storage Utils
Calculates the number of needed item sorters given a rate of items per hour (can be in expression form). Additional input for multiple times hopper speed sorters, and a separate command for Allay based non stackable sorters.
Usage: /calc storage {itemsperhour}
Usage: /calc storage {timesHopperSpeed} {itemsperhour}
Usage: /calc allaystorage {itemsperhour}
🛠️ Crafting Utils
Given a desired item and the quantity to be crafted, returns the amounts of the items needed to craft the amount of the desired item.
Usage: /calc craft {item} {amount}
🌐 Portal Coords
Given a block position returns the other dimension's corresponding coordinates. If no coordinates are given, command assumes current player position.
Usage: /calc nether {x} {y} {z}
Usage: /calc overworld {x} {y} {z}
🌾 Farm Rates Calculator
Given a number of items and afk time in seconds (can be in expression form), returns the number of items per hour.
Usage: /calc rates {numberofitems} {time(seconds)}
🎲 Generate Random Number
Given a maximum and/or minimum value, returns a random number between those values (inclusive). If just a maximum value is entered, picks a random number from 0 to the max value (inclusive).
Usage:/calc random {max}
Usage: /calc random minmax {min} {max}
💪 Comparator Strength Calculator
Given a container and a desired comparator signal strength, returns the number of items needed to achieve that signal strength.
Usage: /calc signaltoitems {container} {signalstrength}
🐷 Piglin Bartering Utils (New)
Calculates the average amount of gold ingots to barter to get a number of a desired item (togold), or the average amount of an item that will be recieved when bartering a number of gold ingots (toitem).
Usage: /calc barter togold {numberofitems} {item}
Usage: /calc barter toitem {amountofgold} {item}
🧮 Custom Functions (New)
Custom functions are reusable commands that perform a specific computation. Custom functions can be run in any number field formatted with the function name and the parameters in perenthases customfunction(param1, paramN).
Custom functions can have any number of parameters, specified in [square] brackets when adding a function.
Create your function:/calc custom add blockstoingots [num-blocks]*9
/calc blockstoingots(72)![]()
Usage: /calc custom add {name} {function}
Usage: /calc custom run {name} {input}
Usage: /calc {name}({parameters})
Usage: /calc custom list
Usage: /calc custom remove {name}
➡️ Converters:
Shulker Boxes ↔ Items
Given a number of full Shulker Boxes (can be in expression form), returns the number of items, or vice versa.
Usage: /calc itemtosb {numberofitems}
Usage: /calc sbtoitem {numberofsbs}
Items ↔ Stacks:
Given a number of items (can be in expression form), returns the number of stacks and remainder items, or vice versa.
Usage: /calc itemtostack {numberofitems}
Usage: /calc stacktoitem {numberofstacks}
Seconds → Hopper Clock Items
Given a number of seconds (can be in expression form), returns the number of items needed in a hopper clock to achieve that time.
Usage: /calc secondstohopperclock {seconds}
Seconds → Repeater Delay
Given a number of seconds (can be in expression form), returns the number of repeaters and their delay.
Usage: /calc secondstorepeater {seconds}
Aside from the Minecrafty functions, CalcMod also features a gratuitous amount of more advanced functions and variables linked in a spreadsheet here (in case you need to calculate an inverse hyperbolic cotangent to play Minecraft).
❎ Variables
Variables can be used inside equations in any number field. They act as shortcuts instead of having to remember that "a double chest full of 16 stackable items is 864." If no stack size is given, variables default to the stack size in each command.
Constant Variables:
Constant variables represent an unchanging number.
Name: Value
dub: 3456 (default)
dub64: 3456
dub16: 864
dub1: 54
sb: 1728 (default)
sb64: 1728
sb16: 432
sb1: 27
stack: 64 (default)
stack64: 64
stack16: 16
stack1: 1
min: 60
h: 3600
Dynamic Variables:
Dynamic variables change depending on an in-game status. These are particularly useful inside custom functions.
Name: Value
x: Player x coord
y: Player y coord
z: Player z coord
health: Player health
Project description from CurseForge.
Pick your setup
Calc by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21
1 loader build1.20.4
2 loader builds1.20.3
2 loader builds1.20.2-Snapshot
3 loader builds1.20.2
3 loader builds1.20.1
3 loader builds1.20-Snapshot
3 loader builds1.20
3 loader builds1.19.4-Snapshot
2 loader builds1.19.4
2 loader builds1.19.3-Snapshot
2 loader buildsShowing the newest 12 of 46 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Calc versions and loaders
forge-1.15.2-1.3.0
calcmod-forge-1.15.2-1.3.0.jar
23 Sept 2023
Looking for an older file? The official CurseForge project page is in Resources.
