{"id":98716,"date":"2026-06-05T19:05:13","date_gmt":"2026-06-05T16:05:13","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/"},"modified":"2026-06-05T19:05:13","modified_gmt":"2026-06-05T16:05:13","slug":"maths","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/","title":{"rendered":"Maths"},"content":{"rendered":"<p>## What is this?<\/p>\n<p>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.<\/p>\n<p>## How do they work?<br \/>\n### Sin and Cos<\/p>\n<p>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.<\/p>\n<p>### Square Root<\/p>\n<p>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.<\/p>\n<p>### Factorial<\/p>\n<p>Takes the factrorial of any number and returns it. `\/function math:factorial {number:10}` will take the factorial of 10.<\/p>\n<p>### Power<\/p>\n<p>Gets any number raised to any positive integer power. `\/function math:power {number:2, power:3}` will rasie 2 to the power of 3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adds some mathematical functions to minecraft<\/p>\n","protected":false},"featured_media":98717,"template":"","meta":{"_minecraft_slug":"maths","_minecraft_project_id":"UQydhyAO","_minecraft_author":"SmoothTurtle872","_minecraft_license":"LicenseRef-Unlicense","_minecraft_downloads":430,"_minecraft_follows":1,"_minecraft_client_side":"optional","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"maths.zip","_minecraft_size_bytes":2895,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-15T18:53:19.061134Z","_minecraft_date_created":"2025-04-20T04:07:20.495380Z","_minecraft_date_modified":"2025-04-18T03:20:13.073539Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/maths","_minecraft_icon_attachment_id":98717,"_minecraft_imported_at":"2026-06-05T16:05:14+00:00","_minecraft_import_hash":"019659e40169e4b7b24e4470f0d3b9f6","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[84,873,92],"mod_loader":[86],"minecraft_version":[62,37,73,74,38,78],"class_list":["post-98716","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-datapack","mod_category-library","mod_category-utility","mod_loader-datapack","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Maths - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/maths\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Maths - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Adds some mathematical functions to minecraft\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/maths\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/\",\"name\":\"Maths - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/maths-icon-31950a478d30667726973afbdec971c9be4613e1_96.webp\",\"datePublished\":\"2026-06-05T16:05:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/maths-icon-31950a478d30667726973afbdec971c9be4613e1_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/maths-icon-31950a478d30667726973afbdec971c9be4613e1_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/maths\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Maths\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Maths - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/","og_locale":"en_US","og_type":"article","og_title":"Maths - Minecraft","og_description":"Adds some mathematical functions to minecraft","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/","name":"Maths - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/maths-icon-31950a478d30667726973afbdec971c9be4613e1_96.webp","datePublished":"2026-06-05T16:05:13+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/maths\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/maths-icon-31950a478d30667726973afbdec971c9be4613e1_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/maths-icon-31950a478d30667726973afbdec971c9be4613e1_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/maths\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Maths"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/98716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/98717"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=98716"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=98716"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=98716"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=98716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}