diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-12-11 20:24:47 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-12-11 20:24:47 +0800 |
| commit | 90b8a8181eb7e642fb88832f8bd8baa3acdcf804 (patch) | |
| tree | 85774b5a26be6a8303f99c5316aee320a737ffc8 /RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java | |
| parent | 14edd7e3f9e3716ff60e9d918760049c1313a485 (diff) | |
| download | RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.tar.gz RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.tar.bz2 RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.zip | |
Remove deprecated classes
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java')
| -rw-r--r-- | RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java index ff6722e74..c99eb50a3 100644 --- a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java +++ b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java @@ -23,9 +23,7 @@ package me.shedaniel.rei.api; -import me.shedaniel.rei.utils.CollectionUtils; import net.minecraft.resources.ResourceLocation; -import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import java.util.Collections; @@ -42,22 +40,9 @@ public interface RecipeDisplay { /** * @return a list of outputs - * @deprecated Use {@link RecipeDisplay#getResultingEntries()} */ - @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "1.17") @NotNull - default List<EntryStack> getOutputEntries() { - return Collections.emptyList(); - } - - /** - * @return a list of outputs - */ - @NotNull - default List<List<EntryStack>> getResultingEntries() { - return CollectionUtils.map(getOutputEntries(), Collections::singletonList); - } + List<List<EntryStack>> getResultingEntries(); /** * Gets the required items used in craftable filters |
