90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

GUI Lib 1.1.0

Changelog

New Elements

  • ProgressBar
  • Text
  • TextField
  • TextArea
  • ScrollBar
  • Crafting Table

Fixes

  • Resolved dark textures appearing after using fake slots.
  • Corrected positioning of parent-child elements.
  • Fixed positioning issues between pages and elements.
  • Adjusted positioning when resizing the Minecraft window.

Changes and New Content

  • Standardization: Streamlined how positioning is handled for elements across both pages and parent-child nodes.

  • Texture Improvements: Enhanced the Texture class and introduced AnimatedTexture.

  • Renamed Key Functions: Updated function names across multiple classes, including IElement, Element, Texture, etc.

  • Lambda Configuration: The config() function for IElement now utilizes a lambda (more information available in the wiki).

  • Theme-Based Textures: Textures are now sourced from the theme system using the Texture class with its specific secondary constructor for themes.

  • Removed Dark Theme: The dark theme has been removed until further updates.

  • PageGui Configuration: PageGui now receives its configuration through a lambda, similar to IElement.

  • TextField and TextArea Styles: TextField and TextArea now include textFieldStyle along with a config() method that accepts an instance of TextFieldStyle to customize their styles.

  • Resize Signals: Added signals to detect when the Minecraft window size changes.

  • Text Change Signals: Introduced signals to track changes in text for TextField and TextArea. Added lambdas that will execute on specific events related to these fields.

  • Mod Logo Update: The mod logo has been changed.

  • Texture Support Enhancements: Now supports textures larger than 256 pixels, along with zoom capabilities. More details can be found in the wiki page regarding the Texture class.

  • And Many More Features: A variety of additional changes and improvements have been made that may not be listed here.

Full Changelog: https://github.com/Garkatron/BTA-GuiLibrary/compare/0.1.9...1.1.0

Dependencies

Files

guilib-1.1.0.jar(817.68 KiB) Primary Download

Project members

Garkatron

Member

Details

Licensed CC-BY-NC-4.0
Published 4 months ago
Updated 21 days ago