▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
DPlib

DPlib

Datapack Library | Provides Maths, Threading, Real datetime ...

242
4
Все версииDPlib v1.2

DPlib v1.2

Release2 г. назад

Список изменений

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

Файлы

DPlib.zip(666.06 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

v1.2

Загрузчики

Версии игры

1.19.4

Загрузок

43

Дата публикации

2 г. назад

Загрузил

ID версии

Главная