Unofficial site, not affiliated with modrinth.com.What is this?
Моды/BetaMoon
Все версииNew Query/Chat/Event API + Fixes and Improvements.

New Query/Chat/Event API + Fixes and Improvements.

Alpha4 мес. назад

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

Additions

  • New Query API for blocks/items/recipes that enable searches for specific content or groups of content.
  • New Chat API for formatted in‑game messages and server broadcast attempts.
  • New Event API (world/player/gui/input/item/block/dimension hooks).
  • Added example scripts for Query API.
  • Added example script for Event API. (Currently barebones. Will be expanded and commented in the future)

Changes

  • Script loading now detects duplicates and dependency failures with clearer reporting in the UI.
  • Scripts are now capable of throwing Warnings:
    • Warnings won't make the whole script unloadable. It just skips the part of the script that threw the warning.
    • Be aware that any function/variable that throws a Warning may return a NIL value, which results in Errors if used afterwards.
  • Improved Script UI to also show warnings for scripts.
  • Recipe modifications via Scripts update the internal recipe cache so queries include script-added recipes.
  • Main menu/script screens now integrate the new Warnings in Popups.
  • Many internal changes.

Fixes

  • Reduced hard failures in texture registration; warnings are surfaced instead of crashes where possible.
  • Fixed some example scripts to represent current API usage.

Метаданные

Канал релиза

Alpha

Номер версии

0.5.0

Загрузчики

Forge
Risugami's ModLoader

Версии игры

Загрузок

37

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

4 мес. назад

Загрузил

ID версии

Главная