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/AbstractCookingRecipeintermediary net/minecraft/class_1874official deh
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CookingRecipeCategoryprivate final intprivate final floatFields inherited from interface net.minecraft.recipe.Recipe
CODEC, KEY_CODEC, PACKET_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCookingRecipe(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Itemintinvalid reference
list 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.SingleStackRecipe
craft, getGroup, getIngredientPlacement, ingredient, matches, resultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.Recipe
getRecipeBookCategory, isIgnoredInRecipeBook, 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 dLdeh;d:Lden;
-
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 eLdeh;e: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 fLdeh;f: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)Vintermediary <init>Lnet/minecraft/class_1874;<init>(Ljava/lang/String;Lnet/minecraft/class_7709;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;FI)Vofficial <init>Ldeh;<init>(Ljava/lang/String;Lden;Ldex;Ldak;FI)V
-
-
Method Details
-
getSerializer
Returns the serializer associated with this recipe.- Specified by:
getSerializerin interfaceRecipe<SingleStackRecipeInput>- Specified by:
getSerializerin classSingleStackRecipe- 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 aLdfb;a()Ldfl;
-
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 classSingleStackRecipe- 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 bLdfb;b()Ldfm;
-
getExperience
public float getExperience()- Mappings:
Namespace Name Mixin selector named getExperienceLnet/minecraft/recipe/AbstractCookingRecipe;getExperience()Fintermediary method_8171Lnet/minecraft/class_1874;method_8171()Fofficial cLdeh;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 dLdeh;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 eLdeh;e()Lden;
-
getCookerItem
- Mappings:
Namespace Name Mixin selector named getCookerItemLnet/minecraft/recipe/AbstractCookingRecipe;getCookerItem()Lnet/minecraft/item/Item;intermediary method_64663Lnet/minecraft/class_1874;method_64663()Lnet/minecraft/class_1792;official fLdeh;f()Ldag;
-
getDisplays
invalid reference
list 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 getDisplaysLnet/minecraft/recipe/Recipe;getDisplays()Ljava/util/List;intermediary method_64664Lnet/minecraft/class_1860;method_64664()Ljava/util/List;official gLdfb;g()Ljava/util/List;
-