aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-01-16 16:10:19 +0800
committershedaniel <daniel@shedaniel.me>2020-01-16 16:10:19 +0800
commitb4be45e414504afb49910d766bebcd00f55b052b (patch)
tree05c36b311681a120c0e3c85131531a159fbc59c2 /src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
parent01e8ede4fc41f6f113ae623044c3a4e98ed81eb4 (diff)
downloadRoughlyEnoughItems-b4be45e414504afb49910d766bebcd00f55b052b.tar.gz
RoughlyEnoughItems-b4be45e414504afb49910d766bebcd00f55b052b.tar.bz2
RoughlyEnoughItems-b4be45e414504afb49910d766bebcd00f55b052b.zip
3.3.11
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
index 7347c0694..e4fa346be 100644
--- a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
@@ -11,6 +11,7 @@ import me.shedaniel.math.api.Point;
import me.shedaniel.math.api.Rectangle;
import me.shedaniel.math.impl.PointHelper;
import me.shedaniel.rei.api.*;
+import me.shedaniel.rei.api.annotations.Internal;
import me.shedaniel.rei.gui.widget.*;
import me.shedaniel.rei.impl.ScreenHelper;
import me.shedaniel.rei.utils.CollectionUtils;
@@ -30,6 +31,8 @@ import javax.annotation.Nullable;
import java.util.*;
import java.util.function.Supplier;
+@Deprecated
+@Internal
public class RecipeViewingScreen extends Screen {
public static final Identifier CHEST_GUI_TEXTURE = new Identifier("roughlyenoughitems", "textures/gui/recipecontainer.png");
@@ -359,7 +362,7 @@ public class RecipeViewingScreen extends Screen {
public static class WorkstationSlotWidget extends EntryWidget {
public WorkstationSlotWidget(int x, int y, List<EntryStack> widgets) {
- super(x, y);
+ super(new Point(x, y));
entries(widgets);
noBackground();
}