
CC: Advanced Math
A datapack adding advanced mathematical libraries to CC: Tweaked!
Автор: TechTastic1,2 тыс.3обновлён 16 мая 2026 г.
ПроклятыеБиблиотекиУтилиты
Описание
This datapack adds multiple advanced mathematical libraries including:
- Quaternions
- Allows you to create, manipulate, and utilze Quaternions!
- Matrices
- Allows you to create, manipulate nad utilize Matrices!
- PID Controllers
- Allows you to create and utilize Scalar, Vector, and Quaternion PID controllers!
- Linear Algebra Solvers
- Provides multiple methods for solving systems of equations, integrals, etc
- Statistical Analysis
- Provides multiple methods for statistical analysis
The in-game help pages are provided for Quaternions and Matrices!
Последние версии
Все версии →release
Advanced Math Library 0.3.7
0.3.716 мая 2026 г.367Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.7
- Fixed various `stat.lua` issues including formatting issues and bad `expect` calls
release
Advanced Math Library 0.3.6
0.3.613 мая 2026 г.44Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.6
- Fixed [Issue #4](https://github.com/TechTastic/Advanced-Math/issues/4)
- Conflicting `metatable` locals in `pid` module
- Fixed `self.integral = max` (`self.integral_max = max`)
- Big thanks to GameSpender for [their PR](https://github.com/TechTastic/Advanced-Math/pull/5)!
release
Advanced Math Library 0.3.5
0.3.58 мая 2026 г.84Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.5
- Fixing logic error in `matrix.fromVector`
- Fixing error regarding `pid:clampOutput` and `pid:limitIntegral` scope
release
Advanced Math Library v0.3.5
v0.3.58 мая 2026 г.27Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.5
- Fixing logic error in `matrix.fromVector`
- Fixing error regarding `pid:clampOutput` and `pid:limitIntegral` scope
release
Advanced Math Library 0.3.4
0.3.430 янв. 2026 г.222Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.4
- Fixing error in `quaternion.tostring`
release
Advanced Math Library 0.3.3
0.3.330 янв. 2026 г.24Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.3
- Fixing silly negated equality issue in `quaternion`
release
Advanced Math Library 0.3.2
0.3.230 янв. 2026 г.24Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.2
- More internal refactoring for checking metatables
release
Advanced Math Library 0.3.1
0.3.130 янв. 2026 г.27Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.1
- Internal refactoring for checking metatables
release
Advanced Math Library 0.3.0
0.3.030 янв. 2026 г.31Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.3.0
- Added `stats.lua` made and provided by **sans.9536** and modified by me
release
Advanced Math Library 0.2.0
0.2.028 нояб. 2025 г.39Minecraft: 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4datapack
Что нового
# Changelog - 0.2.0
- Added CCSharp-compatible C# implementations of Matrix and Quaternion
- Added `mmath.lua` made and provided by **sans.9536**
- Documented `mmmath.lua` and added error checking
- Moved `pid.lua` to the `AdvancedMath` subfolder
- Added and refactored multipl;e methods in `matrix.lua`
- Added `solve` for solving Systems of Equations via Matrices
- Refactored `add` to use a different matrix constructor
- Refactored `mul` to use a different matrix constructor
- Refactored `unm` to use multiplication for negation
- Refactored `pow` to use `identity` for when `n == 0`
- Refactored `minor` to use a different matrix constructor
- Refactored `transpose` to use a different matrix constructor
- Refactored `cofactor` to use a different matrix constructor
- Refactored `forbenius_norm` to `forbeniusNorm`
- Refactored `max_norm` to `maxNorm`
- Refactored `hadamard_product` to `hadamardProduct` and to use a different matrix constructor
- Refactored `elementwise_div` to `elementwiseDiv` and to use a different matrix constructor
- Refactored `is_symmetric` to `isSymmetric` and to use a different testing method
- Refactored `is_diagonal` to `isDiagonal`
- Refactored `is_identity` to `isIdentity` and to use a different testing method
- Added `luDecomposition`
- Added `flatten`
- Added `reshape`
- Added `submatrix`
- Added `vstack`
- Added `hstack`
- Added `oneNorm`
- Added `twoNorm`
- Added `infinityNorm`
- Added `conditionNumber`