Silver Star Library
A library for Minecraft Datapack developers, that adds pre-established scores, predicates, and modules to simplify development.
Оцените первым
68
0
Список изменений
Important
THIS RELEASE CHANGES THE RAYCAST MODULE. YOU WILL LIKELY EXPERIENCE ISSUES IF YOU DO NOT UPDATE YOUR RAYCAST FUNCTIONS ACCORDINGLY.
This is a hotfix for version 26.08.14, which unintentionally projected debug info into the chat when using the math:round function. Version 26.08.14 has been pulled from the Modrinth page.
Raycast Changes
- The "specific" Raycast functions have been changed so that the
solid_block_collisionmacro is truly boolean. Instead of taking string input of either"true"or"false", it now takes actual boolean input oftrue,false,1, or0.
Rounding Module Changes
- A new function has been introduced, under the math module, called
math:round. It takes three macro inputs:score,round, andreduce.scoreis the name of the scoreboard objective you'd like to round.roundis the interval which you'd like to round it to.reduceis a boolean (true/false/1/0) that determines whether or not the score should be divided byroundafter being rounded. - For example, if your
scorehas a value of 789, yourroundinput is 10, andreduceistrue,scorewill be rounded to the nearest mulitple of 10 (790), then divided by 10, for a finalscoreof 79. - This means that the round module can now be used for effective rounded division.
The previous method of invoking math:round/10 or math:round/100 is still supported for now, but I recommend you get used to the new system, as I'll likely cull these functions in the future.
Файлы
Silver Star Library 260814.zip(90.04 KiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
26.08.14.2
Загрузчики
Версии игры
26.2
Загрузок
8
Дата публикации
14.08.2026