blob: e0ea0235c225336ca99d6325a6c8a196b8abacf8 (
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
31
32
|
/*
* Roughly Enough Items by Danielshe.
* Licensed under the MIT License.
*/
package me.shedaniel.rei.plugin.crafting;
import me.shedaniel.rei.api.RecipeDisplay;
import me.shedaniel.rei.plugin.DefaultPlugin;
import net.minecraft.recipe.Recipe;
import net.minecraft.util.Identifier;
import java.util.Optional;
public interface DefaultCraftingDisplay extends RecipeDisplay {
@Override
default Identifier getRecipeCategory() {
return DefaultPlugin.CRAFTING;
}
default public int getWidth() {
return 2;
}
default public int getHeight() {
return 2;
}
Optional<Recipe<?>> getOptionalRecipe();
}
|