Skip to content

Releases: CottonMC/LibGui

2.0.0 Beta 2

18 Jun 08:36
Compare
Choose a tag to compare

Repository version: 2.0.0-beta.2+1.16-pre8

Added

  • Added a global GL scissor stack (#59)
  • Added a WTiledSprite widget (#62 by @fiws)
  • Added texture rendering methods with opacity (#63 by @fiws)
  • Added fullscreen mode for screens (#66)

Changed

  • The SyncedGuiDescription constructor now takes a ScreenHandlerType for usage with fabric-screen-handler-api-v1
  • Alignment changes
    • Alignment was renamed to HorizontalAlignment
    • Added VerticalAlignment
    • WLabel.alignment -> horizontalAlignment, added vertical alignment support for labels
  • WWidget.addTooltip now uses a list of StringRenderables instead of a list of Texts

2.0.0 Beta 1

05 Jun 15:08
Compare
Choose a tag to compare

See the migration guide.

New features:

  • Keyboard navigation
  • WBox: a BoxLayout-like panel that lays widgets on an axis
  • WScrollPanel: a scrollable widget wrapper
  • A lot of new getters, setters and text rendering methods were added
  • Player inventory widgets now have an Inventory label by default

1.11.0 - Slot Update (1.16)

16 May 15:03
Compare
Choose a tag to compare

For Minecraft 1.16 snapshots only.

  • Added WItemSlot.createSlotPeer which allows customising the ValidatedSlot peers for a WItemSlot.
  • Split slot modifiability into "taking allowed" and "inserting allowed" for more flexibility with slots.

1.10.0 - Slot Update (1.15)

16 May 15:02
Compare
Choose a tag to compare

For Minecraft 1.15.2 only.

  • Added WItemSlot.createSlotPeer which allows customising the ValidatedSlot peers for a WItemSlot.
  • Split slot modifiability into "taking allowed" and "inserting allowed" for more flexibility with slots.

1.9.1

15 May 22:47
Compare
Choose a tag to compare
  • Updated to 20w20b.

Maven version: 1.9.1+20w20b

1.9.0

25 Apr 22:13
Compare
Choose a tag to compare
  • Updated to 20w17a
  • Includes new methods in ScreenDrawing that can draw Texts on the screen
  • The current MatrixStack is now bound for rendering screens/HUDs, mostly used for text

Also contains everything from 1.8.2:

  • Added javadocs to widgets
  • Added missing @Nullable and @Environment annotations (fixed #41)
  • Fixed #45
  • Fixed text widgets not being resizeable
  • Fixed item widgets having weird scaling

1.8.2

25 Apr 22:11
Compare
Choose a tag to compare
  • Added javadocs to widgets
  • Added missing @Nullable and @Environment annotations (fixed #41)
  • Fixed #45
  • Fixed text widgets not being resizeable
  • Fixed item widgets having weird scaling

1.8.1

09 Apr 15:39
Compare
Choose a tag to compare
  • Fixed quick moving inserting items into unmodifiable slots (#43).
  • Fixed null inventories being found from the world.

1.8.0

22 Mar 17:59
Compare
Choose a tag to compare

Added

  • Unmodifiable slot widgets
  • Item display widgets (WItem)
  • Multiline text widgets (WText)
  • Custom UV support for sprites

Updated

  • Improved the look of scroll bars
  • The buttons look identical to vanilla now (#38)

Removed

  • Experimental WTitle widget

1.7.0

08 Mar 08:15
Compare
Choose a tag to compare
  • Added more scroll bar getters and setters (#34).
  • List panels should now always have at least one cell visible.