Package net.minecraft.recipe
Class AbstractCookingRecipe
java.lang.Object
net.minecraft.recipe.SingleStackRecipe
net.minecraft.recipe.AbstractCookingRecipe
- All Implemented Interfaces:
- Recipe<SingleStackRecipeInput>
- Direct Known Subclasses:
- BlastingRecipe,- CampfireCookingRecipe,- SmeltingRecipe,- SmokingRecipe
- Mappings:
- Namespace - Name - named - net/minecraft/recipe/AbstractCookingRecipe- intermediary - net/minecraft/class_1874- official - dal
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CookingRecipeCategoryprivate final intprivate final floatFields inherited from interface net.minecraft.recipe.RecipeCODEC, PACKET_CODEC
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractCookingRecipe(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract Itemintinvalid referencelist of recipe displays corresponding to the recipefloatabstract RecipeSerializer<? extends AbstractCookingRecipe> Returns the serializer associated with this recipe.abstract RecipeType<? extends AbstractCookingRecipe> getType()Returns the type of this recipe.Methods inherited from class net.minecraft.recipe.SingleStackRecipecraft, getGroup, getIngredientPlacement, ingredient, matches, resultMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.RecipegetRecipeBookCategory, isIgnoredInRecipeBook, showNotification
- 
Field Details- 
category- Mappings:
- Namespace - Name - Mixin selector - named - category- Lnet/minecraft/recipe/AbstractCookingRecipe;category:Lnet/minecraft/recipe/book/CookingRecipeCategory;- intermediary - field_40241- Lnet/minecraft/class_1874;field_40241:Lnet/minecraft/class_7709;- official - c- Ldal;c:Ldar;
 
- 
experienceprivate final float experience- Mappings:
- Namespace - Name - Mixin selector - named - experience- Lnet/minecraft/recipe/AbstractCookingRecipe;experience:F- intermediary - field_9057- Lnet/minecraft/class_1874;field_9057:F- official - d- Ldal;d:F
 
- 
cookingTimeprivate final int cookingTime- Mappings:
- Namespace - Name - Mixin selector - named - cookingTime- Lnet/minecraft/recipe/AbstractCookingRecipe;cookingTime:I- intermediary - field_9058- Lnet/minecraft/class_1874;field_9058:I- official - e- Ldal;e:I
 
 
- 
- 
Constructor Details- 
AbstractCookingRecipepublic AbstractCookingRecipe(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/recipe/AbstractCookingRecipe;<init>(Ljava/lang/String;Lnet/minecraft/recipe/book/CookingRecipeCategory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;FI)V- intermediary - <init>- Lnet/minecraft/class_1874;<init>(Ljava/lang/String;Lnet/minecraft/class_7709;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;FI)V- official - <init>- Ldal;<init>(Ljava/lang/String;Ldar;Ldbb;Lcwq;FI)V
 
 
- 
- 
Method Details- 
getSerializerReturns the serializer associated with this recipe.- Specified by:
- getSerializerin interface- Recipe<SingleStackRecipeInput>
- Specified by:
- getSerializerin class- SingleStackRecipe
- Returns:
- the serializer associated with this recipe
- Mappings:
- Namespace - Name - Mixin selector - named - getSerializer- Lnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;- intermediary - method_8119- Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;- official - a- Ldbf;a()Ldbp;
 
- 
getTypeReturns the type of this recipe.The typein the recipe JSON format is the serializer instead.- Specified by:
- getTypein interface- Recipe<SingleStackRecipeInput>
- Specified by:
- getTypein class- SingleStackRecipe
- Returns:
- the type of this recipe
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;- intermediary - method_17716- Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;- official - b- Ldbf;b()Ldbq;
 
- 
getExperiencepublic float getExperience()- Mappings:
- Namespace - Name - Mixin selector - named - getExperience- Lnet/minecraft/recipe/AbstractCookingRecipe;getExperience()F- intermediary - method_8171- Lnet/minecraft/class_1874;method_8171()F- official - c- Ldal;c()F
 
- 
getCookingTimepublic int getCookingTime()- Mappings:
- Namespace - Name - Mixin selector - named - getCookingTime- Lnet/minecraft/recipe/AbstractCookingRecipe;getCookingTime()I- intermediary - method_8167- Lnet/minecraft/class_1874;method_8167()I- official - d- Ldal;d()I
 
- 
getCategory- Mappings:
- Namespace - Name - Mixin selector - named - getCategory- Lnet/minecraft/recipe/AbstractCookingRecipe;getCategory()Lnet/minecraft/recipe/book/CookingRecipeCategory;- intermediary - method_45438- Lnet/minecraft/class_1874;method_45438()Lnet/minecraft/class_7709;- official - e- Ldal;e()Ldar;
 
- 
getCookerItem- Mappings:
- Namespace - Name - Mixin selector - named - getCookerItem- Lnet/minecraft/recipe/AbstractCookingRecipe;getCookerItem()Lnet/minecraft/item/Item;- intermediary - method_64663- Lnet/minecraft/class_1874;method_64663()Lnet/minecraft/class_1792;- official - f- Ldal;f()Lcwm;
 
- 
getDisplaysinvalid referencelist of recipe displays corresponding to the recipeRecipe displays are sent to the client and displayed in the recipe book. One recipe can have multiple displays. - Mappings:
- Namespace - Name - Mixin selector - named - getDisplays- Lnet/minecraft/recipe/Recipe;getDisplays()Ljava/util/List;- intermediary - method_64664- Lnet/minecraft/class_1860;method_64664()Ljava/util/List;- official - g- Ldbf;g()Ljava/util/List;
 
 
-