Package io.github.cottonmc.cotton.gui.client
package io.github.cottonmc.cotton.gui.client
Client-side APIs for rendering GUIs and configuring LibGui.
-
Interface SummaryInterfaceDescriptionBackground painters are used to paint the background of a widget.Positioners can be used to change the position of a widget based on the window dimensions.
-
Class SummaryClassDescriptionCottonInventoryScreen<T extends SyncedGuiDescription>A screen for a
SyncedGuiDescription.This class provides access to LibGui configuration and other global data.A GuiDescription without any associated Minecraft classesThe nine-patch background painter paints rectangles using a nine-patch texture.Contains a stack for GL scissors for restricting the drawn area of a widget.A single scissor frame in the stack.ScreenDrawingcontains utility methods for drawing contents on a screen. -
Enum Class SummaryEnum ClassDescriptionManages widgets that are painted on the in-game HUD.The mode of a nine-patch painter defines how it fills the area between the corners.