diff options
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/DisplayHelper.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/DisplayHelper.java | 31 |
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 |
