aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-03-16 10:30:26 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-03-16 10:30:26 +0800
commit2405e96d889341b82d00a9103e688d54713f2ce3 (patch)
tree54abc6704a56c691bec973c533cefcca77c913d4 /src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
parentb004addc44b1fff0fd83cf998aa618443e4e37ca (diff)
downloadRoughlyEnoughItems-2405e96d889341b82d00a9103e688d54713f2ce3.tar.gz
RoughlyEnoughItems-2405e96d889341b82d00a9103e688d54713f2ce3.tar.bz2
RoughlyEnoughItems-2405e96d889341b82d00a9103e688d54713f2ce3.zip
Better Widgets
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.java8
1 files changed, 4 insertions, 4 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 84df02552..e12f12c52 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
@@ -8,10 +8,10 @@ import net.minecraft.util.Identifier;
import net.minecraft.util.math.MathHelper;
import java.awt.*;
-import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
-public class RecipeBaseWidget extends DrawableHelper implements HighlightableWidget {
+public class RecipeBaseWidget extends HighlightableWidget {
private static final Identifier CHEST_GUI_TEXTURE = new Identifier("roughlyenoughitems", "textures/gui/recipecontainer.png");
private static final Color INNER_COLOR = new Color(198, 198, 198);
@@ -28,8 +28,8 @@ public class RecipeBaseWidget extends DrawableHelper implements HighlightableWid
}
@Override
- public List<IWidget> getListeners() {
- return new ArrayList<>();
+ public List<Widget> getInputListeners() {
+ return Collections.emptyList();
}
@Override