
Moxlib
A library of many helpful functions, tags and predicates, to improve the datapack developer's day.
1.1K
10
Список изменений
[0.4.0] - 2023-01-10
This update was our largest yet! Many useful new functions added, as detailed below.
Added
Data Module
- Collect function, to retrieve all data matching the key.
- Paginate function, to paginate an array of data.
Helpers Module
- Data / Calculate Pages, to calculate the amount of pages that would be paginated.
- Inventory / Compact, to compact and "sort" Inventory data.
- Inventory / Stack Max, to calculate the maximum stack size of a given item.
- Inventory / Strip Slots, to strip Slot numbers from given Inventory data.
- Player / Head, to retrieve the head of the executing player.
Math Module
- Array to Integer, turns an array of digits into an integer.
- Power, calculates the target to the given power.
Player Module
- Adds a unique id for each player, in objective
moxlib.api.player.id
Changed
- Added -1 to Math / Constants
Файлы
moxlib-v0.4.0.zip(111.34 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
0.4.0
Загрузчики
Версии игры
1.19–1.19.3
Загрузок
26
Дата публикации
3 г. назад