From d29f83e8862e59c7e7cd916c86f0f3de82a18c5c Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 15 Aug 2024 19:14:31 +0000
Subject: [PATCH] LibGui 11.1.0 for Minecraft 1.21(.1)
---
libgui/allclasses-index.html | 9 +-
libgui/allpackages-index.html | 3 +-
libgui/constant-values.html | 3 +-
libgui/deprecated-list.html | 150 --------
libgui/help-doc.html | 8 +-
libgui/index-all.html | 161 ++++++---
libgui/index.html | 5 +-
.../cottonmc/cotton/gui/EmptyInventory.html | 53 ++-
.../cottonmc/cotton/gui/GuiDescription.html | 11 +-
.../cotton/gui/ItemSyncedGuiDescription.html | 45 ++-
.../cotton/gui/PropertyDelegateHolder.html | 9 +-
.../cotton/gui/SyncedGuiDescription.html | 117 +++---
.../cottonmc/cotton/gui/ValidatedSlot.html | 153 +++-----
.../cotton/gui/client/BackgroundPainter.html | 19 +-
.../cotton/gui/client/CottonClientScreen.html | 95 +++--
.../gui/client/CottonHud.Positioner.html | 3 +-
.../cottonmc/cotton/gui/client/CottonHud.html | 3 +-
.../gui/client/CottonInventoryScreen.html | 149 ++++----
.../cottonmc/cotton/gui/client/LibGui.html | 3 +-
.../gui/client/LightweightGuiDescription.html | 15 +-
.../client/NinePatchBackgroundPainter.html | 11 +-
.../cotton/gui/client/Scissors.Frame.html | 3 +-
.../cottonmc/cotton/gui/client/Scissors.html | 3 +-
.../cotton/gui/client/ScreenDrawing.html | 131 ++++---
.../cotton/gui/client/package-summary.html | 3 +-
.../cotton/gui/client/package-tree.html | 9 +-
.../cotton/gui/networking/NetworkSide.html | 3 +-
.../ScreenNetworking.MessageReceiver.html | 3 +-
.../gui/networking/ScreenNetworking.html | 15 +-
.../gui/networking/package-summary.html | 3 +-
.../cotton/gui/networking/package-tree.html | 3 +-
.../cottonmc/cotton/gui/package-summary.html | 7 +-
.../cottonmc/cotton/gui/package-tree.html | 9 +-
.../cotton/gui/widget/TooltipBuilder.html | 11 +-
.../gui/widget/WAbstractSlider.Direction.html | 3 +-
.../cotton/gui/widget/WAbstractSlider.html | 7 +-
.../cotton/gui/widget/WBar.Direction.html | 3 +-
.../cottonmc/cotton/gui/widget/WBar.html | 59 ++-
.../cottonmc/cotton/gui/widget/WBox.html | 3 +-
.../cottonmc/cotton/gui/widget/WButton.html | 27 +-
.../cotton/gui/widget/WCardPanel.html | 5 +-
.../cotton/gui/widget/WClippedPanel.html | 7 +-
.../cotton/gui/widget/WDynamicLabel.html | 218 +++++++++--
.../cotton/gui/widget/WGridPanel.html | 3 +-
.../cottonmc/cotton/gui/widget/WItem.html | 27 +-
.../gui/widget/WItemSlot.ChangeListener.html | 11 +-
.../cottonmc/cotton/gui/widget/WItemSlot.html | 339 +++++++++++-------
.../cottonmc/cotton/gui/widget/WLabel.html | 138 ++++---
.../widget/WLabeledSlider.LabelUpdater.html | 7 +-
.../cotton/gui/widget/WLabeledSlider.html | 27 +-
.../cotton/gui/widget/WListPanel.html | 42 +--
.../cottonmc/cotton/gui/widget/WPanel.html | 9 +-
.../cotton/gui/widget/WPanelWithInsets.html | 3 +-
.../cotton/gui/widget/WPlainPanel.html | 3 +-
.../cotton/gui/widget/WPlayerInvPanel.html | 25 +-
.../cotton/gui/widget/WScrollBar.html | 11 +-
.../cotton/gui/widget/WScrollPanel.html | 9 +-
.../cottonmc/cotton/gui/widget/WSlider.html | 15 +-
.../cottonmc/cotton/gui/widget/WSprite.html | 31 +-
.../gui/widget/WTabPanel.Tab.Builder.html | 15 +-
.../cotton/gui/widget/WTabPanel.Tab.html | 7 +-
.../cottonmc/cotton/gui/widget/WTabPanel.html | 3 +-
.../cottonmc/cotton/gui/widget/WText.html | 158 +++++---
.../cotton/gui/widget/WTextField.html | 47 ++-
.../cotton/gui/widget/WTiledSprite.html | 15 +-
.../cotton/gui/widget/WToggleButton.html | 51 ++-
.../cottonmc/cotton/gui/widget/WWidget.html | 17 +-
.../cottonmc/cotton/gui/widget/data/Axis.html | 3 +-
.../cotton/gui/widget/data/Color.HSL.html | 3 +-
.../cotton/gui/widget/data/Color.LCH.html | 3 +-
.../cotton/gui/widget/data/Color.RGB.html | 3 +-
.../cotton/gui/widget/data/Color.html | 3 +-
.../gui/widget/data/HorizontalAlignment.html | 3 +-
.../cotton/gui/widget/data/InputResult.html | 3 +-
.../cotton/gui/widget/data/Insets.html | 3 +-
.../data/ObservableProperty.Builder.html | 3 +-
.../gui/widget/data/ObservableProperty.html | 3 +-
.../data/ObservableView.ChangeListener.html | 3 +-
.../gui/widget/data/ObservableView.html | 3 +-
.../cotton/gui/widget/data/Rect2i.html | 3 +-
.../cotton/gui/widget/data/Texture.Type.html | 3 +-
.../cotton/gui/widget/data/Texture.html | 27 +-
.../cotton/gui/widget/data/Vec2i.html | 3 +-
.../gui/widget/data/VerticalAlignment.html | 3 +-
.../gui/widget/data/package-summary.html | 3 +-
.../cotton/gui/widget/data/package-tree.html | 3 +-
.../cotton/gui/widget/focus/Focus.html | 3 +-
.../cotton/gui/widget/focus/FocusModel.html | 3 +-
.../focus/SimpleKeyedFocusModel.Builder.html | 3 +-
.../widget/focus/SimpleKeyedFocusModel.html | 3 +-
.../gui/widget/focus/package-summary.html | 3 +-
.../cotton/gui/widget/focus/package-tree.html | 3 +-
.../cottonmc/cotton/gui/widget/icon/Icon.html | 7 +-
.../cotton/gui/widget/icon/ItemIcon.html | 15 +-
.../cotton/gui/widget/icon/TextureIcon.html | 11 +-
.../gui/widget/icon/package-summary.html | 3 +-
.../cotton/gui/widget/icon/package-tree.html | 3 +-
.../cotton/gui/widget/package-summary.html | 5 +-
.../cotton/gui/widget/package-tree.html | 3 +-
libgui/member-search-index.js | 2 +-
libgui/overview-summary.html | 2 +-
libgui/overview-tree.html | 15 +-
libgui/search.html | 3 +-
103 files changed, 1408 insertions(+), 1333 deletions(-)
delete mode 100644 libgui/deprecated-list.html
diff --git a/libgui/allclasses-index.html b/libgui/allclasses-index.html
index 127a32a..80e714d 100644
--- a/libgui/allclasses-index.html
+++ b/libgui/allclasses-index.html
@@ -2,7 +2,7 @@
-All Classes and Interfaces<
@@ -230,7 +229,7 @@
All Classes and Interfaces<
diff --git a/libgui/allpackages-index.html b/libgui/allpackages-index.html
index 388cadb..e7de74c 100644
--- a/libgui/allpackages-index.html
+++ b/libgui/allpackages-index.html
@@ -2,7 +2,7 @@
-
All Packages (LibGui 10.0.0+1.20.6 API)
+
All Packages (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
diff --git a/libgui/constant-values.html b/libgui/constant-values.html
index bea1c39..20cc5ae 100644
--- a/libgui/constant-values.html
+++ b/libgui/constant-values.html
@@ -2,7 +2,7 @@
-
Constant Field Values (LibGui 10.0.0+1.20.6 API)
+
Constant Field Values (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
diff --git a/libgui/deprecated-list.html b/libgui/deprecated-list.html
deleted file mode 100644
index dcda749..0000000
--- a/libgui/deprecated-list.html
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
-
-
Deprecated List (LibGui 10.0.0+1.20.6 API)
-
-
-
-
-
-
-
-
-
-
-
-
-
-JavaScript is disabled on your browser.
-
-
-
-
-
-
-Contents
-
-
-
-
-
Terminally Deprecated Elements
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/libgui/help-doc.html b/libgui/help-doc.html
index 328e873..9b64138 100644
--- a/libgui/help-doc.html
+++ b/libgui/help-doc.html
@@ -2,7 +2,7 @@
-
API Help (LibGui 10.0.0+1.20.6 API)
+
API Help (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
@@ -76,7 +75,6 @@
JavaDoc Help
Class or Interface
Other Files
Tree (Class Hierarchy)
-
Deprecated API
Constant Field Values
All Packages
All Classes and Interfaces
@@ -164,10 +162,6 @@
Tree (Class Hierarchy)
When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
-
-Deprecated API
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to shortcomings, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-
Constant Field Values
The Constant Field Values page lists the static final fields and their values.
diff --git a/libgui/index-all.html b/libgui/index-all.html
index 6650e4c..4ff5be1 100644
--- a/libgui/index-all.html
+++ b/libgui/index-all.html
@@ -2,7 +2,7 @@
-Index (LibGui 10.0.0+1.20.6 API)
+Index (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -545,10 +544,12 @@ D
The list of data that this list represents.
DEFAULT_DARKMODE_TEXT_COLOR - Static variable in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+
+
DEFAULT_DARKMODE_TEXT_COLOR - Static variable in class io.github.cottonmc.cotton.gui.widget.WLabel
-The default text color for dark mode labels.
+
DEFAULT_FOCUS_IMAGE - Static variable in class io.github.cottonmc.cotton.gui.widget.WToggleButton
@@ -565,7 +566,9 @@ D
DEFAULT_TEXT_COLOR - Static variable in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+The default text color for light mode labels.
+
DEFAULT_TEXT_COLOR - Static variable in class io.github.cottonmc.cotton.gui.widget.WLabel
The default text color for light mode labels.
@@ -582,7 +585,9 @@ D
when the field increases.
disableDarkmode() - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+Disables separate dark mode coloring by copying the dark color to be the light color.
+
disableDarkmode() - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
Disables separate dark mode coloring by copying the dark color to be the light color.
@@ -627,6 +632,12 @@ D
Draws a beveled, round rectangle with custom edge colors that is substantially similar to default Minecraft UI panels.
+ drawShadows - Variable in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
+
+drawShadows - Variable in class io.github.cottonmc.cotton.gui.widget.WLabel
+
+drawShadows - Variable in class io.github.cottonmc.cotton.gui.widget.WText
+
drawString(DrawContext, String, int, int, int) - Static method in class io.github.cottonmc.cotton.gui.client.ScreenDrawing
Draws a left-aligned string.
@@ -770,6 +781,10 @@ G
getAlignment() - Method in class io.github.cottonmc.cotton.gui.widget.WButton
+getAlignment() - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
+
+Gets the horizontal text alignment of this label.
+
getAxis() - Method in enum class io.github.cottonmc.cotton.gui.widget.WAbstractSlider.Direction
Gets the direction's axis.
@@ -832,7 +847,7 @@ G
getColor() - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Gets the light mode color of this label.
+Gets the light mode color of this text widget.
getCursor() - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
@@ -842,7 +857,7 @@ G
getDarkmodeColor() - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Gets the dark mode color of this label.
+Gets the dark mode color of this text widget.
getDescription() - Method in class io.github.cottonmc.cotton.gui.client.CottonClientScreen
@@ -854,21 +869,21 @@ G
getDraggingFinishedListener() - Method in class io.github.cottonmc.cotton.gui.widget.WAbstractSlider
-getDuration() - Method in class io.github.cottonmc.cotton.gui.widget.WItem
+getDrawShadows() - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-Returns the animation duration of this WItem
.
+Checks whether shadows should be drawn for this label.
-getFilter() - Method in class io.github.cottonmc.cotton.gui.ValidatedSlot
+getDrawShadows() - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
-Deprecated, for removal: This API element is subject to removal in a future version.
-
-
+Checks whether shadows should be drawn for this label.
-getFilter() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
+getDrawShadows() - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Deprecated, for removal: This API element is subject to removal in a future version.
-
-
+Checks whether shadows should be drawn for this text widget.
+
+getDuration() - Method in class io.github.cottonmc.cotton.gui.widget.WItem
+
+Returns the animation duration of this WItem
.
getFocus() - Method in class io.github.cottonmc.cotton.gui.client.LightweightGuiDescription
@@ -982,6 +997,10 @@ G
Returns the layout insets used for the viewed widget.
+getInventory() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
+
+Returns the inventory backing this slot.
+
getInventoryIndex() - Method in class io.github.cottonmc.cotton.gui.ValidatedSlot
Gets the index of this slot in its inventory.
@@ -1085,6 +1104,14 @@ G
Gets the parent panel of this widget.
+ getPeers() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
+
+Returns an unmodifiable list containing the current slot peers.
+
+getPeerStartId() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
+
+Gets the starting
ID for the slot peers.
+
getProperties() - Method in class io.github.cottonmc.cotton.gui.widget.WBar
Gets the current properties of this bar.
@@ -1139,6 +1166,14 @@ G
getSelection() - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
+getSlotsHigh() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
+
+Returns the height of this slot widget in individual slots.
+
+getSlotsWide() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
+
+Returns the width of this slot widget in individual slots.
+
getSpacing() - Method in class io.github.cottonmc.cotton.gui.widget.WBox
Gets the spacing between widgets.
@@ -1147,6 +1182,10 @@ G
getStack(int) - Method in class io.github.cottonmc.cotton.gui.EmptyInventory
+getStartIndex() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
+
+Returns the starting index of slots in the backing inventory.
+
getSuggestion() - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
getTabCount() - Method in class io.github.cottonmc.cotton.gui.widget.WTabPanel
@@ -1159,7 +1198,7 @@ G
getText() - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Gets the text of this label.
+Gets the text of this text widget.
getText() - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
@@ -1233,6 +1272,10 @@ G
Gets the vertical alignment of this box.
+ getVerticalAlignment() - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
+
+Gets the vertical text alignment of this label.
+
getVerticalAlignment() - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
Gets the vertical text alignment of this label.
@@ -1468,7 +1511,9 @@ I
Tests if the provided key code is an activation key for widgets.
isBigSlot() - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
-
+
+Returns whether this slot is a big slot.
+
isDarkMode() - Static method in class io.github.cottonmc.cotton.gui.client.LibGui
Returns whether LibGui is running in dark mode and widgets should use dark theming.
@@ -1612,8 +1657,8 @@ I
ItemSyncedGuiDescription - Class in io.github.cottonmc.cotton.gui
-
+
ItemSyncedGuiDescription(ScreenHandlerType<?>, int, PlayerInventory, StackReference) - Constructor for class io.github.cottonmc.cotton.gui.ItemSyncedGuiDescription
@@ -1702,12 +1747,6 @@ M
MAGENTA_DYE - Static variable in interface io.github.cottonmc.cotton.gui.widget.data.Color
-margin - Variable in class io.github.cottonmc.cotton.gui.widget.WListPanel
-
-Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
markDirty() - Method in class io.github.cottonmc.cotton.gui.EmptyInventory
markDirty() - Method in class io.github.cottonmc.cotton.gui.ValidatedSlot
@@ -2266,7 +2305,9 @@ S
setAlignment(HorizontalAlignment) - Method in class io.github.cottonmc.cotton.gui.widget.WButton
setAlignment(HorizontalAlignment) - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+Sets the horizontal text alignment of this label.
+
setAxis(Axis) - Method in class io.github.cottonmc.cotton.gui.widget.WBox
Sets the axis of this box.
@@ -2301,31 +2342,35 @@ S
setColor(int) - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Sets the light mode color of this label.
+Sets the light mode color of this text widget.
setColor(int, int) - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+Sets the light and dark mode colors of this label.
+
setColor(int, int) - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
Sets the light and dark mode colors of this label.
setColor(int, int) - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Sets the light and dark mode colors of this label.
+Sets the light and dark mode colors of this text widget.
setColor(int, int) - Method in class io.github.cottonmc.cotton.gui.widget.WToggleButton
setCursorPos(int) - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
setDarkmodeColor(int) - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+Sets the dark mode color of this label.
+
setDarkmodeColor(int) - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
Sets the dark mode color of this label.
setDarkmodeColor(int) - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Sets the dark mode color of this label.
+Sets the dark mode color of this text widget.
setDirection(WAbstractSlider.Direction) - Method in class io.github.cottonmc.cotton.gui.widget.WAbstractSlider
@@ -2335,6 +2380,18 @@ S
setDraggingFinishedListener(IntConsumer) - Method in class io.github.cottonmc.cotton.gui.widget.WAbstractSlider
+setDrawShadows(boolean) - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
+
+Sets whether shadows should be drawn for this label.
+
+setDrawShadows(boolean) - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
+
+Sets whether shadows should be drawn for this label.
+
+setDrawShadows(boolean) - Method in class io.github.cottonmc.cotton.gui.widget.WText
+
+Sets whether shadows should be drawn for this text widget.
+
setDuration(int) - Method in class io.github.cottonmc.cotton.gui.widget.WItem
setEditable(boolean) - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
@@ -2343,18 +2400,6 @@ S
setEnabledColor(int) - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
-setFilter(Predicate<ItemStack>) - Method in class io.github.cottonmc.cotton.gui.ValidatedSlot
-
-Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
-setFilter(Predicate<ItemStack>) - Method in class io.github.cottonmc.cotton.gui.widget.WItemSlot
-
-Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
setFocused(Focus<K>) - Method in interface io.github.cottonmc.cotton.gui.widget.focus.FocusModel
Applies a focus to the target widget.
@@ -2647,14 +2692,16 @@ S
Sets the text of this text field.
setText(Supplier<String>) - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+Sets the text of this label.
+
setText(Text) - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
Sets the text of this label.
setText(Text) - Method in class io.github.cottonmc.cotton.gui.widget.WText
-Sets the text of this label.
+Sets the text of this text widget.
setTextPredicate(Predicate<String>) - Method in class io.github.cottonmc.cotton.gui.widget.WTextField
@@ -2738,6 +2785,10 @@ S
Sets the vertical alignment of this box.
+setVerticalAlignment(VerticalAlignment) - Method in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
+
+Sets the vertical text alignment of this label.
+
setVerticalAlignment(VerticalAlignment) - Method in class io.github.cottonmc.cotton.gui.widget.WLabel
Sets the vertical text alignment of this label.
@@ -3177,6 +3228,8 @@ V
The vertical alignment for this box's children.
+ verticalAlignment - Variable in class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
+
verticalAlignment - Variable in class io.github.cottonmc.cotton.gui.widget.WLabel
verticalAlignment - Variable in class io.github.cottonmc.cotton.gui.widget.WText
@@ -3206,7 +3259,7 @@ W
WBar - Class in io.github.cottonmc.cotton.gui.widget
-
+
WBar(Texture, Texture, int, int) - Constructor for class io.github.cottonmc.cotton.gui.widget.WBar
@@ -3264,9 +3317,13 @@ W
Dynamic labels are labels that pull their text from a Supplier<String>
.
WDynamicLabel(Supplier<String>) - Constructor for class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+
+
WDynamicLabel(Supplier<String>, int) - Constructor for class io.github.cottonmc.cotton.gui.widget.WDynamicLabel
-
+
+Constructs a new dynamic label.
+
WGridPanel - Class in io.github.cottonmc.cotton.gui.widget
A panel that positions children in a grid.
@@ -3331,7 +3388,7 @@ W
withTooltip(Text) - Method in class io.github.cottonmc.cotton.gui.widget.WBar
-Adds a tooltip
Text
to the WBar.
+Adds a tooltip
Text
to the WBar.
withUv(float, float, float, float) - Method in record class io.github.cottonmc.cotton.gui.widget.data.Texture
diff --git a/libgui/index.html b/libgui/index.html
index 227273f..b09fa19 100644
--- a/libgui/index.html
+++ b/libgui/index.html
@@ -2,7 +2,7 @@
-Overview (LibGui 10.0.0+1.20.6 API)
+Overview (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -48,7 +47,7 @@
Packages
diff --git a/libgui/io/github/cottonmc/cotton/gui/EmptyInventory.html b/libgui/io/github/cottonmc/cotton/gui/EmptyInventory.html
index a11d7b5..2091aaa 100644
--- a/libgui/io/github/cottonmc/cotton/gui/EmptyInventory.html
+++ b/libgui/io/github/cottonmc/cotton/gui/EmptyInventory.html
@@ -2,7 +2,7 @@
-
EmptyInventory (LibGui 10.0.0+1.20.6 API)
+
EmptyInventory (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
@@ -91,12 +90,12 @@
Class EmptyInventory
An empty inventory that cannot hold any items.
@@ -115,8 +114,8 @@ Field Summary
+Fields inherited from interface net.minecraft.inventory.Inventory
+DEFAULT_MAX_INTERACTION_RANGE
@@ -131,12 +130,12 @@ Method Summary
boolean
-
+
void
-
+
boolean
@@ -145,16 +144,16 @@ Method Summary
void
-
+
-
+
void
+ ItemStack stack)
int
@@ -166,8 +165,8 @@ Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+Methods inherited from interface net.minecraft.inventory.Inventory
+canTransferTo , containsAny , containsAny , count , getMaxCount , getMaxCountPerStack , isValid , onClose , onOpen
@@ -199,7 +198,7 @@ clear
public void clear ()
Specified by:
-clear
in interface Clearable
+clear
in interface Clearable
@@ -209,7 +208,7 @@ size
public int size ()
Specified by:
-size
in interface Inventory
+size
in interface Inventory
@@ -219,38 +218,38 @@ isEmpty
public boolean isEmpty ()
Specified by:
-isEmpty
in interface Inventory
+isEmpty
in interface Inventory
@@ -271,17 +270,17 @@ markDirty
public void markDirty ()
Specified by:
-markDirty
in interface Inventory
+markDirty
in interface Inventory
diff --git a/libgui/io/github/cottonmc/cotton/gui/GuiDescription.html b/libgui/io/github/cottonmc/cotton/gui/GuiDescription.html
index e96abea..4f21569 100644
--- a/libgui/io/github/cottonmc/cotton/gui/GuiDescription.html
+++ b/libgui/io/github/cottonmc/cotton/gui/GuiDescription.html
@@ -2,7 +2,7 @@
-GuiDescription (LibGui 10.0.0+1.20.6 API)
+GuiDescription (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -134,7 +133,7 @@ Method Summary
Gets the currently-focused WWidget.
-
+
Gets the object which manages the integer properties used by WBars and such.
@@ -191,7 +190,7 @@
Method Summary
Sets whether this GUI is fullscreen.
-
+
Sets the object which manages the integer properties used by WBars
@@ -294,7 +293,7 @@ setTitleColor
setPropertyDelegate
-
+
Sets the object which manages the integer properties used by WBars
@@ -317,7 +316,7 @@ addPainters
getPropertyDelegate
+@Nullable PropertyDelegate getPropertyDelegate ()
Gets the object which manages the integer properties used by WBars and such.
diff --git a/libgui/io/github/cottonmc/cotton/gui/ItemSyncedGuiDescription.html b/libgui/io/github/cottonmc/cotton/gui/ItemSyncedGuiDescription.html
index b2a3f41..4c0b1a5 100644
--- a/libgui/io/github/cottonmc/cotton/gui/ItemSyncedGuiDescription.html
+++ b/libgui/io/github/cottonmc/cotton/gui/ItemSyncedGuiDescription.html
@@ -2,7 +2,7 @@
-ItemSyncedGuiDescription (LibGui 10.0.0+1.20.6 API)
+ItemSyncedGuiDescription (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -86,7 +85,7 @@
Class ItemSyncedGuiDescription
java.lang.Object
-
net.minecraft.screen.ScreenHandler
+
-
Methods inherited from class net.minecraft.screen.ScreenHandler
-
addListener , addProperties , addProperty , addSlot , calculateComparatorOutput , calculateComparatorOutput , calculateStackSize , canInsertIntoSlot , canInsertIntoSlot , canInsertItemIntoSlot , canUse , checkDataCount , checkSize , copySharedSlots , disableSyncing , dropInventory , enableSyncing , endQuickCraft , getCursorStack , getRevision , getSlot , getSlotIndex , getStacks , getType , insertItem , isValid , nextRevision , onButtonClick , onContentChanged , onSlotClick , packQuickCraftData , removeListener , sendContentUpdates , setCursorStack , setPreviousCursorStack , setPreviousTrackedSlot , setPreviousTrackedSlotMutable , setProperty , setStackInSlot , shouldQuickCraftContinue , syncState , unpackQuickCraftButton , unpackQuickCraftStage , updateSlotStacks , updateSyncHandler , updateToClient
+
Methods inherited from class net.minecraft.screen.ScreenHandler
+
addListener , addProperties , addProperty , addSlot , calculateComparatorOutput , calculateComparatorOutput , calculateStackSize , canInsertIntoSlot , canInsertIntoSlot , canInsertItemIntoSlot , canUse , checkDataCount , checkSize , copySharedSlots , disableSyncing , dropInventory , enableSyncing , endQuickCraft , getCursorStack , getRevision , getSlot , getSlotIndex , getStacks , getType , insertItem , isValid , nextRevision , onButtonClick , onContentChanged , onSlotClick , packQuickCraftData , removeListener , sendContentUpdates , setCursorStack , setPreviousCursorStack , setPreviousTrackedSlot , setPreviousTrackedSlotMutable , setProperty , setStackInSlot , shouldQuickCraftContinue , syncState , unpackQuickCraftButton , unpackQuickCraftStage , updateSlotStacks , updateSyncHandler , updateToClient
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
@@ -204,14 +203,14 @@
Field Details
owner
-
+
A reference to the owning item stack of this GUI.
ownerStack
-
+
The initial item stack of this GUI. This stack must not be mutated!
@@ -226,10 +225,10 @@
Constructor Details
ItemSyncedGuiDescription
-
Constructs an ItemSyncedGuiDescription
.
Parameters:
@@ -251,11 +250,11 @@ Method Details
canUse
-
+
The default implementation for ItemSyncedGuiDescription
returns true
if and only if
- the current owning item stack is fully equal
+ the current owning item stack is fully equal
to the original owner .
If the item NBT is intended to change, subclasses should override this method to only check
diff --git a/libgui/io/github/cottonmc/cotton/gui/PropertyDelegateHolder.html b/libgui/io/github/cottonmc/cotton/gui/PropertyDelegateHolder.html
index e967780..4c7dcf0 100644
--- a/libgui/io/github/cottonmc/cotton/gui/PropertyDelegateHolder.html
+++ b/libgui/io/github/cottonmc/cotton/gui/PropertyDelegateHolder.html
@@ -2,7 +2,7 @@
-
PropertyDelegateHolder (LibGui 10.0.0+1.20.6 API)
+
PropertyDelegateHolder (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
@@ -112,7 +111,7 @@
Method Summary
-
+
Gets this block entity's property delegate.
@@ -134,11 +133,11 @@
Method Details
Returns:
the property delegate
diff --git a/libgui/io/github/cottonmc/cotton/gui/SyncedGuiDescription.html b/libgui/io/github/cottonmc/cotton/gui/SyncedGuiDescription.html
index 36019c5..f0be7cf 100644
--- a/libgui/io/github/cottonmc/cotton/gui/SyncedGuiDescription.html
+++ b/libgui/io/github/cottonmc/cotton/gui/SyncedGuiDescription.html
@@ -2,7 +2,7 @@
-SyncedGuiDescription (LibGui 10.0.0+1.20.6 API)
+SyncedGuiDescription (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
@@ -86,7 +85,7 @@
Class SyncedGuiDescription
java.lang.Object
-
@@ -101,7 +100,7 @@
Class SyncedGuiDescription<
A screen handler-based GUI description for GUIs with slots.
@@ -116,7 +115,7 @@ Field Summary
-
+
protected int
@@ -128,10 +127,10 @@ Field Summary
protected boolean
-
+
-
+
@@ -146,13 +145,13 @@ Field Summary
protected boolean
-
+
+Fields inherited from class net.minecraft.screen.ScreenHandler
+EMPTY_SPACE_SLOT_INDEX , field_30731 , field_30732 , field_30733 , field_30734 , field_30735 , field_30736 , field_30737 , slots , syncId
@@ -163,17 +162,17 @@ Constructor Summary
-
Constructs a new synced GUI description without a block inventory or a property delegate.
-
Constructs a new synced GUI description.
@@ -202,7 +201,7 @@
Method Summary
Typical users won't call this.
boolean
-
+
@@ -219,24 +218,24 @@ Method Summary
-
-
+
+
Gets the block inventory at the context.
-
-getBlockInventory (ScreenHandlerContext ctx,
+
+
Gets the block inventory at the context.
-
-
+
+
Gets the property delegate at the context.
-
-getBlockPropertyDelegate (ScreenHandlerContext ctx,
+
+
Gets the property delegate at the context.
@@ -256,7 +255,7 @@
Method Summary
Gets the packet sender corresponding to this GUI's network side.
-
+
Gets the object which manages the integer properties used by WBars and such.
@@ -277,7 +276,7 @@
Method Summary
Gets the position of the screen title.
-
+
Returns the world of this GUI description's player.
@@ -298,10 +297,10 @@
Method Summary
Gets whether the title of this GUI should be rendered by the screen.
void
-
+
-
-
quickMove (PlayerEntity player,
+
+
void
@@ -320,7 +319,7 @@ Method Summary
Sets whether this GUI is fullscreen.
-
+
Sets the object which manages the integer properties used by WBars
@@ -357,8 +356,8 @@
Method Summary
-
Methods inherited from class net.minecraft.screen.ScreenHandler
-
addListener , addProperties , addProperty , addSlot , calculateComparatorOutput , calculateComparatorOutput , calculateStackSize , canInsertIntoSlot , canInsertIntoSlot , canInsertItemIntoSlot , canUse , checkDataCount , checkSize , copySharedSlots , disableSyncing , dropInventory , enableSyncing , endQuickCraft , getCursorStack , getRevision , getSlot , getSlotIndex , getStacks , getType , insertItem , isValid , nextRevision , onButtonClick , onContentChanged , onSlotClick , packQuickCraftData , removeListener , sendContentUpdates , setCursorStack , setPreviousCursorStack , setPreviousTrackedSlot , setPreviousTrackedSlotMutable , setProperty , setStackInSlot , shouldQuickCraftContinue , syncState , unpackQuickCraftButton , unpackQuickCraftStage , updateSlotStacks , updateSyncHandler , updateToClient
+Methods inherited from class net.minecraft.screen.ScreenHandler
+addListener , addProperties , addProperty , addSlot , calculateComparatorOutput , calculateComparatorOutput , calculateStackSize , canInsertIntoSlot , canInsertIntoSlot , canInsertItemIntoSlot , canUse , checkDataCount , checkSize , copySharedSlots , disableSyncing , dropInventory , enableSyncing , endQuickCraft , getCursorStack , getRevision , getSlot , getSlotIndex , getStacks , getType , insertItem , isValid , nextRevision , onButtonClick , onContentChanged , onSlotClick , packQuickCraftData , removeListener , sendContentUpdates , setCursorStack , setPreviousCursorStack , setPreviousTrackedSlot , setPreviousTrackedSlotMutable , setProperty , setStackInSlot , shouldQuickCraftContinue , syncState , unpackQuickCraftButton , unpackQuickCraftStage , updateSlotStacks , updateSyncHandler , updateToClient
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
@@ -379,25 +378,25 @@ Field Details
@@ -453,13 +452,13 @@ Constructor Details
SyncedGuiDescription
-
Constructs a new synced GUI description without a block inventory or a property delegate.
Parameters:
-type
- the ScreenHandlerType
of this GUI description
+type
- the ScreenHandlerType
of this GUI description
syncId
- the current sync ID
playerInventory
- the player inventory of the player viewing this screen
@@ -468,21 +467,21 @@ SyncedGuiDescription
SyncedGuiDescription
-
Constructs a new synced GUI description.
Parameters:
-type
- the ScreenHandlerType
of this GUI description
+type
- the ScreenHandlerType
of this GUI description
syncId
- the current sync ID
playerInventory
- the player inventory of the player viewing this screen
blockInventory
- the block inventory of a corresponding container block, or null if not found or applicable
-propertyDelegate
- a property delegate whose properties, if any, will automatically be added
+propertyDelegate
- a property delegate whose properties, if any, will automatically be added
@@ -591,11 +590,11 @@ addSlotPeer
quickMove
-
Gets the object which manages the integer properties used by WBars and such.
@@ -615,7 +614,7 @@ getPropertyDelegate
setPropertyDelegate
-
+
Sets the object which manages the integer properties used by WBars
@@ -668,7 +667,7 @@ createPlayerInventoryPanel
getBlockInventory
-
+
Gets the block inventory at the context.
If no inventory is found, returns EmptyInventory.INSTANCE
.
@@ -690,7 +689,7 @@
getBlockInventory
getBlockInventory
-public static Inventory getBlockInventory (ScreenHandlerContext ctx,
+
Gets the block inventory at the context.
@@ -717,7 +716,7 @@
getBlockInventory
getBlockPropertyDelegate
-
+
Gets the property delegate at the context.
If no property delegate is found, returns an empty property delegate with no properties.
@@ -734,7 +733,7 @@
getBlockPropertyDelegate
getBlockPropertyDelegate
-public static PropertyDelegate getBlockPropertyDelegate (ScreenHandlerContext ctx,
+
Gets the property delegate at the context.
@@ -756,20 +755,20 @@
getBlockPropertyDelegate
@@ -941,7 +940,7 @@
setTitlePos
getWorld
-
+
Returns the world of this GUI description's player.
Returns:
diff --git a/libgui/io/github/cottonmc/cotton/gui/ValidatedSlot.html b/libgui/io/github/cottonmc/cotton/gui/ValidatedSlot.html
index b5e6d01..587c146 100644
--- a/libgui/io/github/cottonmc/cotton/gui/ValidatedSlot.html
+++ b/libgui/io/github/cottonmc/cotton/gui/ValidatedSlot.html
@@ -2,7 +2,7 @@
-ValidatedSlot (LibGui 10.0.0+1.20.6 API)
+ValidatedSlot (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -86,14 +85,14 @@
Class ValidatedSlot
@@ -106,7 +105,7 @@ Field Summary
-
+
@@ -116,8 +115,8 @@
Field Summary
+Fields inherited from class net.minecraft.screen.slot.Slot
+id , inventory , x , y
@@ -128,7 +127,7 @@
Constructor Summary
-
ValidatedSlot (Inventory inventory,
+
@@ -141,7 +140,7 @@ Constructor Summary
Method Summary
-
All Methods Instance Methods Concrete Methods Deprecated Methods
+
All Methods Instance Methods Concrete Methods
@@ -154,66 +153,52 @@
Method Summary
Adds a change listener to this slot.
boolean
-
+
boolean
-
+
-
-
-
-
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
-
-
-
+
+
+
Gets the item stack input filter of this slot.
-
int
-
-
+
int
+
+
Gets the index of this slot in its inventory.
-
-
-
+
+
+
Gets the item stack output filter of this slot.
-
-
-
-
boolean
-
+
+
boolean
-
-
-
Returns whether items can be inserted into this slot.
-
+
+
boolean
-
+
-
Returns whether items can be taken from this slot.
+
Returns whether items can be inserted into this slot.
boolean
-
+
-
Tests whether this slot is visible.
-
-
void
-
-
-
void
-
-
-
Deprecated, for removal: This API element is subject to removal in a future version.
-
+
Returns whether items can be taken from this slot.
+
boolean
+
+
+
Tests whether this slot is visible.
+
void
+
+
void
-
+
Sets the item stack input filter of this slot.
@@ -223,7 +208,7 @@
Method Summary
Sets whether inserting items into this slot is allowed.
void
-
+
Sets the item stack output filter of this slot.
@@ -241,8 +226,8 @@
Method Summary
-
Methods inherited from class net.minecraft.screen.slot.Slot
-
canBeHighlighted , canTakePartial , disablesDynamicDisplay , getBackgroundSprite , getIndex , getMaxItemCount , getMaxItemCount , hasStack , insertStack , insertStack , onCrafted , onCrafted , onQuickTransfer , onTake , onTakeItem , setStack , setStack , setStackNoCallbacks , takeStack , takeStackRange , tryTakeStackRange
+
Methods inherited from class net.minecraft.screen.slot.Slot
+
canBeHighlighted , canTakePartial , disablesDynamicDisplay , getBackgroundSprite , getIndex , getMaxItemCount , getMaxItemCount , hasStack , insertStack , insertStack , onCrafted , onCrafted , onQuickTransfer , onTake , onTakeItem , setStack , setStack , setStackNoCallbacks , takeStack , takeStackRange , tryTakeStackRange
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
@@ -260,7 +245,7 @@
Field Details
DEFAULT_ITEM_FILTER
-
+
Since:
@@ -285,7 +270,7 @@ Constructor Details
ValidatedSlot
-public ValidatedSlot (Inventory inventory,
+public ValidatedSlot (Inventory inventory,
int index,
int x,
int y)
@@ -302,30 +287,30 @@ Method Details
@@ -335,7 +320,7 @@ markDirty
public void markDirty ()
Overrides:
-markDirty
in class Slot
+markDirty
in class Slot
@@ -405,7 +390,7 @@ setTakingAllowed
+ Consumer <juuxel.libninepatch.NinePatch.Builder<Identifier >> configurator)
Creates a new nine-patch background painter with a custom configuration.
-
+
Creates a new nine-patch background painter.
void
-
paintBackground (DrawContext context,
+
@@ -228,7 +227,7 @@ Method Details
paintBackground
-void paintBackground (DrawContext context,
+
@@ -279,7 +278,7 @@ createColorful
createNinePatch
-
+
Creates a new nine-patch background painter.
The resulting painter has a corner size of 4 px and a corner UV of 0.25.
@@ -303,7 +302,7 @@ createNinePatch
createNinePatch
+ Consumer <juuxel.libninepatch.NinePatch.Builder<Identifier >> configurator)
Creates a new nine-patch background painter with a custom configuration.
This method cannot be used for GUI sprites . Instead, you can use the
@@ -350,7 +349,7 @@
createLightDarkVariants
createGuiSprite
-
+
Creates a background painter that uses a texture from the GUI atlas.
This method can be used to draw tiled or nine-slice GUI sprites from resource packs
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/CottonClientScreen.html b/libgui/io/github/cottonmc/cotton/gui/client/CottonClientScreen.html
index 759e89c..5628f97 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/CottonClientScreen.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/CottonClientScreen.html
@@ -2,7 +2,7 @@
-
CottonClientScreen (LibGui 10.0.0+1.20.6 API)
+
CottonClientScreen (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
@@ -86,8 +85,8 @@
Class CottonClientScreen
java.lang.Object
-
-
Fields inherited from class net.minecraft.client.gui.screen.Screen
-
client , executor , FOOTER_SEPARATOR_TEXTURE , HEADER_SEPARATOR_TEXTURE , height , INWORLD_FOOTER_SEPARATOR_TEXTURE , INWORLD_HEADER_SEPARATOR_TEXTURE , MENU_BACKGROUND_TEXTURE , PANORAMA_RENDERER , ROTATING_PANORAMA_RENDERER , textRenderer , title , width
+
Fields inherited from class net.minecraft.client.gui.screen.Screen
+
client , executor , FOOTER_SEPARATOR_TEXTURE , HEADER_SEPARATOR_TEXTURE , height , INWORLD_FOOTER_SEPARATOR_TEXTURE , INWORLD_HEADER_SEPARATOR_TEXTURE , MENU_BACKGROUND_TEXTURE , narratorToggleButton , PANORAMA_RENDERER , ROTATING_PANORAMA_RENDERER , textRenderer , title , width
+Fields inherited from interface net.minecraft.client.gui.Element
+MAX_DOUBLE_CLICK_INTERVAL
@@ -163,7 +162,7 @@ Constructor Summary
-
@@ -181,7 +180,7 @@ Method Summary
protected void
-
+
boolean
charTyped (char ch,
@@ -237,7 +236,7 @@ Method Summary
void
-
-
Methods inherited from class net.minecraft.client.gui.screen.Screen
-
addDrawable , addDrawableChild , addScreenNarrations , addSelectableChild , applyBlur , applyKeyPressNarratorDelay , applyMouseMoveNarratorDelay , applyMousePressScrollNarratorDelay , applyNarratorModeChangeDelay , blur , children , clearAndInit , clearChildren , clearTooltip , close , filesDragged , findSelectedElementData , getMusic , getNarratedTitle , getNavigationFocus , getPanoramaTickDelta , getTitle , getTooltipFromItem , getUsageNarrationText , handleTextClick , hasAltDown , hasControlDown , hasShiftDown , hasUsageText , init , initTabNavigation , insertText , isCopy , isCut , isMouseOver , isPaste , isSelectAll , isValidCharacterForName , narrateScreenIfNarrationEnabled , onDisplayed , remove , renderBackground , renderBackgroundTexture , renderDarkening , renderDarkening , renderInGameBackground , renderPanoramaBackground , renderWithTooltip , resize , setInitialFocus , setInitialFocus , setTooltip , setTooltip , setTooltip , setTooltip , shouldCloseOnEsc , shouldPause , switchFocus , updateNarrator , wrapScreenError
+Methods inherited from class net.minecraft.client.gui.screen.Screen
+addDrawable , addDrawableChild , addScreenNarrations , addSelectableChild , applyBlur , applyKeyPressNarratorDelay , applyMouseMoveNarratorDelay , applyMousePressScrollNarratorDelay , blur , children , clearAndInit , clearChildren , clearTooltip , close , filesDragged , findSelectedElementData , getMusic , getNarratedTitle , getNavigationFocus , getTitle , getTooltipFromItem , getUsageNarrationText , handleTextClick , hasAltDown , hasControlDown , hasShiftDown , hasUsageText , init , initTabNavigation , insertText , isCopy , isCut , isMouseOver , isPaste , isSelectAll , isValidCharacterForName , narrateScreenIfNarrationEnabled , onDisplayed , refreshNarrator , remove , renderBackground , renderBackgroundTexture , renderDarkening , renderDarkening , renderInGameBackground , renderPanoramaBackground , renderWithTooltip , resize , setInitialFocus , setInitialFocus , setTooltip , setTooltip , setTooltip , setTooltip , shouldCloseOnEsc , shouldPause , switchFocus , updateNarrator , wrapScreenError
+
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
+
getFocused , isDragging , setDragging , setFocused
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
+getNavigationOrder
+
Methods inherited from interface net.minecraft.client.gui.ParentElement
+
getFocusedPath , getNavigationPath , hoveredElement , isFocused , setFocused
@@ -349,7 +348,7 @@
CottonClientScreen
CottonClientScreen
-
Specified by:
-mouseReleased
in interface Element
+mouseReleased
in interface Element
Specified by:
-mouseReleased
in interface ParentElement
+mouseReleased
in interface ParentElement
@@ -489,9 +488,9 @@
mouseDragged
double deltaY)
Specified by:
-mouseDragged
in interface Element
+mouseDragged
in interface Element
Specified by:
-mouseDragged
in interface ParentElement
+mouseDragged
in interface ParentElement
@@ -504,9 +503,9 @@
mouseScrolled
double verticalAmount)
Specified by:
-mouseScrolled
in interface Element
+mouseScrolled
in interface Element
Specified by:
-mouseScrolled
in interface ParentElement
+mouseScrolled
in interface ParentElement
@@ -517,7 +516,7 @@ mouseMoved
double mouseY)
Specified by:
-mouseMoved
in interface Element
+mouseMoved
in interface Element
@@ -528,9 +527,9 @@
charTyped
int keyCode)
Specified by:
-charTyped
in interface Element
+charTyped
in interface Element
Specified by:
-charTyped
in interface ParentElement
+charTyped
in interface ParentElement
@@ -542,11 +541,11 @@ keyPressed
int modifiers)
Specified by:
-keyPressed
in interface Element
+keyPressed
in interface Element
Specified by:
-keyPressed
in interface ParentElement
+keyPressed
in interface ParentElement
Overrides:
-keyPressed
in class Screen
+keyPressed
in class Screen
@@ -558,19 +557,19 @@ keyReleased
int modifiers)
Specified by:
-keyReleased
in interface Element
+keyReleased
in interface Element
Specified by:
-keyReleased
in interface ParentElement
+keyReleased
in interface ParentElement
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.Positioner.html b/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.Positioner.html
index 504746f..622388b 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.Positioner.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.Positioner.html
@@ -2,7 +2,7 @@
-CottonHud.Positioner (LibGui 10.0.0+1.20.6 API)
+CottonHud.Positioner (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.html b/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.html
index 909117a..ff98d3e 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/CottonHud.html
@@ -2,7 +2,7 @@
-CottonHud (LibGui 10.0.0+1.20.6 API)
+CottonHud (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.html b/libgui/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.html
index 16075ec..931bba2 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.html
@@ -2,7 +2,7 @@
-CottonInventoryScreen (LibGui 10.0.0+1.20.6 API)
+CottonInventoryScreen (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -86,9 +85,9 @@
Class CottonInventoryScreen<T extends SyncedGuiDescription >
java.lang.Object
-
net.minecraft.client.gui.AbstractParentElement
-
net.minecraft.client.gui.screen.Screen
-
net.minecraft.client.gui.screen.ingame.HandledScreen <T>
+
net.minecraft.client.gui.AbstractParentElement
+
@@ -101,11 +100,11 @@
Class CottonInventoryScree
All Implemented Interfaces:
-io.github.cottonmc.cotton.gui.impl.client.CottonScreenImpl
, Drawable
, Element
, Navigable
, ParentElement
, ScreenHandlerProvider <T>
+io.github.cottonmc.cotton.gui.impl.client.CottonScreenImpl
, Drawable
, Element
, Navigable
, ParentElement
, ScreenHandlerProvider <T>
@@ -116,8 +115,8 @@ Class CottonInventoryScree
@@ -137,14 +136,14 @@
Field Summary
-
Fields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
-
BACKGROUND_TEXTURE , backgroundHeight , backgroundWidth , cursorDragging , cursorDragSlots , field_32322 , focusedSlot , handler , playerInventoryTitle , playerInventoryTitleX , playerInventoryTitleY , titleX , titleY , x , y
+
Fields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
+
BACKGROUND_TEXTURE , backgroundHeight , backgroundWidth , cursorDragging , cursorDragSlots , field_32322 , focusedSlot , handler , playerInventoryTitle , playerInventoryTitleX , playerInventoryTitleY , titleX , titleY , x , y
-
Fields inherited from class net.minecraft.client.gui.screen.Screen
-
client , executor , FOOTER_SEPARATOR_TEXTURE , HEADER_SEPARATOR_TEXTURE , height , INWORLD_FOOTER_SEPARATOR_TEXTURE , INWORLD_HEADER_SEPARATOR_TEXTURE , MENU_BACKGROUND_TEXTURE , PANORAMA_RENDERER , ROTATING_PANORAMA_RENDERER , textRenderer , title , width
+
Fields inherited from class net.minecraft.client.gui.screen.Screen
+
client , executor , FOOTER_SEPARATOR_TEXTURE , HEADER_SEPARATOR_TEXTURE , height , INWORLD_FOOTER_SEPARATOR_TEXTURE , INWORLD_HEADER_SEPARATOR_TEXTURE , MENU_BACKGROUND_TEXTURE , narratorToggleButton , PANORAMA_RENDERER , ROTATING_PANORAMA_RENDERER , textRenderer , title , width
+
Fields inherited from interface net.minecraft.client.gui.Element
+
MAX_DOUBLE_CLICK_INTERVAL
@@ -156,24 +155,24 @@ Constructor Summary
+ PlayerEntity player)
Constructs a new screen without a title.
+ PlayerEntity player,
+ Text title)
+ PlayerInventory inventory)
Constructs a new screen without a title.
+ PlayerInventory inventory,
+ Text title)
@@ -192,20 +191,20 @@ Method Summary
protected void
-
+
boolean
protected void
-drawBackground (DrawContext context,
+
protected void
-
void
-
-
Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
-
close , drawMouseoverTooltip , drawSlot , drawSlotHighlight , endTouchDrag , getScreenHandler , getTooltipFromItem , handleHotbarKeyPressed , isClickOutsideBounds , isPointWithinBounds , onMouseClick , onSlotChangedState , renderBackground , tick
+Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
+close , drawMouseoverTooltip , drawSlot , drawSlotHighlight , endTouchDrag , getScreenHandler , getTooltipFromItem , handleHotbarKeyPressed , isClickOutsideBounds , isPointWithinBounds , onMouseClick , onSlotChangedState , renderBackground , tick
-
Methods inherited from class net.minecraft.client.gui.screen.Screen
-
addDrawable , addDrawableChild , addScreenNarrations , addSelectableChild , applyBlur , applyKeyPressNarratorDelay , applyMouseMoveNarratorDelay , applyMousePressScrollNarratorDelay , applyNarratorModeChangeDelay , blur , children , clearAndInit , clearChildren , clearTooltip , filesDragged , findSelectedElementData , getMusic , getNarratedTitle , getNavigationFocus , getPanoramaTickDelta , getTitle , getTooltipFromItem , getUsageNarrationText , handleTextClick , hasAltDown , hasControlDown , hasShiftDown , hasUsageText , init , initTabNavigation , insertText , isCopy , isCut , isMouseOver , isPaste , isSelectAll , isValidCharacterForName , narrateScreenIfNarrationEnabled , onDisplayed , remove , renderBackgroundTexture , renderDarkening , renderDarkening , renderInGameBackground , renderPanoramaBackground , renderWithTooltip , resize , setInitialFocus , setInitialFocus , setTooltip , setTooltip , setTooltip , setTooltip , shouldCloseOnEsc , switchFocus , updateNarrator , wrapScreenError
+Methods inherited from class net.minecraft.client.gui.screen.Screen
+addDrawable , addDrawableChild , addScreenNarrations , addSelectableChild , applyBlur , applyKeyPressNarratorDelay , applyMouseMoveNarratorDelay , applyMousePressScrollNarratorDelay , blur , children , clearAndInit , clearChildren , clearTooltip , filesDragged , findSelectedElementData , getMusic , getNarratedTitle , getNavigationFocus , getTitle , getTooltipFromItem , getUsageNarrationText , handleTextClick , hasAltDown , hasControlDown , hasShiftDown , hasUsageText , init , initTabNavigation , insertText , isCopy , isCut , isMouseOver , isPaste , isSelectAll , isValidCharacterForName , narrateScreenIfNarrationEnabled , onDisplayed , refreshNarrator , remove , renderBackgroundTexture , renderDarkening , renderDarkening , renderInGameBackground , renderPanoramaBackground , renderWithTooltip , resize , setInitialFocus , setInitialFocus , setTooltip , setTooltip , setTooltip , setTooltip , shouldCloseOnEsc , switchFocus , updateNarrator , wrapScreenError
+Methods inherited from class net.minecraft.client.gui.AbstractParentElement
+getFocused , isDragging , setDragging , setFocused
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
+Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
+getNavigationOrder
+Methods inherited from interface net.minecraft.client.gui.ParentElement
+getFocusedPath , getNavigationPath , hoveredElement , isFocused , setFocused
@@ -344,7 +343,7 @@ Constructor Details
CottonInventoryScreen
+ PlayerInventory inventory)
Constructs a new screen without a title.
Parameters:
@@ -359,8 +358,8 @@
CottonInventoryScreen
+ PlayerInventory inventory,
+ Text title)
Constructs a new screen.
Parameters:
@@ -376,7 +375,7 @@
CottonInventoryScreen
public CottonInventoryScreen (T description,
- PlayerEntity player)
+ PlayerEntity player)
Constructs a new screen without a title.
Parameters:
@@ -389,8 +388,8 @@
CottonInventoryScreen
+ PlayerEntity player,
+ Text title)
Constructs a new screen.
Parameters:
@@ -414,7 +413,7 @@ init
public void init ()
Overrides:
-init
in class HandledScreen <T extends SyncedGuiDescription >
+init
in class HandledScreen <T extends SyncedGuiDescription >
@@ -424,7 +423,7 @@ removed
public void removed ()
Overrides:
-removed
in class HandledScreen <T extends SyncedGuiDescription >
+removed
in class HandledScreen <T extends SyncedGuiDescription >
@@ -480,7 +479,7 @@ shouldPause
public boolean shouldPause ()
Overrides:
-shouldPause
in class HandledScreen <T extends SyncedGuiDescription >
+shouldPause
in class HandledScreen <T extends SyncedGuiDescription >
@@ -492,11 +491,11 @@ mouseClicked
int mouseButton)
Specified by:
-mouseClicked
in interface Element
+mouseClicked
in interface Element
Specified by:
-mouseClicked
in interface ParentElement
+mouseClicked
in interface ParentElement
Overrides:
-mouseClicked
in class HandledScreen <T extends SyncedGuiDescription >
+mouseClicked
in class HandledScreen <T extends SyncedGuiDescription >
@@ -508,11 +507,11 @@ mouseReleased
int mouseButton)
Specified by:
-mouseReleased
in interface Element
+mouseReleased
in interface Element
Specified by:
-mouseReleased
in interface ParentElement
+mouseReleased
in interface ParentElement
Overrides:
-mouseReleased
in class HandledScreen <T extends SyncedGuiDescription >
+mouseReleased
in class HandledScreen <T extends SyncedGuiDescription >
@@ -526,11 +525,11 @@ mouseDragged
double deltaY)
Specified by:
-mouseDragged
in interface Element
+mouseDragged
in interface Element
Specified by:
-mouseDragged
in interface ParentElement
+mouseDragged
in interface ParentElement
Overrides:
-mouseDragged
in class HandledScreen <T extends SyncedGuiDescription >
+mouseDragged
in class HandledScreen <T extends SyncedGuiDescription >
@@ -543,9 +542,9 @@ mouseScrolled
double verticalAmount)
Specified by:
-mouseScrolled
in interface Element
+mouseScrolled
in interface Element
Specified by:
-mouseScrolled
in interface ParentElement
+mouseScrolled
in interface ParentElement
@@ -556,7 +555,7 @@ mouseMoved
double mouseY)
Specified by:
-mouseMoved
in interface Element
+mouseMoved
in interface Element
@@ -567,9 +566,9 @@ charTyped
int keyCode)
Specified by:
-charTyped
in interface Element
+charTyped
in interface Element
Specified by:
-charTyped
in interface ParentElement
+charTyped
in interface ParentElement
@@ -581,11 +580,11 @@ keyPressed
int modifiers)
Specified by:
-keyPressed
in interface Element
+keyPressed
in interface Element
Specified by:
-keyPressed
in interface ParentElement
+keyPressed
in interface ParentElement
Overrides:
-keyPressed
in class HandledScreen <T extends SyncedGuiDescription >
+keyPressed
in class HandledScreen <T extends SyncedGuiDescription >
@@ -597,29 +596,29 @@ keyReleased
int modifiers)
Specified by:
-keyReleased
in interface Element
+keyReleased
in interface Element
Specified by:
-keyReleased
in interface ParentElement
+keyReleased
in interface ParentElement
drawBackground
-protected void drawBackground (DrawContext context,
+protected void drawBackground (DrawContext context,
float partialTicks,
int mouseX,
int mouseY)
Specified by:
-drawBackground
in class HandledScreen <T extends SyncedGuiDescription >
+drawBackground
in class HandledScreen <T extends SyncedGuiDescription >
paintDescription
-public void paintDescription (DrawContext context,
+public void paintDescription (DrawContext context,
int mouseX,
int mouseY,
float delta)
@@ -638,27 +637,27 @@ paintDescription
render
-public void render (DrawContext context,
+public void render (DrawContext context,
int mouseX,
int mouseY,
float partialTicks)
Specified by:
-render
in interface Drawable
+render
in interface Drawable
Overrides:
-render
in class HandledScreen <T extends SyncedGuiDescription >
+render
in class HandledScreen <T extends SyncedGuiDescription >
drawForeground
-protected void drawForeground (DrawContext context,
+protected void drawForeground (DrawContext context,
int mouseX,
int mouseY)
Overrides:
-drawForeground
in class HandledScreen <T extends SyncedGuiDescription >
+drawForeground
in class HandledScreen <T extends SyncedGuiDescription >
@@ -668,17 +667,17 @@ handledScreenTick
protected void handledScreenTick ()
Overrides:
-handledScreenTick
in class HandledScreen <T extends SyncedGuiDescription >
+handledScreenTick
in class HandledScreen <T extends SyncedGuiDescription >
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/LibGui.html b/libgui/io/github/cottonmc/cotton/gui/client/LibGui.html
index 3231552..4eb2fa6 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/LibGui.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/LibGui.html
@@ -2,7 +2,7 @@
-LibGui (LibGui 10.0.0+1.20.6 API)
+LibGui (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/LightweightGuiDescription.html b/libgui/io/github/cottonmc/cotton/gui/client/LightweightGuiDescription.html
index 56d5bac..769f4be 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/LightweightGuiDescription.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/LightweightGuiDescription.html
@@ -2,7 +2,7 @@
-LightweightGuiDescription (LibGui 10.0.0+1.20.6 API)
+LightweightGuiDescription (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -119,7 +118,7 @@ Field Summary
protected boolean
-
+
@@ -176,7 +175,7 @@ Method Summary
Gets the currently-focused WWidget.
-
+
Gets the object which manages the integer properties used by WBars and such.
@@ -228,7 +227,7 @@
Method Summary
Sets whether this GUI is fullscreen.
-
+
Sets the object which manages the integer properties used by WBars
@@ -290,7 +289,7 @@ rootPanel
@@ -448,7 +447,7 @@ addSlotPeer
public @Nullable PropertyDelegate getPropertyDelegate ()
Gets the object which manages the integer properties used by WBars and such.
@@ -460,7 +459,7 @@ getPropertyDelegate
setPropertyDelegate
-
+
Sets the object which manages the integer properties used by WBars
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/NinePatchBackgroundPainter.html b/libgui/io/github/cottonmc/cotton/gui/client/NinePatchBackgroundPainter.html
index 4d7ec6d..614ffd3 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/NinePatchBackgroundPainter.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/NinePatchBackgroundPainter.html
@@ -2,7 +2,7 @@
-NinePatchBackgroundPainter (LibGui 10.0.0+1.20.6 API)
+NinePatchBackgroundPainter (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -133,7 +132,7 @@ Constructor Summary
@@ -162,7 +161,7 @@ Method Summary
void
-paintBackground (DrawContext context,
+
@@ -214,7 +213,7 @@ Constructor Details
NinePatchBackgroundPainter
-public NinePatchBackgroundPainter (juuxel.libninepatch.NinePatch<Identifier > ninePatch)
+public NinePatchBackgroundPainter (juuxel.libninepatch.NinePatch<Identifier > ninePatch)
@@ -298,7 +297,7 @@ setPadding
paintBackground
-public void paintBackground (DrawContext context,
+
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/Scissors.Frame.html b/libgui/io/github/cottonmc/cotton/gui/client/Scissors.Frame.html
index 1eba7a3..c58d1a4 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/Scissors.Frame.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/Scissors.Frame.html
@@ -2,7 +2,7 @@
-Scissors.Frame (LibGui 10.0.0+1.20.6 API)
+Scissors.Frame (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/Scissors.html b/libgui/io/github/cottonmc/cotton/gui/client/Scissors.html
index db117a8..cd61973 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/Scissors.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/Scissors.html
@@ -2,7 +2,7 @@
-Scissors (LibGui 10.0.0+1.20.6 API)
+Scissors (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/ScreenDrawing.html b/libgui/io/github/cottonmc/cotton/gui/client/ScreenDrawing.html
index 237142c..904dca5 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/ScreenDrawing.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/ScreenDrawing.html
@@ -2,7 +2,7 @@
-ScreenDrawing (LibGui 10.0.0+1.20.6 API)
+ScreenDrawing (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-Deprecated
Index
Help
@@ -112,7 +111,7 @@ Method Summary
float opacity)
static void
-coloredRect (DrawContext context,
+coloredRect (DrawContext context,
int left,
int top,
int width,
@@ -122,14 +121,14 @@ Method Summary
Draws an untextured rectangle of the specified RGB color.
static void
-drawBeveledPanel (DrawContext context,
+
Draws a default-sized recessed itemslot panel
static void
-drawBeveledPanel (DrawContext context,
+drawBeveledPanel (DrawContext context,
int x,
int y,
int width,
@@ -138,7 +137,7 @@ Method Summary
Draws a default-color recessed itemslot panel of variable size
static void
-drawBeveledPanel (DrawContext context,
+drawBeveledPanel (DrawContext context,
int x,
int y,
int width,
@@ -150,7 +149,7 @@ Method Summary
Draws a generalized-case beveled panel.
static void
-drawGuiPanel (DrawContext context,
+drawGuiPanel (DrawContext context,
int x,
int y,
int width,
@@ -159,7 +158,7 @@ Method Summary
Draws a beveled, round rectangle that is substantially similar to default Minecraft UI panels.
static void
-drawGuiPanel (DrawContext context,
+drawGuiPanel (DrawContext context,
int x,
int y,
int width,
@@ -169,7 +168,7 @@ Method Summary
Draws a beveled, round, and colored rectangle that is substantially similar to default Minecraft UI panels.
static void
-drawGuiPanel (DrawContext context,
+drawGuiPanel (DrawContext context,
int x,
int y,
int width,
@@ -182,7 +181,7 @@ Method Summary
Draws a beveled, round rectangle with custom edge colors that is substantially similar to default Minecraft UI panels.
static void
-drawString (DrawContext context,
+
static void
-drawString (DrawContext context,
+
static void
-
static void
-drawString (DrawContext context,
- OrderedText text,
+
static void
-drawStringWithShadow (DrawContext context,
+
static void
-drawStringWithShadow (DrawContext context,
- OrderedText text,
+
static void
-drawTextHover (DrawContext context,
- @Nullable Style textStyle,
+
@@ -256,23 +255,23 @@
Method Summary
float amount)
static void
-texturedGuiRect (DrawContext context,
+
Draws a textured rectangle with UV values based on the width and height.
static void
-texturedGuiRect (DrawContext context,
+
@@ -280,7 +279,7 @@ Method Summary
Draws a textured rectangle with UV values based on the width and height.
static void
-texturedRect (DrawContext context,
+texturedRect (DrawContext context,
int x,
int y,
int width,
@@ -291,7 +290,7 @@ Method Summary
Draws a textured rectangle.
static void
-texturedRect (DrawContext context,
+texturedRect (DrawContext context,
int x,
int y,
int width,
@@ -303,12 +302,12 @@ Method Summary
Draws a textured rectangle.
static void
-texturedRect (DrawContext context,
+texturedRect (DrawContext context,
int x,
int y,
int width,
int height,
- Identifier texture,
+ Identifier texture,
float u1,
float v1,
float u2,
@@ -318,12 +317,12 @@ Method Summary
Draws a textured rectangle.
static void
-texturedRect (DrawContext context,
+texturedRect (DrawContext context,
int x,
int y,
int width,
int height,
- Identifier texture,
+ Identifier texture,
float u1,
float v1,
float u2,
@@ -334,23 +333,23 @@ Method Summary
Draws a textured rectangle.
static void
-texturedRect (DrawContext context,
+
Draws a textured rectangle.
static void
-texturedRect (DrawContext context,
+
@@ -376,12 +375,12 @@
Method Details
texturedRect
-public static void texturedRect (DrawContext context,
+
Draws a textured rectangle.
@@ -399,12 +398,12 @@ texturedRect
texturedRect
-public static void texturedRect (DrawContext context,
+public static void texturedRect (DrawContext context,
int x,
int y,
int width,
int height,
- Identifier texture,
+ Identifier texture,
int color,
float opacity)
Draws a textured rectangle.
@@ -426,12 +425,12 @@ texturedRect
texturedRect
-public static void texturedRect (DrawContext context,
+public static void texturedRect (DrawContext context,
int x,
int y,
int width,
int height,
- Identifier texture,
+ Identifier texture,
float u1,
float v1,
float u2,
@@ -457,7 +456,7 @@ texturedRect
texturedRect
-public static void texturedRect (DrawContext context,
+public static void texturedRect (DrawContext context,
int x,
int y,
int width,
@@ -482,7 +481,7 @@ texturedRect
texturedRect
-public static void texturedRect (DrawContext context,
+public static void texturedRect (DrawContext context,
int x,
int y,
int width,
@@ -509,12 +508,12 @@ texturedRect
texturedRect
-public static void texturedRect (DrawContext context,
+public static void texturedRect (DrawContext context,
int x,
int y,
int width,
int height,
- Identifier texture,
+ Identifier texture,
float u1,
float v1,
float u2,
@@ -544,12 +543,12 @@ texturedRect
texturedGuiRect
-public static void texturedGuiRect (DrawContext context,
+public static void texturedGuiRect (DrawContext context,
int x,
int y,
int width,
int height,
- Identifier texture,
+ Identifier texture,
int textureX,
int textureY,
int color)
@@ -573,12 +572,12 @@ texturedGuiRect
texturedGuiRect
-public static void texturedGuiRect (DrawContext context,
+
Draws a textured rectangle with UV values based on the width and height.
@@ -598,7 +597,7 @@
texturedGuiRect
coloredRect
-public static void coloredRect (DrawContext context,
+public static void coloredRect (DrawContext context,
int left,
int top,
int width,
@@ -610,7 +609,7 @@ coloredRect
drawGuiPanel
-public static void drawGuiPanel (DrawContext context,
+public static void drawGuiPanel (DrawContext context,
int x,
int y,
int width,
@@ -629,7 +628,7 @@ drawGuiPanel
drawGuiPanel
-public static void drawGuiPanel (DrawContext context,
+public static void drawGuiPanel (DrawContext context,
int x,
int y,
int width,
@@ -650,7 +649,7 @@ drawGuiPanel
drawGuiPanel
-public static void drawGuiPanel (DrawContext context,
+public static void drawGuiPanel (DrawContext context,
int x,
int y,
int width,
@@ -677,7 +676,7 @@ drawGuiPanel
drawBeveledPanel
-public static void drawBeveledPanel (DrawContext context,
+public static void drawBeveledPanel (DrawContext context,
int x,
int y)
Draws a default-sized recessed itemslot panel
@@ -686,7 +685,7 @@ drawBeveledPanel
drawBeveledPanel
-public static void drawBeveledPanel (DrawContext context,
+public static void drawBeveledPanel (DrawContext context,
int x,
int y,
int width,
@@ -697,7 +696,7 @@ drawBeveledPanel
drawBeveledPanel
-public static void drawBeveledPanel (DrawContext context,
+public static void drawBeveledPanel (DrawContext context,
int x,
int y,
int width,
@@ -722,7 +721,7 @@ drawBeveledPanel
drawString
-public static void drawString (DrawContext context,
+public static void drawString (DrawContext context,
String s,
HorizontalAlignment align,
int x,
@@ -745,8 +744,8 @@ drawString
drawString
-public static void drawString (DrawContext context,
- OrderedText text,
+public static void drawString (DrawContext context,
+ OrderedText text,
HorizontalAlignment align,
int x,
int y,
@@ -770,7 +769,7 @@ drawString
drawStringWithShadow
-public static void drawStringWithShadow (DrawContext context,
+public static void drawStringWithShadow (DrawContext context,
String s,
HorizontalAlignment align,
int x,
@@ -793,8 +792,8 @@ drawStringWithShadow
drawStringWithShadow
-public static void drawStringWithShadow (DrawContext context,
- OrderedText text,
+public static void drawStringWithShadow (DrawContext context,
+ OrderedText text,
HorizontalAlignment align,
int x,
int y,
@@ -816,7 +815,7 @@ drawStringWithShadow
drawString
-public static void drawString (DrawContext context,
+public static void drawString (DrawContext context,
String s,
int x,
int y,
@@ -835,8 +834,8 @@ drawString
drawString
-public static void drawString (DrawContext context,
- OrderedText text,
+
@@ -854,9 +853,9 @@ drawString
drawTextHover
-public static void drawTextHover (DrawContext context,
+
Draws the text hover effects for a text style.
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/package-summary.html b/libgui/io/github/cottonmc/cotton/gui/client/package-summary.html
index aee623d..cb546da 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/package-summary.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/package-summary.html
@@ -2,7 +2,7 @@
-
io.github.cottonmc.cotton.gui.client (LibGui 10.0.0+1.20.6 API)
+
io.github.cottonmc.cotton.gui.client (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
diff --git a/libgui/io/github/cottonmc/cotton/gui/client/package-tree.html b/libgui/io/github/cottonmc/cotton/gui/client/package-tree.html
index 947a14e..6e480ab 100644
--- a/libgui/io/github/cottonmc/cotton/gui/client/package-tree.html
+++ b/libgui/io/github/cottonmc/cotton/gui/client/package-tree.html
@@ -2,7 +2,7 @@
-
io.github.cottonmc.cotton.gui.client Class Hierarchy (LibGui 10.0.0+1.20.6 API)
+
io.github.cottonmc.cotton.gui.client Class Hierarchy (LibGui 11.1.0+1.21 API)
@@ -30,7 +30,6 @@
Package
Class
Tree
-
Deprecated
Index
Help
@@ -59,12 +58,12 @@
Class Hierarchy
<D> void
-receive (Identifier message,
+
Registers a message receiver for the message.
<D> void
-
ValidatedSlot.getInputFilter()