Math Project

An API for datapacks that allows you use math equations like Sen, Cos & Tan

16

Math Project

Math Project

This datapack adds new features and function that allows the creators/datapackers to use a more complex operations for scores

the actual operations able to use with his parameters are: - Sin(x) -----------------> {angle: } - Cos(x) -----------------> {angle: } - Tan(x) -----------------> {angle: } - Factorial --------------> {notation: } - Potency ----------------> {base: ,exponent: } - Square Root ------------> {sqr: ,root: } - Circle area ------------> {radius: } - Circumference ----------> {radius: } - Pythagoras Theorem -----> {inputA: , inputB: }

all the results are saved in storages

an example of a function ``` function math:trigonometry/sen_ {angle:87} ``` This wil be saved in the storage math:trigonometry_ sen

ADS