{"id":38688,"date":"2026-06-01T23:04:52","date_gmt":"2026-06-01T20:04:52","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/"},"modified":"2026-06-01T23:04:52","modified_gmt":"2026-06-01T20:04:52","slug":"chat-calc","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/","title":{"rendered":"Chat Calc"},"content":{"rendered":"<p>Note: This is a complete revamp of the mod ChatCalc by Kokeria, which is most likely abandoned. This mod features almost everything you&#8217;d need in a calculator, and if you want something to be added, just ask!<\/p>\n<p>Firstly, I should clarify how you use ChatCalc, simply type an expression into chat, and it&#8217;ll show the answer above. If you need to get the answer in text, just press tab. If you need the answer and the expression, type an equals sign and press tab.<\/p>\n<p>![Tooltip example](https:\/\/cdn.modrinth.com\/data\/a7X986Fs\/images\/a67de4c6459328c423945596359b25d16120a662.png)<br \/>\n![More complicated tooltipm example](https:\/\/cdn.modrinth.com\/data\/a7X986Fs\/images\/7f9c4d56fca113b22989b6874f69c1c7d97bb23b.png)<br \/>\n![Lots of functions](https:\/\/cdn.modrinth.com\/data\/a7X986Fs\/images\/77283fb94a69212d57ed15623b4d9697b5c654ec.png)<br \/>\n![Unfinished parenthesis](https:\/\/cdn.modrinth.com\/data\/a7X986Fs\/images\/aa5a0f67f9603344707daa977702977a7793e324.png)<\/p>\n<p>`1+2` (will make a tooltip showing `=3` above)<br \/>\n`1+2` \u2192 TAB \u2192 `3`<br \/>\n`1+2=` \u2192 TAB \u2192 `1+2=3`<\/p>\n<p>(Do note that ChatCalc evaluates the block of text that your cursor is in [separated by spaces], this means that you can type one thing beside another and ChatCalc will work completely fine [as long as there are some spaces in between])<\/p>\n<p>ChatCalc also lets you define your own functions and constants, for example:<br \/>\n`f(z)=2z-1` \u2192 TAB \u2192 ` ` (empty to give feedback that it&#8217;s defined that function)<br \/>\n`f(4)` \u2192 TAB \u2192 `7`<\/p>\n<p>`c=sqrt(2)\/2` \u2192 TAB \u2192 ` ` (empty to give feedback that it&#8217;s defined that constant)<br \/>\n`arcsin(c)` \u2192 TAB \u2192 `45`<\/p>\n<p>You can also remove functions and constants like this:<br \/>\n`f(z)=` \u2192 TAB \u2192 ` ` (empty to give feedback that it&#8217;s removed that function)<br \/>\n`c=` \u2192 TAB \u2192 ` ` (empty to give feedback that it&#8217;s removed that constant)<\/p>\n<p>Functions can support as many parameters as you want, each separated by a semicolon (they cannot use a comma due to commas being permitted in constants, i.e. `1,000*2` \u2192 TAB \u2192 `2,000`)<\/p>\n<p>Here&#8217;s an example function that can do some very complex behavior:<br \/>\n`angle(a;b)=round((((arctan((b-(z-0.5))\/(a-(x-0.5)))+90+(min(1;cmp(a;(x-0.5))+1)*180)+180)%360)-180)*10)\/10` (credit to thecolonel63)<br \/>\nThis function takes in the x and y coordinates of a block and tells you the yaw to put your camera at to walk toward that block.<\/p>\n<p>You can view the list of defined functions and constants by typing `functions?` or `constants?` into chat and pressing TAB.<\/p>\n<p>ChatCalc features several config settings, each configurable by typing in the chat window; for example:<br \/>\n`radians` \u2192 TAB \u2192 `false` (by default)<br \/>\n`radians=` \u2192 TAB \u2192 `radians=false` (by default)<br \/>\n`radians=true` \u2192 TAB ` ` (empty to give feedback that the value is set)<br \/>\nTo change the format that values are outputted in, you can change the `decimal_format`; for example:<br \/>\n`decimal_format` \u2192 TAB \u2192 `#,##0.##` (by default)<br \/>\n`decimal_format=#0.##` \u2192 TAB \u2192 ` ` (to remove commas)<br \/>\n`decimal_format=#,###.##` \u2192 TAB \u2192 ` ` (to remove the leading 0 on values like 0.23)<br \/>\n`decimal_format=#,##0.####` \u2192 TAB \u2192 ` ` (to get 4 decimal places of accuracy)<br \/>\nBy default, ChatCalc stores previously evaluated expressions in the chat history (`chat_history`). You can set `copy_type` to `none` or `clipboard` to change this to the respective values.<br \/>\nIf you (for whatever reason) want to disable the tooltip showing expressions above, you can change `display_above` to `false`.<\/p>\n<p>Appendix A (function list)<br \/>\n&#8211; `sqrt`<br \/>\n&#8211; `cbrt`<br \/>\n&#8211; `sin`<br \/>\n&#8211; `cos`<br \/>\n&#8211; `tan`<br \/>\n&#8211; `csc`<br \/>\n&#8211; `sec`<br \/>\n&#8211; `cot`<br \/>\n&#8211; `arcsin`<br \/>\n&#8211; `asin`<br \/>\n&#8211; `arccos`<br \/>\n&#8211; `acos`<br \/>\n&#8211; `arctan`<br \/>\n&#8211; `atan`<br \/>\n&#8211; `arccsc`<br \/>\n&#8211; `acsc`<br \/>\n&#8211; `arcsec`<br \/>\n&#8211; `asec`<br \/>\n&#8211; `arccot`<br \/>\n&#8211; `acot`<br \/>\n&#8211; `floor`<br \/>\n&#8211; `ceil`<br \/>\n&#8211; `round`<br \/>\n&#8211; `abs`<br \/>\n&#8211; `log`<br \/>\n&#8211; `ln`<br \/>\n&#8211; `exp`<br \/>\n&#8211; `sgn`<br \/>\n&#8211; `min`<br \/>\n&#8211; `max`<br \/>\n&#8211; `gcf`<br \/>\n&#8211; `lcm`<br \/>\n&#8211; `clamp`<br \/>\n&#8211; `cmp`<\/p>\n<p>Appendix B (constant list)<br \/>\n&#8211; `random`<br \/>\n&#8211; `rand`<br \/>\n&#8211; `rad`<br \/>\n&#8211; `deg`<br \/>\n&#8211; `yaw`<br \/>\n&#8211; `pitch`<br \/>\n&#8211; `pi`<br \/>\n&#8211; `tau`<br \/>\n&#8211; `e`<br \/>\n&#8211; `phi`<br \/>\n&#8211; `x`<br \/>\n&#8211; `y`<br \/>\n&#8211; `z`<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The *fastest* calculator around; built right into your chat; just type in and you&#8217;ll see your answer!<\/p>\n","protected":false},"featured_media":38689,"template":"","meta":{"_minecraft_slug":"chat-calc","_minecraft_project_id":"a7X986Fs","_minecraft_author":"realrttv","_minecraft_license":"MPL-2.0","_minecraft_downloads":31415,"_minecraft_follows":109,"_minecraft_client_side":"required","_minecraft_server_side":"unsupported","_minecraft_storage_type":"zip","_minecraft_archive_name":"chat-calc.zip","_minecraft_size_bytes":991539,"_minecraft_version_count":19,"_minecraft_updated_at":"2026-05-16T16:24:04.275412Z","_minecraft_date_created":"2022-07-01T17:12:27.143090Z","_minecraft_date_modified":"2023-12-17T18:49:38.827755Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/chat-calc","_minecraft_icon_attachment_id":38689,"_minecraft_imported_at":"2026-06-01T20:04:53+00:00","_minecraft_import_hash":"c95fa60670a616be252fa094052a6e18","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,98,92],"mod_loader":[99,100],"minecraft_version":[54,55,56,57,58,59,36,60,93,726,727,728,729,730,94,718,719,720,721,722,723,724,725],"class_list":["post-38688","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-quilt","mod_category-utility","mod_loader-fabric","mod_loader-quilt","minecraft_version-1-19","minecraft_version-1-19-1","minecraft_version-1-19-2","minecraft_version-1-19-3","minecraft_version-1-19-4","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-3-pre1","minecraft_version-1-20-3-pre2","minecraft_version-1-20-3-pre3","minecraft_version-1-20-3-pre4","minecraft_version-1-20-3-rc1","minecraft_version-1-20-4","minecraft_version-23w40a","minecraft_version-23w41a","minecraft_version-23w42a","minecraft_version-23w43a","minecraft_version-23w43b","minecraft_version-23w44a","minecraft_version-23w45a","minecraft_version-23w46a"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Chat Calc - 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\/chat-calc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chat Calc - Minecraft\" \/>\n<meta property=\"og:description\" content=\"The *fastest* calculator around; built right into your chat; just type in and you&#039;ll see your answer!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/\",\"name\":\"Chat Calc - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chat-calc-icon-0d32e69a6ebb50f7facd7ce6d48948a1dd2d6582.png\",\"datePublished\":\"2026-06-01T20:04:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chat-calc-icon-0d32e69a6ebb50f7facd7ce6d48948a1dd2d6582.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chat-calc-icon-0d32e69a6ebb50f7facd7ce6d48948a1dd2d6582.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-calc\\\/#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\":\"Chat Calc\"}]},{\"@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":"Chat Calc - 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\/chat-calc\/","og_locale":"en_US","og_type":"article","og_title":"Chat Calc - Minecraft","og_description":"The *fastest* calculator around; built right into your chat; just type in and you'll see your answer!","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/","name":"Chat Calc - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chat-calc-icon-0d32e69a6ebb50f7facd7ce6d48948a1dd2d6582.png","datePublished":"2026-06-01T20:04:52+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chat-calc-icon-0d32e69a6ebb50f7facd7ce6d48948a1dd2d6582.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chat-calc-icon-0d32e69a6ebb50f7facd7ce6d48948a1dd2d6582.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-calc\/#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":"Chat Calc"}]},{"@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\/38688","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\/38689"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=38688"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=38688"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=38688"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=38688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}