aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/DisplaySettings.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-06-18 20:07:38 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-06-18 20:07:38 +0800
commit609c2238e12ad9835c449cd9f9da842ca747d5dc (patch)
tree87d52715819b31543afe88137cd196ce6d7e9cad /src/main/java/me/shedaniel/rei/api/DisplaySettings.java
parent4f3a2eae017efe3ff6896f5c01d58c7b1a27d814 (diff)
downloadRoughlyEnoughItems-609c2238e12ad9835c449cd9f9da842ca747d5dc.tar.gz
RoughlyEnoughItems-609c2238e12ad9835c449cd9f9da842ca747d5dc.tar.bz2
RoughlyEnoughItems-609c2238e12ad9835c449cd9f9da842ca747d5dc.zip
nah let's break everyone's plugins
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/DisplaySettings.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/DisplaySettings.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/DisplaySettings.java b/src/main/java/me/shedaniel/rei/api/DisplaySettings.java
deleted file mode 100644
index 36fa1634b..000000000
--- a/src/main/java/me/shedaniel/rei/api/DisplaySettings.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Roughly Enough Items by Danielshe.
- * Licensed under the MIT License.
- */
-
-package me.shedaniel.rei.api;
-
-public interface DisplaySettings<T extends RecipeDisplay> {
-
- /**
- * Gets the recipe display height
- *
- * @param category the category of the display
- * @return the height
- */
- int getDisplayHeight(RecipeCategory<?> category);
-
- /**
- * Gets the recipe display width
- *
- * @param category the category of the display
- * @param display the display of the recipe
- * @return the width
- */
- int getDisplayWidth(RecipeCategory<?> category, T display);
-
- /**
- * Gets the maximum amount of recipe displays of the category displayed at the same time.
- *
- * @param category the category of the displays
- * @return the maximum amount
- */
- int getMaximumRecipePerPage(RecipeCategory<?> category);
-
- /**
- * Gets the fixed amount of recipes per page.
- *
- * @return the amount of recipes, returns -1 if not fixed
- */
- default int getFixedRecipesPerPage() {
- return -1;
- }
-
-}