Mathematical calculation commands
⚪ Last updated 2022⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview
🔍 Analysis
- 🏆 #19 of 876 fabric mods in this game by downloads
📋 About This Mod
# Minecraft Math Lib A mod that provides some math functions that can be used in-game more easily. (suitable for datapack makers) # Futures ## Commands ### Math Usage: `/math <name1> <objective1> <operation> <name2> <objective2>` perform operations. The following operations are currently supported: - Plus (`+`) - Minus (`-`) - Multiplication (`"*"`) - Division (`"/"`) - Max (`max`) - Min (`min`) - Average (`middle`) - `=cos` / `=sin` / `=tan` / `=sqrt` Please note: these will change the value of the first provided scoreboard - Mod (`"%"`) - Power (`"^"`) The output result will be output in the chat bar. If the value of the scoreboard has not been modified, you can store it with execute store result. If the value is modified this value will remain constant. **Note that all operations are rounded up, as the Minecraft scoreboard doesn't support decimals!** ### Random Usage: `/random <min> <max>` or `/random <min_name> <min_objective> <max_name> <max_objective>` Get a random integer between the minimum and maximum values. # Support Languages - English - Simplified Chinese **Translations are welcome: https://github.com/wifi-left/Minecraft-Math-Lib/tree/master/src/main/resources/assets/mathlib/lang**
# Minecraft Math Lib
A mod that provides some math functions that can be used in-game more easily. (suitable for datapack makers)
## Commands
`/math
- Plus (`+`)
- - Minus (`-`)
- - Multiplication (`""`)
- - Division (`"/"`)
- - Max (`max`)
- - Min (`min`)
- - Average (`middle`)
- - `=cos` / `=sin` / `=tan` / `=sqrt`
- Please note: these will change the value of the first provided scoreboard
- - Mod (`"%"`)
- - Power (`"^"`)
The output result will be output in the chat bar. If the value of the scoreboard has not been modified, you can store it with execute store result. If the value is modified this value will remain constant. Note that all operations are rounded up, as the Minecraft scoreboard doesn't support decimals!
`/random
Get a random integer between the minimum and maximum values. # Support Languages - English - Simplified Chinese
*Translations are welcome: https://github.com/wifi-left/Minecraft-Math-Lib/tree/master/src/main/resources/assets/mathlib/lang**
📊 Mod Details
- Game
- Minecraft Mods
- Author
- wifi-left
- Version
- 1.0.1
- Downloads
- 373
- Endorsements
- 3
- Category
- fabric
- Created
- 8/21/2022
- Updated
- 8/23/2022
- Game Versions
- 1.19, 1.19.1, 1.19.2
- Tags
- utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Mathematical calculation commands support?
The author lists 1.19, 1.19.1, 1.19.2. Other versions may work but are untested by the author.
What is the latest version of Mathematical calculation commands?
Version 1.0.1, published 2022-08-23 with 373 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await