blob: 4fb564133d7bdc5efd8a289d5ce07823e620bfbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Roughly Enough Items by Danielshe.
* Licensed under the MIT License.
*/
package me.shedaniel.rei.api;
import com.google.common.collect.Lists;
import net.minecraft.item.ItemStack;
import net.minecraft.recipe.Recipe;
import net.minecraft.util.Identifier;
import java.util.List;
import java.util.Optional;
public interface RecipeDisplay<T extends Recipe> {
Optional<T> getRecipe();
List<List<ItemStack>> getInput();
List<ItemStack> getOutput();
default List<List<ItemStack>> getRequiredItems() {
return Lists.newArrayList();
}
Identifier getRecipeCategory();
}
|