aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-10 02:03:11 +0800
committershedaniel <daniel@shedaniel.me>2020-03-10 02:03:11 +0800
commit9ce069457bca016c8793c73844e5cc984deac365 (patch)
tree367195b8ec8402638a2d9af267eb45c2dd08ae89 /src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
parentb31a280413f5ec916f44fbd96d0690f8ce1a9186 (diff)
downloadRoughlyEnoughItems-9ce069457bca016c8793c73844e5cc984deac365.tar.gz
RoughlyEnoughItems-9ce069457bca016c8793c73844e5cc984deac365.tar.bz2
RoughlyEnoughItems-9ce069457bca016c8793c73844e5cc984deac365.zip
new widget api
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
index 7d4af047a..c3bdec3c8 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
@@ -25,9 +25,19 @@ package me.shedaniel.rei.gui.widget;
import me.shedaniel.math.api.Rectangle;
import me.shedaniel.rei.api.ConfigObject;
+import org.jetbrains.annotations.ApiStatus;
public class RecipeBaseWidget extends PanelWidget {
+ /**
+ * Creates a recipe base drawable
+ *
+ * @param bounds the bounds of the base
+ * @see me.shedaniel.rei.api.widgets.Widgets#createRecipeBase(me.shedaniel.math.Rectangle)
+ * @see me.shedaniel.rei.api.widgets.Widgets#createRecipeBase(me.shedaniel.math.Rectangle, int)
+ */
+ @ApiStatus.Internal
+ @Deprecated
public RecipeBaseWidget(Rectangle bounds) {
super(bounds);
}