Releases: CottonMC/LibGui
Releases · CottonMC/LibGui
5.0.0 Beta 1 for 1.18-pre2
Repository version: 5.0.0-beta.1+1.18-pre2
Changed
- Updated to Minecraft 1.18, Loader 0.12 and Jankson-Fabric 4.0
Fixed
CENTER
andRIGHT
title alignments whentitleX != 0
4.2.2 for 1.17.1
Repository version: 4.2.2+1.17.1
Fixed
CENTER
andRIGHT
title alignments whentitleX != 0
4.2.1 for 1.17.1
Repository version: 4.2.1+1.17.1
Fixed
CottonInventoryScreen
not supporting hotbar keyboard shortcuts and dropping items with Q (#137)
4.2.0 for 1.17.1
Repository version: 4.2.0+1.17.1
Added
- Narrator. Narrates: all!
Narration support for LibGui is here! Widgets can now add narration messages inWWidget.addNarrations
. - Added experimental
ObservableProperty
API- Basically a lite version of Gradle's
Property
or JavaFX properties, if you're familiar with those. These can be modified and observed with listeners. - Still experimental because the API is not done yet, but the final result should be pretty close to this.
- Basically a lite version of Gradle's
- Added
WWidget.hovered
observable property andWWidget.canHover
- A boolean property that tells the widget whether there's a cursor over it. Useful for narration messages or doing stuff on mouse enter/exit.
- This is used in the backend of narration support, and also exposed as an experimental API like the observable properties.
4.1.7 for 1.17.1
Repository version: 4.1.7+1.17.1
Changed
WWidget.onShown
andWWidget.onHidden
are no longer in beta
Fixed
- Scroll panel and list panel scissoring fails on macOS (#114, fixed in #134 by @haykam821)
4.1.6 for 1.17.1
Repository version: 4.1.6+1.17.1
Fixed
- Crashes and log errors when using
WLabel
orWText
in a HUD (#130)
4.1.5 for 1.17.1
Repository version: 4.1.5+1.17.1
Fixed
ScreenDrawing.texturedRect()
not blending transparent textures (#125 by @Fourmisain)
4.1.4 for 1.17.1
Repository version: 4.1.4+1.17.1
Fixed
- Crash when hiding slots
4.1.3 for 1.17.1
Repository version: 4.1.3+1.17.1
Fixed
Inventory.onOpen
andInventory.onClose
not being called inSyncedGuiDescription