diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-06-06 16:09:48 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-06-06 16:09:48 +0800 |
| commit | 94e6085d2d49e7fe38871c9548774c4e50a2f422 (patch) | |
| tree | 8de1c84b88a61ecd79810ede9adcd1a5727ca852 /src/main/java/me/shedaniel/rei/api | |
| parent | 9755812e75e7fa357dd0ae55bb36b9e3a7d86822 (diff) | |
| download | RoughlyEnoughItems-94e6085d2d49e7fe38871c9548774c4e50a2f422.tar.gz RoughlyEnoughItems-94e6085d2d49e7fe38871c9548774c4e50a2f422.tar.bz2 RoughlyEnoughItems-94e6085d2d49e7fe38871c9548774c4e50a2f422.zip | |
this is still not working
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/RecipeDisplay.java | 1 | ||||
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/RecipeHelper.java | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java b/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java index d77e2c9ab..cd8ab6efb 100644 --- a/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java +++ b/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java @@ -35,6 +35,7 @@ public interface RecipeDisplay<T extends Recipe> { * * @return the list of required items */ + @Deprecated default List<List<ItemStack>> getRequiredItems() { return Lists.newArrayList(); } diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java index 5cc71f013..2dbf3717a 100644 --- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java +++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java @@ -53,6 +53,16 @@ public interface RecipeHelper { void registerCategory(RecipeCategory category); /** + * Registers the working stations of a category + * + * @param category the category + * @param workingStations the working stations + */ + void registerWorkingStations(Identifier category, ItemStack... workingStations); + + List<ItemStack> getWorkingStations(Identifier category); + + /** * Registers a recipe display * * @param categoryIdentifier the category to display in |
