Class AbstractCookingRecipe
java.lang.Object
net.minecraft.world.item.crafting.AbstractCookingRecipe
- Direct Known Subclasses:
- BlastingRecipe,- CampfireCookingRecipe,- SmeltingRecipe,- SmokingRecipe
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interface
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final CookingBookCategoryprotected final intprotected final floatprotected final Stringprotected final Ingredientprotected final ItemStackprotected final RecipeType<?>Fields inherited from interface net.minecraft.world.item.crafting.RecipeCODEC, CONDITIONAL_CODEC
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractCookingRecipe(RecipeType<?> p_250197_, String p_249518_, CookingBookCategory p_250891_, Ingredient p_251354_, ItemStack p_252185_, float p_252165_, int p_250256_) 
- 
Method SummaryModifier and TypeMethodDescriptionassemble(Container p_43746_, RegistryAccess p_267063_) booleancanCraftInDimensions(int p_43743_, int p_43744_) category()intfloatgetGroup()getResultItem(RegistryAccess p_266851_) RecipeType<?>getType()booleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.RecipegetRemainingItems, getSerializer, getToastSymbol, isIncomplete, isSpecial, showNotification
- 
Field Details- 
type
- 
category
- 
group
- 
ingredient
- 
result
- 
experienceprotected final float experience
- 
cookingTimeprotected final int cookingTime
 
- 
- 
Constructor Details- 
AbstractCookingRecipepublic AbstractCookingRecipe(RecipeType<?> p_250197_, String p_249518_, CookingBookCategory p_250891_, Ingredient p_251354_, ItemStack p_252185_, float p_252165_, int p_250256_) 
 
- 
- 
Method Details- 
matches
- 
assemble
- 
canCraftInDimensionspublic boolean canCraftInDimensions(int p_43743_, int p_43744_) - Specified by:
- canCraftInDimensionsin interface- Recipe<Container>
 
- 
getIngredients- Specified by:
- getIngredientsin interface- Recipe<Container>
 
- 
getExperiencepublic float getExperience()
- 
getResultItem- Specified by:
- getResultItemin interface- Recipe<Container>
 
- 
getGroup
- 
getCookingTimepublic int getCookingTime()
- 
getType
- 
category
 
-