public class TestRecipe extends AbstractCookingRecipe { //Same for the BlockEntity, we don't need some of the parameters in the constructor since we already now the type public TestRecipe(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime) { super(CookingRecipeExample.TEST_RECIPE_TYPE, id, group, input, output, experience, cookTime); } @Override public ItemStack getRecipeKindIcon() { return new ItemStack(Items.BLACKSTONE); } @Override public RecipeSerializer getSerializer() { //The Serializer will be created later return CookingRecipeExample.TEST_RECIPE_SERIALIZER; } }