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 dbj
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CookingRecipeCategory
private final int
private final float
Fields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC
-
Constructor Summary
ConstructorDescriptionAbstractCookingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Item
int
invalid reference
list of recipe displays corresponding to the recipe
float
abstract 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.SingleStackRecipe
craft, getGroup, getIngredientPlacement, ingredient, matches, result
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.recipe.Recipe
getRecipeBookCategory, 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
Ldbj;c:Ldbp;
-
experience
private 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
Ldbj;d:F
-
cookingTime
private 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
Ldbj;e:I
-
-
Constructor Details
-
AbstractCookingRecipe
public 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>
Ldbj;<init>(Ljava/lang/String;Ldbp;Ldbz;Lcxo;FI)V
-
-
Method Details
-
getSerializer
Returns the serializer associated with this recipe.- Specified by:
getSerializer
in interfaceRecipe<SingleStackRecipeInput>
- Specified by:
getSerializer
in classSingleStackRecipe
- 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
Ldcd;a()Ldcn;
-
getType
Returns the type of this recipe.The
type
in the recipe JSON format is the serializer instead.- Specified by:
getType
in interfaceRecipe<SingleStackRecipeInput>
- Specified by:
getType
in classSingleStackRecipe
- 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
Ldcd;b()Ldco;
-
getExperience
public 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
Ldbj;c()F
-
getCookingTime
public 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
Ldbj;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
Ldbj;e()Ldbp;
-
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
Ldbj;f()Lcxk;
-
getDisplays
invalid reference
list of recipe displays corresponding to the recipe
Recipe 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
Ldcd;g()Ljava/util/List;
-