DefaultCraftingDisplay.java 555 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Roughly Enough Items by Danielshe.
  3. * Licensed under the MIT License.
  4. */
  5. package me.shedaniel.rei.plugin;
  6. import me.shedaniel.rei.api.RecipeDisplay;
  7. import net.minecraft.recipe.Recipe;
  8. import net.minecraft.util.Identifier;
  9. public interface DefaultCraftingDisplay<T> extends RecipeDisplay<Recipe> {
  10. @Override
  11. default Identifier getRecipeCategory() {
  12. return DefaultPlugin.CRAFTING;
  13. }
  14. default public int getWidth() {
  15. return 2;
  16. }
  17. default public int getHeight() {
  18. return 2;
  19. }
  20. }