Maths
Adds some mathematical functions to minecraft
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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
Screenshots
Gallery
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.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Aug 21, 2026 4:31 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Aug 21, 2026 4:31 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works