net.minecraft.recipe

public abstract class AbstractCookingRecipe

extends SingleStackRecipe

All mapped superinterfaces:

Recipe

net.minecraft.world.item.crafting.AbstractCookingRecipe
net.minecraft.world.item.crafting.AbstractCookingRecipe
net.minecraft.class_1874
net.minecraft.recipe.AbstractCookingRecipe

Field summary

Modifier and TypeField
protected final AbstractCookingRecipe$RecipeBookLocation
bookInfo
bookInfo
field_1_1321
location
private final float
experience
experience
field_9057
experience
private final int
cookingTime
cookingTime
field_9058
cookingTime

Constructor summary

ModifierConstructor
public (Recipe$Settings settings, AbstractCookingRecipe$RecipeBookLocation location, Ingredient ingredient, SimpleItemStackView result, float experience, int cookingTime)

Method summary

Modifier and TypeMethod
public abstract RecipeSerializer<? extends AbstractCookingRecipe>
getSerializer()
getSerializer()
method_8119()
getSerializer()
public abstract RecipeType<? extends AbstractCookingRecipe>
getType()
getType()
method_17716()
getType()
public float
experience()
experience()
method_8171()
getExperience()
public int
cookingTime()
cookingTime()
method_8167()
getCookingTime()
public CookingRecipeCategory
category()
category()
method_45438()
getCategory()
public String
group()
group()
method_8112()
getGroup()
protected abstract Item
furnaceIcon()
furnaceIcon()
method_64663()
getCookerItem()
public List<RecipeDisplay>
display()
display()
method_64664()
getDisplays()
public static <T extends AbstractCookingRecipe> com.mojang.serialization.MapCodec<T>
cookingMapCodec(AbstractCookingRecipe$Factory<T> factory)
cookingMapCodec(AbstractCookingRecipe$Factory<T> factory)
method_1_1574(class_1874$class_3958<T> arg0)
createCodec(AbstractCookingRecipe$RecipeFactory<T> factory)
public static <T extends AbstractCookingRecipe> PacketCodec<RegistryByteBuf, T>
cookingStreamCodec(AbstractCookingRecipe$Factory<T> factory)
cookingStreamCodec(AbstractCookingRecipe$Factory<T> factory)
method_1_1575(class_1874$class_3958<T> arg0)
createPacketCodec(AbstractCookingRecipe$RecipeFactory<T> factory)