Data Packs Tool

Math Project

  • Functions
  • 284 views • 1 today
  • 2 downloads • 0 today
  • 4
  • 1
Eslayfer9796
Level 26 : Expert Dragonborn Dragon
6
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
CompatibilityMinecraft 1.21
Tags

  Have something to say?

Welcome