/math

Quick rating

/math

No reviews yet

Adds mathematical commands for in-game computations

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
math-1.15.2-0.0.2.jar
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Math (/math) adds a simple command to the game that allows the user to do calculations in the chat. The computations range from basic arithmetic to differentiation and integration.

 

Supported commands:

Basic:

add(num1, num2) => Adds two doubles

subtract(num1, num2) => Subtracts two doubles

multiply(num1, num2) => Multiplies two doubles

divide(num1, num2) => Divides two doubles

remainder(num1, num2) => Finds the remainder when num1 is divided by num2

random(min, max) => Generates a random number between min and max

sqrt(num) => Finds the square root of a double

nthRt(num) => Finds the nth root of a double (i.e. 5th root)

pow(num1, num2) => Returns num1 raised to num2

log10(num) => Evaluates log10 of the specified double

ln(num) => Evaluates the natural log of the specified double

exp(num) => Raises num to Euler's number (e)

zeros(a, b, c) => Shows the x-intercepts of a polynomial

Trigonometry:

sin(num) => Returns the trigonometric sin of a radian angle

cos(num) => Returns the trigonometric cosine of a radian angle

tan(num) => Returns the trigonometric tangent of a radian angle

asin(num) => Returns the arc sin of a double in radians

acos(num) => Returns the arc cosine of a double in radians

atan(num) => Returns the arc tangent of a double in radians

sind(num) => Returns the trigonometric sin of an angle in degrees

cosd(num) => Returns the trigonometric cosine of an angle in degrees

tand(num) => Returns the trigonometric tangent of an angle in degrees

asind(num) => Returns the arc sin of a double in degrees

acosd(num) => Returns the arc cosine of a double in degrees

atand(num) => Returns the arc tangent of a double in degrees

Calculus:

derive(coeff, var, pow) => Returns the derivative of a term

integrate(coeff, var, pow) => Returns the integral of a term

Vectors in 2D and 3D:

addVector3d(x1, y1, z1, x2, y2, z2) => Adds two 3D vectors

subtractVector3d(x1, y1, z1, x2, y2, z2) => Subtracts two 3D vectors

dotProduct3d(x1, y1, z1, x2, y2, z2) => Finds the dot product of two 3D vectors

crossProduct3d(x1, y1, z1, x2, y2, z2) => Finds the cross product of two 3D vectors

lengthVector3d(x, y, z) => Returns the length of a 3D vector

addVector2d(x1, y1, x2, y2) => Adds two 2D vectors

subtractVector2d(x1, y1, x2, y2) => Subtracts two 2D vectors

dotProduct2d(x1, y1, x2, y2) => Finds the dot product of two 2D vectors

crossProduct2d(x1, y1, x2, y2) => Finds the cross product of two 2D vectors

lengthVector2d(x, y) => Returns the length of a 2D vector

distance3d(x1, y1, z1, x2, y2, z2) => Returns the distance between two 3D coordinates

distance2d(x1, y1, x2, y2) => Returns the distance between two 2D coordinates

 

Important note: Minecraft's coordinate system uses a typical coordinate system seen in 3D graphics where the y-axis represents the vertical height. In mathematics, it is common for the z-axis to be used instead to represent the vertical dimension.

 




Screenshots

Gallery

  • Example integration equation
    Example integration equation

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.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works