20 lines
664 B
Java
20 lines
664 B
Java
package net.minecraft.world.item.crafting;
|
|
|
|
import net.minecraft.world.item.ItemStack;
|
|
import net.minecraft.world.level.block.Blocks;
|
|
|
|
public class CampfireCookingRecipe extends AbstractCookingRecipe {
|
|
public CampfireCookingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) {
|
|
super(RecipeType.CAMPFIRE_COOKING, group, category, ingredient, result, experience, cookingTime);
|
|
}
|
|
|
|
@Override
|
|
public ItemStack getToastSymbol() {
|
|
return new ItemStack(Blocks.CAMPFIRE);
|
|
}
|
|
|
|
@Override
|
|
public RecipeSerializer<?> getSerializer() {
|
|
return RecipeSerializer.CAMPFIRE_COOKING_RECIPE;
|
|
}
|
|
}
|