From 9ce069457bca016c8793c73844e5cc984deac365 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Tue, 10 Mar 2020 02:03:11 +0800 Subject: new widget api Signed-off-by: shedaniel --- src/main/java/me/shedaniel/rei/gui/widget/SlotBaseWidget.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/main/java/me/shedaniel/rei/gui/widget/SlotBaseWidget.java') diff --git a/src/main/java/me/shedaniel/rei/gui/widget/SlotBaseWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/SlotBaseWidget.java index eda14a19f..80e81ee31 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/SlotBaseWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/SlotBaseWidget.java @@ -25,9 +25,19 @@ package me.shedaniel.rei.gui.widget; import me.shedaniel.math.api.Rectangle; import me.shedaniel.rei.api.REIHelper; +import org.jetbrains.annotations.ApiStatus; public class SlotBaseWidget extends RecipeBaseWidget { + /** + * Creates a recipe base drawable + * + * @param bounds the bounds of the base + * @see me.shedaniel.rei.api.widgets.Widgets#createSlotBase(me.shedaniel.math.Rectangle) + * @see me.shedaniel.rei.api.widgets.Widgets#createSlotBase(me.shedaniel.math.Rectangle, int) + */ + @ApiStatus.Internal + @Deprecated public SlotBaseWidget(Rectangle bounds) { super(bounds); } -- cgit