DPlibСкачатьСкачатьСкачатьСкачать
ВЕРСИИ (4)
release
DPlib v1.2.1
v1.2.119 мая 2023 г.155Minecraft: 1.19.4datapack
Что нового
- Added an icon if DPlib is used as a dependency.
- Fix the dplib.threading documentation. Some terms were still in the old version.
- Fix of `dplib.threading:hierarchy/set_chilf_of` and `dplib.threading:hierarchy/set_parent_of`, the target was not setting up.
release
DPlib v1.2
v1.219 мая 2023 г.60Minecraft: 1.19.4datapack
Что нового
## New features!
This version brings new concepts and new features: the possibility to get the real date and time, the possibility to control exactly who runs which function, many optimizations and more.
## Changelog
### Global
- subdomains divided into separate modules
- core renamed to private
- added a module manager
- shared enum and const values are in the module manager
- Separation and rewriting of the doc
- addition of full IMP-doc
- hidden private files with DHP
- Updated credit request
- Updated license
### dplib.math
- added functions with binary search algorithm, a bit slower but extremely accurate:
- sin_bsa
- cos_bsa
- tan_bsa
- added lcg random generators:
- random_binary_lcg
- random_range_lcg
- random_lcg
- added lcm
- fsin, fcos, have been replaced by sin, cos
- ftan, tan have been replaced by tan_bsa
- sin, cos have been replaced by sin_bsa, cos_bsa
- sin, cos anti overflow scaling
- sqrt optimized, 1250 times faster
- cbrt optimized, 19 times faster
- gcd optimized, 0.3 times faster
- clamp optimized
- comb optimized
- random fixed, it could not mathematically give -2147483648
- some parameters have been unified:
- copysign: `$number` becomes `$in1`, `$source` becomes `$in2`
- pow: `$number` becomes `$in1`, `$exponent` becomes `$in2`
### dplib.threading
added a threading module to control the execution of functions
- thread/new
- thread/kill
- hierarchy/set_child_of
- hierarchy/set_parent_of
- scheduler
- dplib.threading:child (predicate)
- dplib.threading:parent (predicate)
### dplib.datetime
Added a module to get the real world date and time
- get unix timestamp
- get UTC datetime
- get local time
- conversion/timestamp_to_datetime
- uninstallation warn
### dplib.benchmark
added a benchmark module for datapack development
- start
release
DPlib v1.1
v1.120 апр. 2023 г.62Minecraft: 1.18, 1.18.1datapack
Что нового
## Datapack library v1.1
- adds faster trigonometric function : fcos, fsin, ftan
- adds more useful constants
- updates docs
release
DPlib v1.0
v1.020 апр. 2023 г.56Minecraft: 1.17, 1.17.1datapack
Что нового
### Datapack library
v1.0.0
+ Basic mathematical tools and functions.
+ Full documentation