
Moxvallix's GUI Library
This datapack automates much of hard parts of GUI development. It is data driven, meaning it renders the GUI based on a template stored in data storage.
170
2
Список изменений
[0.3.0] - 2023-01-10
This version adds a lot more power and customisability to the GUI system. It makes use of more advanced functionality provided by Moxlib.
Added
- Theme system, for pre-configured items. Used with
icontag. - Flag system. Used to configure pages. Flags can be set by the template, or when a slot is selected.
- Built-in pages (Reserving pages 100 to 1000):
- Numeric (Page 100) -- Number input.
- Built-in item modifiers (set with
item.modifiertag):gui:player_head-- sets the player head to the executing player.gui:name-- sets the name of the item to whatever is defined in thenametag.
#gui:theme: Called to set the theme, based ongui:page flags.theme.#gui:cleanup: Called after the GUI has finished rendering.#gui:render/flagsand#gui:select/flags:- Called before the slots are iterated.
- Provides access to data storage
gui:page flags
#gui:render/entity:- Called after the render entity is summoned, but before
#gui:render/item - Used to modify the entity,
1674b3a8-0135-a32e-02a4-06fb01241978as the player.
- Called after the render entity is summoned, but before
- Started work on improving documentation, with the callbacks documentation.
Файлы
moxgui_v0.3.0.zip(63.08 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
0.3.0
Загрузчики
Версии игры
1.19–1.19.3
Загрузок
117
Дата публикации
3 г. назад