Package net.minecraft.recipe
Class AbstractCookingRecipe
java.lang.Object
net.minecraft.recipe.CuttingRecipe
net.minecraft.recipe.AbstractCookingRecipe
- All Implemented Interfaces:
Recipe<SingleStackRecipeInput>
- Direct Known Subclasses:
BlastingRecipe,CampfireCookingRecipe,SmeltingRecipe,SmokingRecipe
- Mappings:
Namespace Name named net/minecraft/recipe/AbstractCookingRecipeintermediary net/minecraft/class_1874official dbf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfaceNested classes/interfaces inherited from class net.minecraft.recipe.CuttingRecipe
CuttingRecipe.Serializer<T extends CuttingRecipe> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CookingRecipeCategoryprivate final intprivate final floatFields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCookingRecipe(String string, CookingRecipeCategory cookingRecipeCategory, Ingredient ingredient, ItemStack itemStack, float float2, int int2) -
Method Summary
Modifier and TypeMethodDescriptionintfloatabstract RecipeSerializer<? extends AbstractCookingRecipe> Returns the serializer associated with this recipe.abstract RecipeType<? extends AbstractCookingRecipe> getType()Returns the type of this recipe.protected abstract ItemMethods inherited from class net.minecraft.recipe.CuttingRecipe
craft, getGroup, getIngredientPlacement, matches, method_64720, method_64721Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.Recipe
isIgnoredInRecipeBook, method_64668, showNotification
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector named categoryLnet/minecraft/recipe/AbstractCookingRecipe;category:Lnet/minecraft/recipe/book/CookingRecipeCategory;intermediary field_40241Lnet/minecraft/class_1874;field_40241:Lnet/minecraft/class_7709;official cLdbf;c:Ldbm;
-
experience
private final float experience- Mappings:
Namespace Name Mixin selector named experienceLnet/minecraft/recipe/AbstractCookingRecipe;experience:Fintermediary field_9057Lnet/minecraft/class_1874;field_9057:Fofficial dLdbf;d:F
-
cookingTime
private final int cookingTime- Mappings:
Namespace Name Mixin selector named cookingTimeLnet/minecraft/recipe/AbstractCookingRecipe;cookingTime:Iintermediary field_9058Lnet/minecraft/class_1874;field_9058:Iofficial eLdbf;e:I
-
-
Constructor Details
-
AbstractCookingRecipe
public AbstractCookingRecipe(String string, CookingRecipeCategory cookingRecipeCategory, Ingredient ingredient, ItemStack itemStack, float float2, int int2)
-
-
Method Details
-
getSerializer
Returns the serializer associated with this recipe.- Specified by:
getSerializerin interfaceRecipe<SingleStackRecipeInput>- Specified by:
getSerializerin classCuttingRecipe- Returns:
- the serializer associated with this recipe
- Mappings:
Namespace Name Mixin selector named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;official aLdbz;a()Ldci;
-
getType
Returns the type of this recipe.The
typein the recipe JSON format is the serializer instead.- Specified by:
getTypein interfaceRecipe<SingleStackRecipeInput>- Specified by:
getTypein classCuttingRecipe- Returns:
- the type of this recipe
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;intermediary method_17716Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;official bLdbz;b()Ldcj;
-
getExperience
public float getExperience()- Mappings:
Namespace Name Mixin selector named getExperienceLnet/minecraft/recipe/AbstractCookingRecipe;getExperience()Fintermediary method_8171Lnet/minecraft/class_1874;method_8171()Fofficial cLdbf;c()F
-
getCookingTime
public int getCookingTime()- Mappings:
Namespace Name Mixin selector named getCookingTimeLnet/minecraft/recipe/AbstractCookingRecipe;getCookingTime()Iintermediary method_8167Lnet/minecraft/class_1874;method_8167()Iofficial dLdbf;d()I
-
getCategory
- Mappings:
Namespace Name Mixin selector named getCategoryLnet/minecraft/recipe/AbstractCookingRecipe;getCategory()Lnet/minecraft/recipe/book/CookingRecipeCategory;intermediary method_45438Lnet/minecraft/class_1874;method_45438()Lnet/minecraft/class_7709;official eLdbf;e()Ldbm;
-
method_64663
- Mappings:
Namespace Name Mixin selector named method_64663Lnet/minecraft/recipe/AbstractCookingRecipe;method_64663()Lnet/minecraft/item/Item;intermediary method_64663Lnet/minecraft/class_1874;method_64663()Lnet/minecraft/class_1792;official fLdbf;f()Lcxg;
-
method_64664
- Mappings:
Namespace Name Mixin selector named method_64664Lnet/minecraft/recipe/Recipe;method_64664()Ljava/util/List;intermediary method_64664Lnet/minecraft/class_1860;method_64664()Ljava/util/List;official gLdbz;g()Ljava/util/List;
-