Maths
🟠 Updated over a year agoPreview

🔍 Analysis
- 👍 0.1% endorsement rate
- 🏆 #1812 of 2025 datapack mods in this game by downloads
📋 About This Mod
## What is this? Thsi datapack adds some mathematical functions to minecraft that are useful for commands. They have applications such as distance formulas and getting the side lengths of triangles. ## How do they work? ### Sin and Cos This perfroms both the sin and cos functions on any angle that is in degrees at once. It provides up to 3 decimal places of precision. `/function math:sin_cos {angle:30}` This will output both the sin and cos to the scoreboard math.cos_sin under the cos and sin players. To use this you will need to divide the result by 1000. ### Square Root This performs a square root operation on any integer, with up to 2 decimal places of precision. The actual function returns the nearest integer and the result with decimals is put into the `math:temp sqrt.output_decimal` storage. `/function math:sqrt {number:16}` this will output the square root of 16. ### Factorial Takes the factrorial of any number and returns it. `/function math:factorial {number:10}` will take the factorial of 10. ### Power Gets any number raised to any positive integer power. `/function math:power {number:2, power:3}` will rasie 2 to the power of 3
## What is this?
Thsi datapack adds some mathematical functions to minecraft that are useful for commands. They have applications such as distance formulas and getting the side lengths of triangles.
## How do they work? ### Sin and Cos
This perfroms both the sin and cos functions on any angle that is in degrees at once. It provides up to 3 decimal places of precision. `/function math:sin_cos {angle:30}` This will output both the sin and cos to the scoreboard math.cos_sin under the cos and sin players. To use this you will need to divide the result by 1000.
### Square Root
This performs a square root operation on any integer, with up to 2 decimal places of precision. The actual function returns the nearest integer and the result with decimals is put into the `math:temp sqrt.output_decimal` storage. `/function math:sqrt {number:16}` this will output the square root of 16.
### Factorial
Takes the factrorial of any number and returns it. `/function math:factorial {number:10}` will take the factorial of 10.
Gets any number raised to any positive integer power. `/function math:power {number:2, power:3}` will rasie 2 to the power of 3
📊 Mod Details
- Game
- Minecraft Data Packs
- Author
- SmoothTurtle872
- Version
- 1.0.0
- Downloads
- 828
- Endorsements
- 1
- Category
- datapack
- Created
- 4/20/2025
- Updated
- 4/18/2025
- Game Versions
- 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
- Tags
- library
🔧 How to Install Minecraft Data Packs Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Data Packs →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Data Packs commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Data Packs versions does Maths support?
The author lists 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5. Other versions may work but are untested by the author.
What is the latest version of Maths?
Version 1.0.0, published 2025-04-18 with 828 downloads recorded at the source.
Keep browsing — more Minecraft Data Packs mods await