Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Moxvallix's GUI Library

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.

126
2
Library

Compatibility

Minecraft: Java Edition

1.19–1.19.3

Platforms

Data Pack

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

moxvallix
moxvallix Owner

Details

Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 2 years ago
DescriptionGalleryChangelogVersions

Show all versions

MoxGUI v0.3.0

by moxvallix on Jan 10, 2023
Download

[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 icon tag.
  • 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.modifier tag):
    • gui:player_head -- sets the player head to the executing player.
    • gui:name -- sets the name of the item to whatever is defined in the name tag.
  • #gui:theme: Called to set the theme, based on gui:page flags.theme.
  • #gui:cleanup: Called after the GUI has finished rendering.
  • #gui:render/flags and #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-06fb01241978 as the player.
  • Started work on improving documentation, with the callbacks documentation.

MoxGUI v0.2.0

by moxvallix on Dec 30, 2022
Download

[0.2.0] - 2022-12-30

Added

  • Support for container based GUIs
  • Moxlib dependency
  • Changelog

Changed

  • Separated "select" API into "select" and "watch"
    • Select just runs the selection, watch checks for when a selection is made, then runs it.
  • Namespaced the API under "enderchest" or "barrel", eg "gui:api/barrel/render" or "gui:api/enderchest/select"

Modrinth is open source.

fix-window-open@1656e14

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.