▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Silver Star Library

Silver Star Library

A library for Minecraft Datapack developers, that adds pre-established scores, predicates, and modules to simplify development.

Оцените первым
68
0
Все версииHotfix - Raycast and Rounding changes

Hotfix - Raycast and Rounding changes

Beta14.08.2026

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

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_collision macro is truly boolean. Instead of taking string input of either "true" or "false", it now takes actual boolean input of true, false, 1, or 0.

Rounding Module Changes

  • A new function has been introduced, under the math module, called math:round. It takes three macro inputs: score, round, and reduce. score is the name of the scoreboard objective you'd like to round. round is the interval which you'd like to round it to. reduce is a boolean (true/false/1/0) that determines whether or not the score should be divided by round after being rounded.
  • For example, if your score has a value of 789, your round input is 10, and reduce is true, score will be rounded to the nearest mulitple of 10 (790), then divided by 10, for a final score of 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

Загрузил

ID версии

Главная