跳到正文

Math Project

作者:Eslayfer9796

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Math Project 支持哪些 Minecraft 版本?

Math Project 支持 Minecraft Java 版 1.21.10–1.21.11,共 2 个版本。下载时注意选择和你游戏版本一致的文件。

Math Project 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Eslayfer9796 的其他作品

查看全部 →