
Scoreboard Math Datapack
The Math Datapack provides math utility functions. Contains pure scoreboard operations without using entities. Powers the Pool and Billiards Datapack.
I don't know my version or loader
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.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
- Downloads as Math-Datapack-Squid-Workshop-1.21.zip
- Download size: 35 KB
- Download link checked 9 Sept 2026 — working
These come from our own check of the pack file, not from the source page.