HalestormXV

ILunarForgeRecipe

Oct 25th, 2020
855
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.halestormxv.mysterium.recipes;
  2.  
  3. import com.halestormxv.mysterium.MysteriumMain;
  4. import net.minecraft.item.crafting.IRecipe;
  5. import net.minecraft.item.crafting.IRecipeType;
  6. import net.minecraft.item.crafting.Ingredient;
  7. import net.minecraft.util.ResourceLocation;
  8. import net.minecraft.util.registry.Registry;
  9. import net.minecraftforge.items.wrapper.RecipeWrapper;
  10.  
  11. import javax.annotation.Nonnull;
  12.  
  13. public interface ILunarForgeRecipe extends IRecipe<RecipeWrapper> {
  14.  
  15.     ResourceLocation RECIPE_TYPE_ID = new ResourceLocation(MysteriumMain.MOD_ID, "lunarforge"); //Name of Folder in Datapack
  16.  
  17.     @Nonnull
  18.     @Override
  19.     default IRecipeType<?> getType() {
  20.         return Registry.RECIPE_TYPE.getValue(RECIPE_TYPE_ID).get();
  21.     }
  22.  
  23.     @Override
  24.     default boolean canFit(int width, int height) {
  25.         return false;
  26.     }
  27.  
  28.     Ingredient getInput();
  29. }
RAW Paste Data