Skip to content

Releases: CottonMC/LibGui

5.0.0 Beta 1 for 1.18-pre2

16 Nov 20:08
Compare
Choose a tag to compare
Pre-release

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 and RIGHT title alignments when titleX != 0

4.2.2 for 1.17.1

16 Nov 20:10
Compare
Choose a tag to compare

Repository version: 4.2.2+1.17.1

Fixed

  • CENTER and RIGHT title alignments when titleX != 0

4.2.1 for 1.17.1

12 Sep 12:25
Compare
Choose a tag to compare

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

11 Sep 11:59
Compare
Choose a tag to compare

Repository version: 4.2.0+1.17.1

Added

  • Narrator. Narrates: all!
    Narration support for LibGui is here! Widgets can now add narration messages in WWidget.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.
  • Added WWidget.hovered observable property and WWidget.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

18 Aug 19:18
Compare
Choose a tag to compare

Repository version: 4.1.7+1.17.1

Changed

  • WWidget.onShown and WWidget.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

10 Aug 08:08
Compare
Choose a tag to compare

Repository version: 4.1.6+1.17.1

Fixed

  • Crashes and log errors when using WLabel or WText in a HUD (#130)

4.1.5 for 1.17.1

17 Jul 22:13
Compare
Choose a tag to compare

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

11 Jul 18:29
Compare
Choose a tag to compare

Repository version: 4.1.4+1.17.1

Fixed

  • Crash when hiding slots

4.1.3 for 1.17.1

11 Jul 10:32
Compare
Choose a tag to compare

Repository version: 4.1.3+1.17.1

Fixed

  • Inventory.onOpen and Inventory.onClose not being called in SyncedGuiDescription

4.1.2 for 1.17.1

09 Jul 09:29
Compare
Choose a tag to compare

Repository version: 4.1.2+1.17.1