Scoreboard Math Datapack
The Math Datapack provides math utility functions. Contains pure scoreboard operations without using entities. Powers the Pool and Billiards Datapack.
截图
介绍
Math-Minecraft-Squid-Workshop-Project
Minecraft math helper by Mingshi Yang (YMS2001) – Squid Workshop. \
Minecraft Java Edition 1.13+ is supported (versions before 1.16 were just briefly tested).
You may need to edit pack.mcmeta to remove the compatibility warning. \
The datapack content is identical across supported versions, so modifying this single file is easier than maintaining multiple nearly identical copies. Please refer to the Pack Format documentation and adjust the pack.mcmeta file according to your Minecraft version.
Introduction
This datapack provide fast, high precision math operation functions using Scoreboard.
- Constants are stored under objective swMath_C. Feel free to define more in this file.
- Variables, including inputs and outputs, are stored under objective swMath_V.
- “sw” means Squid Workshop.
- For high precision computation, the input and output may have units of 0.0001. i.e., the score 10000 is used to represent 1, utilizing 4 digits. Actual error in computation is usually on magnitude of 0.01%. One visualization of different magnitudes of error is here. See example for implementation detail.
- _No entities_ involved in calculations, avoiding entity selection ensures high throughout performance, compatibility and easy maintenance.
Additional Info
Users can find the source code, user guide and more details here.
常见问题
Scoreboard Math Datapack 支持哪些 Minecraft 版本?
Scoreboard Math Datapack 支持 Minecraft Java 版 1.13–1.21.11,共 46 个版本。下载时注意选择和你游戏版本一致的文件。
Scoreboard Math Datapack 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
YMS2001 的其他作品
查看全部 →
Pool and Billiards
记得安装资源包!Remember to install the resource pack! One of the most advanced open-source pool and billiards games for Minecraft Java Edition, featuring realistic physics, snooker, eight-ball, nine-ball, multiplayer, and AI opponents.
Pool and Billiards Resourcepack
For Pool and Billiards Datapack. Please match the minor version series, e.g. v1.3.x resourcepack with v1.3.x datapack. 请匹配相同子版本系列,例如 v1.3.x 资源包搭配 v1.3.x 数据包。
Pool and Billiards
Immersive, fully playable single and multiplayer pool games built entirely in Vanilla Minecraft.
Scoreboard Math
The Math Datapack provides math utility functions. Contains pure scoreboard operations without using entities. Powers the Pool and Billiards Datapack.
评论
登录后评论和评分