Skip to content

Releases: CottonMC/LibGui

13.0.0 for Minecraft 1.21.5

25 Mar 16:36
90beac9
Compare
Choose a tag to compare

Repository version: 13.0.0+1.21.5

Note: There might be performance regressions in GUIs that use NinePatchBackgroundPainter heavily as the shader code was not yet completely ported to this release. This doesn't affect vanilla nine slice textures.

Changed

  • Updated to Minecraft 1.21.5
  • Text fields now use vanilla textures instead of drawing the widget fully in code

Removed

  • The already nonfunctioning WTextField.setBackgroundPainter API

5.4.3 for Minecraft 1.18.2

08 Mar 17:16
fb08b53
Compare
Choose a tag to compare

Repository version: 5.4.3+1.18.2

Fixed

  • Crash due to client-only fields being referenced in common code (#231)
  • WItem content positioning (#181)
  • Selecting text in a WTextField applies blue tint to wrong field (#182)

12.0.1 for Minecraft 1.21.2-1.21.4

14 Dec 18:21
049d46b
Compare
Choose a tag to compare

Repository version: 12.0.1+1.21.2

Changed

  • Now supports 1.21.4

12.0.0 for Minecraft 1.21.2/3

23 Oct 16:39
45dc93e
Compare
Choose a tag to compare

Repository version: 12.0.0+1.21.2

Added

  • GuiDescription.get/setUseDefaultRootBackground: can be used to disable the default background painter if your root panel doesn't need it (useful for tab panels)
  • Scissors.push overload taking a nullable DrawContext. It's highly recommended that you move existing code to use this overload since it flushes buffered draw calls automatically. Otherwise, parts of widgets etc. can just disappear in GUIs using scissors.

Changed

  • Updated to 1.21.2/3
  • WDynamicLabel.alignment renamed to horizontalAlignment (along with getters and setters)

11.1.0 for Minecraft 1.21(.1)

15 Aug 16:14
798fae5
Compare
Choose a tag to compare

Repository version: 11.1.0+1.21

Added

  • Option for WLabel, WText and WDynamicLabel to draw shadows (#248 by @MarcusElg, #233, #245)
  • Vertical alignment in WDynamicLabel and a getter for the horizontal alignment (#249 by @MarcusElg, #202)
  • Many new public properties in WItemSlot:
    • Getters for the backing inventory details: getInventory, getStartIndex, getSlotsWide, getSlotsHigh
    • Getters for the slot peer details: getPeers, getPeerStartId (#247)
  • Missing javadoc for some methods in the widgets mentioned before

Fixed

  • Incorrect links and whitespace characters in javadoc

11.0.0 for Minecraft 1.21

24 Jun 12:51
Compare
Choose a tag to compare

Repository version: 11.0.0+1.21

Changed

  • Updated to Minecraft 1.21

Removed

  • Previously deprecated APIs:
    • ValidatedSlot.getFilter
    • ValidatedSlot.setFilter
    • WItemSlot.getFilter
    • WItemSlot.setFilter
    • WListPanel.margin

10.0.0 for Minecraft 1.20.6

05 May 12:07
c9b9ea7
Compare
Choose a tag to compare

Repository version: 10.0.0+1.20.6

Added

  • SyncedGuiDescription.getWorld

Changed

  • Updated to Minecraft 1.20.6 (#242 by @acikek)
  • ScreenNetworking now uses codecs instead of raw buffer access to better work with the game's networking updates

Fixed

9.2.2 for Minecraft 1.20.2-1.20.4

14 Jan 11:29
a496e3f
Compare
Choose a tag to compare

Repository version: 9.2.2+1.20.2

Fixed

  • WSlider having a client-sided field initialisers leading to a crash with Fabric Loader 0.15 (related to #231)

8.1.1 for Minecraft 1.20.1

14 Jan 11:23
346c725
Compare
Choose a tag to compare

Repository version: 8.1.1+1.20.1

Fixed

  • Client-sided field initialisers being used in common classes, leading to a crash with Fabric Loader 0.15 (#231)

9.2.1 for Minecraft 1.20.2-1.20.4

09 Dec 12:06
b5e56dd
Compare
Choose a tag to compare

Repository version: 9.2.1+1.20.2

Fixed

  • Client-sided field initialisers being used in common classes, leading to a crash with Fabric Loader 0.15 (#231)