Bot releases are visible (Hide)
Published by Juuxel about 4 years ago
Repository version: 2.3.0+1.16.1
SyncedGuiDescription.insertIntoExisting
not respecting Slot.getMaxStackAmount
(#78 by @CoolMineman)Published by Juuxel over 4 years ago
Repository version: 2.2.0+1.16.1
WTiledSprite
: getters (#72 by @fiws) and setters for tileWidth
and tileHeight
ItemIcon
which draws an item stack, and TextureIcon
which draws a textureWButton.onClick
Published by Juuxel over 4 years ago
Repository version: 2.1.1+1.16.1
Published by Juuxel over 4 years ago
Repository version: 2.1.0+1.16.1
GuiDescription.get/setTitleAlignment
: for modifying the horizontal alignment of titlesGuiDescription.setTitleColor(int, int)
: for setting the light and dark title colors separatelyWWidget.get/setHost
: for modifying the widget host directly in cases where validate
cannot be used, such as listsWBox
WWidget.createPeers
in favour of WWidget.validate
GuiDescription.setTitleColor(int)
not setting the dark title colorPublished by Juuxel over 4 years ago
Repository version: 2.0.1+1.16.1
BackgroundPainter
being referenced in WItemSlot.<init>
LibGuiClient.config
being referenced in SyncedGuiDescription.getTitleColor
Published by Juuxel over 4 years ago
Repository version: 2.0.0+1.16
See the migration guide.
WBox
: a BoxLayout-like panel that lays widgets on an axisWScrollPanel
: a scrollable widget wrapperInventory
label by defaultWTiledSprite
(#62 by @fiws)GuiDescription
SyncedGuiDescription
to get meaningful fallback values for missing property delegates and inventories (useful with simple screen handlers)CottonCraftingController
was renamed to SyncedGuiDescription
RecipeType
, the SyncedGuiDescription
constructor now takes a ScreenHandlerType
that can be registered with Fabric API's ScreenHandlerRegistry
.Alignment
was renamed to HorizontalAlignment
VerticalAlignment
WLabel/WText.alignment
-> horizontalAlignment
, added vertical alignment support for text widgetsStringRenderable
s instead of Text
sWItemSlot
's unused ltr
constructor parameter was removedWWidget.paintBackground
has been renamed to paint
. It now also takes the MatrixStack
used for screen rendering.ScreenDrawing
also take a matrix stack now.BackgroundPainter.VANILLA_9PATCH
Published by Juuxel over 4 years ago
Repository version: 2.0.0-beta.5+1.16-rc1
Published by Juuxel over 4 years ago
Repository version: 2.0.0-beta.4+1.16-pre8
GuiDescription.isTitleVisible
/setTitleVisible
Published by Juuxel over 4 years ago
Repository version: 2.0.0-beta.3+1.16-pre8
CottonClientScreen
: titleX
and titleY
reposition
protectedPublished by Juuxel over 4 years ago
Repository version: 2.0.0-beta.2+1.16-pre8
WTiledSprite
widget (#62 by @fiws)SyncedGuiDescription
constructor now takes a ScreenHandlerType
for usage with fabric-screen-handler-api-v1Alignment
was renamed to HorizontalAlignment
VerticalAlignment
WLabel.alignment
-> horizontalAlignment
, added vertical alignment support for labelsWWidget.addTooltip
now uses a list of StringRenderable
s instead of a list of Text
sPublished by Juuxel over 4 years ago
See the migration guide.
New features:
WBox
: a BoxLayout-like panel that lays widgets on an axisWScrollPanel
: a scrollable widget wrapperInventory
label by defaultPublished by Juuxel over 4 years ago
For Minecraft 1.16 snapshots only.
WItemSlot.createSlotPeer
which allows customising the ValidatedSlot
peers for a WItemSlot
.Published by Juuxel over 4 years ago
For Minecraft 1.15.2 only.
WItemSlot.createSlotPeer
which allows customising the ValidatedSlot
peers for a WItemSlot
.Published by Juuxel over 4 years ago
Maven version: 1.9.1+20w20b
Published by Juuxel over 4 years ago
ScreenDrawing
that can draw Text
s on the screenMatrixStack
is now bound for rendering screens/HUDs, mostly used for textAlso contains everything from 1.8.2:
@Nullable
and @Environment
annotations (fixed #41)Published by Juuxel over 4 years ago
@Nullable
and @Environment
annotations (fixed #41)Published by Juuxel over 4 years ago
Published by Juuxel over 4 years ago
WItem
)WText
)WTitle
widgetPublished by Juuxel over 4 years ago
Published by Juuxel over 4 years ago
Added
ScreenDrawing
javadocsFixed