31 lines
876 B
Java
31 lines
876 B
Java
package net.minecraft.world.item.crafting;
|
|
|
|
import net.minecraft.world.item.Item;
|
|
import net.minecraft.world.item.ItemStack;
|
|
import net.minecraft.world.item.Items;
|
|
|
|
public class CampfireCookingRecipe extends AbstractCookingRecipe {
|
|
public CampfireCookingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) {
|
|
super(group, category, ingredient, result, experience, cookingTime);
|
|
}
|
|
|
|
@Override
|
|
protected Item furnaceIcon() {
|
|
return Items.CAMPFIRE;
|
|
}
|
|
|
|
@Override
|
|
public RecipeSerializer<CampfireCookingRecipe> getSerializer() {
|
|
return RecipeSerializer.CAMPFIRE_COOKING_RECIPE;
|
|
}
|
|
|
|
@Override
|
|
public RecipeType<CampfireCookingRecipe> getType() {
|
|
return RecipeType.CAMPFIRE_COOKING;
|
|
}
|
|
|
|
@Override
|
|
public RecipeBookCategory recipeBookCategory() {
|
|
return RecipeBookCategories.CAMPFIRE;
|
|
}
|
|
}
|