aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/DisplayHelper.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-02-06 11:55:23 +0800
committershedaniel <daniel@shedaniel.me>2020-02-06 11:55:23 +0800
commit3ab6f974fb63b9f9232f8507e156cfc53cdf0250 (patch)
treef6625574308f0e5fd6e3e8f0120919ca4de4a0b1 /src/main/java/me/shedaniel/rei/api/DisplayHelper.java
parent129d287ddad825878af3b447f144ab38ccd1acf6 (diff)
downloadRoughlyEnoughItems-3ab6f974fb63b9f9232f8507e156cfc53cdf0250.tar.gz
RoughlyEnoughItems-3ab6f974fb63b9f9232f8507e156cfc53cdf0250.tar.bz2
RoughlyEnoughItems-3ab6f974fb63b9f9232f8507e156cfc53cdf0250.zip
4.0-unstable
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/DisplayHelper.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/DisplayHelper.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/DisplayHelper.java b/src/main/java/me/shedaniel/rei/api/DisplayHelper.java
index 8df0c9c4f..2e1a174b1 100644
--- a/src/main/java/me/shedaniel/rei/api/DisplayHelper.java
+++ b/src/main/java/me/shedaniel/rei/api/DisplayHelper.java
@@ -17,7 +17,6 @@ import static net.minecraft.util.ActionResult.PASS;
public interface DisplayHelper {
- @SuppressWarnings("deprecation")
static DisplayHelper getInstance() {
return RoughlyEnoughItemsCore.getDisplayHelper();
}
@@ -100,36 +99,6 @@ public interface DisplayHelper {
}
/**
- * Checks if item slot can fit the screen
- *
- * @param isOnRightSide whether the user has set the overlay to the right
- * @param left the left x coordinates of the stack
- * @param top the top y coordinates for the stack
- * @param screen the current screen
- * @param fullBounds the current bounds
- * @return whether the item slot can fit
- * @deprecated use {@link #canItemSlotWidgetFit(int, int, Object, Rectangle)}
- */
- @Deprecated
- default ActionResult canItemSlotWidgetFit(boolean isOnRightSide, int left, int top, T screen, Rectangle fullBounds) {
- return canItemSlotWidgetFit(left, top, screen, fullBounds);
- }
-
- /**
- * Checks if mouse is inside the overlay
- *
- * @param isOnRightSide whether the user has set the overlay to the right
- * @param mouseX mouse's x coordinates
- * @param mouseY mouse's y coordinates
- * @return whether mouse is inside the overlay
- * @deprecated use {@link #isInZone(double, double)}
- */
- @Deprecated
- default ActionResult isInZone(boolean isOnRightSide, double mouseX, double mouseY) {
- return isInZone(mouseX, mouseY);
- }
-
- /**
* Checks if mouse is inside the overlay
*
* @param mouseX mouse's x coordinates