Releases: CottonMC/LibGui
Releases · CottonMC/LibGui
2.0.0 Beta 2
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 aScreenHandlerType
for usage with fabric-screen-handler-api-v1 - Alignment changes
Alignment
was renamed toHorizontalAlignment
- Added
VerticalAlignment
WLabel.alignment
->horizontalAlignment
, added vertical alignment support for labels
WWidget.addTooltip
now uses a list ofStringRenderable
s instead of a list ofText
s
2.0.0 Beta 1
See the migration guide.
New features:
- Keyboard navigation
WBox
: a BoxLayout-like panel that lays widgets on an axisWScrollPanel
: 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)
For Minecraft 1.16 snapshots only.
- Added
WItemSlot.createSlotPeer
which allows customising theValidatedSlot
peers for aWItemSlot
. - Split slot modifiability into "taking allowed" and "inserting allowed" for more flexibility with slots.
1.10.0 - Slot Update (1.15)
For Minecraft 1.15.2 only.
- Added
WItemSlot.createSlotPeer
which allows customising theValidatedSlot
peers for aWItemSlot
. - Split slot modifiability into "taking allowed" and "inserting allowed" for more flexibility with slots.
1.9.1
1.9.0
- Updated to 20w17a
- Includes new methods in
ScreenDrawing
that can drawText
s on the screen - The current
MatrixStack
is now bound for rendering screens/HUDs, mostly used for text
Also contains everything from 1.8.2: