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 introducedAnimatedTexture
. -
Renamed Key Functions: Updated function names across multiple classes, including
IElement
,Element
,Texture
, etc. -
Lambda Configuration: The
config()
function forIElement
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 toIElement
. -
TextField and TextArea Styles:
TextField
andTextArea
now includetextFieldStyle
along with aconfig()
method that accepts an instance ofTextFieldStyle
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
andTextArea
. 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
Current Elements
- Slot: Grid cell for inventories and grid-based applications.
- Panel: Container for grouping elements.
- Row:
- Column:
- PlayerInventory: Configurable player inventory representation.
- FreeElement: Flexible element for custom needs.
- DraggableElement
- ClickableElement
- Button
- ProgressBar
- Text
- TextField
- TextArea