Calc

Quick rating

Calc

No reviews yet

A calculator in your chat with shortcuts designed for Minecraft.

No Theme
No Genre
QoL & Tweaks
Client Utility
Mod Loaders
Forge
NeoForge
Fabric
Paper
Quilt
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Either Side

Install on the client or the server — either alone gives full functionality.

Either Side, Better on Both

Works on the client or the server alone, but does more when on both.

Varies by version.

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.3.2+fabric.1.21.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

CalcMod Logogithub modrinth

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

modrinth


/calc craft piston 3 sb
Craft feature example

/calc nether ~ ~ ~
X: -120 Z: 4500 to Nether = X: -15 Z: 563

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)
blockstoingots(72) = 648

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

 

CalcMod Logo GitHub Modrinth CurseForge

Bring the power of calculation to your Minecraft chat with CalcMod! Enjoy features from simple calculations to advanced tools for optimizing gameplay.

/calc 3+(28/8)^2
Basic calculation response
/calc craft piston 3 sb
Craft command response
/calc nether ~ ~ ~
Nether command response

Click any green text to copy it to your clipboard!

🔄 Compatibility

CalcMod supports Fabric, Forge, Quilt, Paper, and NeoForge mod loaders, down to Minecraft version 1.12.

CalcMod can be installed on both the client and server, and also works on clients without requiring servers to have the mod (and vice versa.)

✅ Features:

See a few examples in gallery

🔢 Simple Calculator

An intuitive calculator with some handy variables. To see a list of variables run /calc variables.

Supported Operators
Symbol(s) Syntax Operation
+ a+b Addition
a–b Subtraction
* , × , ∙ a*b Multiplication
/ , : , ÷ a/b Division
^ a^b Exponentiation (power)
! n! Factorial
# a#b Modulo
% x% Percentage
^^ a^^b Tetration
√x Square root
∛x Cube root
∜x Fourth root

CalcMod has some more advanced functions and variables that can be used within expressions in this spreadsheet.

Usage: /calc <expression>

📦 Storage Utils

When given a rate of items per hour (expressions allowed), returns the minimum number of item sorters needed to sort in time.
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> <numberOfItems>
Usage: /calc allaystorage <itemsPerHour>

🛠️ Crafting Utils*

When given an amount of a recipe to craft (expressions allowed), returns all the items required to craft that quantity of the recipe.

(CalcMod 1.3.2+) The optional depth argument specifies how many levels of recursive crafting to perform on the recipe. Default depth is 1.

Usage: /calc craft <item> <amount>
Usage: /calc craft <item> <depth> <amount>

(New!) When the craftinv command is given an item, it returns the maximum number of that item the player can craft using their current inventory (including items in shulker boxes).

Usage: /calc craftinv <item>

(Minecraft 1.21.3+) Due to Minecraft's crafting system updates, CalcMod's craft command can now only use recipes unlocked in the user's recipe book in single player mode.

🌐 Portal Linking Coords

When given a block position, returns the dimension in the command'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

When given an amount of items and a farm run time in seconds (expressions allowed), returns the items per hour of the farm.

Usage: /calc rates <numberOfItems> <seconds>

🎲 Generate Random Number

When 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 Power Level Finder

When given a container and a desired comparator power level (expressions allowed), returns the number of items needed to achieve that power level.

Usage: /calc signaltoitems <container> <powerLevel>

🐷 Piglin Bartering Utils

Calculates the average number of gold ingots needed to barter for a specific quantity of a desired item (togold), or the average number of a desired item received when bartering a specific number of gold ingots (toitem).

Usage: /calc barter togold <numberOfItems> <item>
Usage: /calc barter toitem <amountOfGold> <item>

🧭 Travel Distance Evaluator

When given two block positions, returns the distance between them. If only one position is given, uses player's location. The 3D mode provides distance including height (y coord).

Usage: /calc dist <x1> <y1> <z1>
Usage: /calc dist <x1> <y1> <z1> <x2> <y2> <z2>
Usage: /calc dist 3d <x1> <y1> <z1>
Usage: /calc dist 3d <x1> <y1> <z1> <x2> <y2> <z2>

🧮 Custom Functions

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 its parameters in parentheses functionName(<param1>, ...,<paramN>).

Creating a Function:
Custom functions can have any number of parameters, specified in [square] brackets when adding a function.

⚠️ Using any numbers, special characters, or variables in a parameter may result in a broken function.

e.g. /calc custom add blockstoingots [numBlocks]*9

/calc blockstoingots(72)
Custom function response

Usage: /calc custom add <functionName> <function>
Usage: /calc custom run <functionName> <input>
Usage: /calc <functionName>(<parameters>)
Usage: /calc custom list
Usage: /calc custom remove <functionName>

➡️ Converters:

Shulker Boxes ↔ Items

When given an amount of full shulker boxes (expressions allowed), returns the number of items they contain, or vice versa.

Usage: /calc itemtosb <numberOfItems>
Usage: /calc sbtoitem <numberOfSbs>

Items ↔ Stacks:

When given an amount of stacks (expressions allowed), returns the number of items in those stacks, or vice versa.

Usage: /calc itemtostack <numberOfItems>
Usage: /calc stacktoitem <numberOfStacks>

Seconds → Hopper Clock Items

When given a time in seconds (expressions allowed) returns the number of items to put in a hopper clock to achieve that time.
Uses formula and hopper clock from hoppertimer.net.

Hopper clock

Usage: /calc secondstohopperclock <seconds>

Seconds → Repeater Delay

When given a time in seconds (expressions allowed), returns the number of repeaters and their delays to achieve that time.

Usage: /calc secondstorepeater <seconds>

❎ Variables

Variables can be used inside commands 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 contextualized stack size in each command.

Constant Variables
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

There are some extra less Minecraft specific variables listed in this spreadsheet

Dynamic Variables Dynamic variables change depending on an in-game status. These can be particularly useful inside custom functions.
Name Value
x player x coord
y player y coord
z player z coord
health player health

Supported Operators
Symbol(s) Syntax Operation
+ a+b Addition
a–b Subtraction
* , × , ∙ a*b Multiplication
/ , : , ÷ a/b Division
^ a^b Exponentiation (power)
! n! Factorial
# a#b Modulo
% x% Percentage
^^ a^^b Tetration
√x Square root
∛x Cube root
∜x Fourth root

CalcMod has some more advanced functions and variables that can be used within expressions in this spreadsheet.

Usage: /calc <expression>

📦 Storage Utils

When given a rate of items per hour (expressions allowed), returns the minimum number of item sorters needed to sort in time.
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> <numberOfItems>
Usage: /calc allaystorage <itemsPerHour>

🛠️ Crafting Utils

When given an amount of a recipe to craft (expressions allowed), returns all the items required to craft that quantity of the recipe.

(CalcMod 1.3.2+) The optional depth argument specifies how many levels of recursive crafting to perform on the recipe. Default depth is 1.

(Minecraft 1.21.3+) Due to Minecraft's crafting system updates, CalcMod's craft command can now only use recipes unlocked in the user's recipe book in single player mode.

Usage: /calc craft <item> <amount>
Usage: /calc craft <item> <depth> <amount>

🌐 Portal Linking Coords

When given a block position, returns the dimension in the command'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

When given an amount of items and a farm run time in seconds (expressions allowed), returns the items per hour of the farm.

Usage: /calc rates <numberOfItems> <seconds>

🎲 Generate Random Number

When 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 Power Level Finder

When given a container and a desired comparator power level (expressions allowed), returns the number of items needed to achieve that power level.

Usage: /calc signaltoitems <container> <powerLevel>

🐷 Piglin Bartering Utils

Calculates the average number of gold ingots needed to barter for a specific quantity of a desired item (togold), or the average number of a desired item received when bartering a specific number of gold ingots (toitem).

Usage: /calc barter togold <numberOfItems> <item>
Usage: /calc barter toitem <amountOfGold> <item>

🧭 Travel Distance Evaluator (New!)

When given two block positions, returns the distance between them. If only one position is given, uses player's location. The 3D mode provides distance including height (y coord).

Usage: /calc dist <x1> <y1> <z1>
Usage: /calc dist <x1> <y1> <z1> <x2> <y2> <z2>
Usage: /calc dist 3d <x1> <y1> <z1>
Usage: /calc dist 3d <x1> <y1> <z1> <x2> <y2> <z2>

🧮 Custom Functions

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 its parameters in parentheses functionName(<param1>, ...,<paramN>).

Creating a Function:
Custom functions can have any number of parameters, specified in [square] brackets when adding a function.

⚠️ Using any numbers, special characters, or variables in a parameter may result in a broken function.

e.g. /calc custom add blockstoingots [numBlocks]*9

/calc blockstoingots(72)
Custom function response

Usage: /calc custom add <functionName> <function>
Usage: /calc custom run <functionName> <input>
Usage: /calc <functionName>(<parameters>)
Usage: /calc custom list
Usage: /calc custom remove <functionName>

➡️ Converters:

Shulker Boxes ↔ Items

When given an amount of full shulker boxes (expressions allowed), returns the number of items they contain, or vice versa.

Usage: /calc itemtosb <numberOfItems>
Usage: /calc sbtoitem <numberOfSbs>

Items ↔ Stacks:

When given an amount of stacks (expressions allowed), returns the number of items in those stacks, or vice versa.

Usage: /calc itemtostack <numberOfItems>
Usage: /calc stacktoitem <numberOfStacks>

Seconds → Hopper Clock Items

When given a time in seconds (expressions allowed) returns the number of items to put in a hopper clock to achieve that time.
Uses formula and hopper clock from hoppertimer.net.

Hopper clock

Usage: /calc secondstohopperclock <seconds>

Seconds → Repeater Delay

When given a time in seconds (expressions allowed), returns the number of repeaters and their delays to achieve that time.

Usage: /calc secondstorepeater <seconds>

❎ Variables

Variables can be used inside commands 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 contextualized stack size in each command.

Constant Variables
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

There are some extra less Minecraft specific variables listed in this spreadsheet

Dynamic Variables Dynamic variables change depending on an in-game status. These can be particularly useful inside custom functions.
Name Value
x player x coord
y player y coord
z player z coord
health player health

Screenshots

Gallery

  • Variable Expression
    Variable Expression
  • Storage Command
    Storage Command
  • Nether Coordinate Command
    Nether Coordinate Command
  • Simple Syntax
    Simple Syntax Straightforward syntax for speedy calculations
  • Craft Easier
    Craft Easier Always gather the right amount of items with CalcMod's Craft command
  • Calculate Hopper Clocks
    Calculate Hopper Clocks CalcMod helps with redstone and building farms
  • Link Portals Faster
    Link Portals Faster Calculate between any Overworld and Nether coordinate seamlessly
  • Make Custom Functions
    Make Custom Functions Tailor CalcMod to your use case
  • Barter Better
    Barter Better Use the right amount of gold every time
  • Travel Efficiently
    Travel Efficiently Find the shortest distance to your destination
  • And Much More!
    And Much More! (look at feature list to see everything else you can do!)

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

3m
Total Downloads
CurseForge
~39,000
Modrinth
3m
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works