Package net.minecraft.recipe
Class CampfireCookingRecipe
java.lang.Object
net.minecraft.recipe.AbstractCookingRecipe
net.minecraft.recipe.CampfireCookingRecipe
- Mappings:
Namespace Name official cpqintermediary net/minecraft/class_3920named net/minecraft/recipe/CampfireCookingRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.recipe.AbstractCookingRecipe
AbstractCookingRecipe.RecipeFactory<T extends AbstractCookingRecipe> -
Field Summary
Fields inherited from class net.minecraft.recipe.AbstractCookingRecipe
category, cookingTime, experience, group, ingredient, result, type -
Constructor Summary
ConstructorsConstructorDescriptionCampfireCookingRecipe(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) -
Method Summary
Modifier and TypeMethodDescriptionReturns an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked.Returns the serializer associated with this recipe.Methods inherited from class net.minecraft.recipe.AbstractCookingRecipe
craft, fits, getCategory, getCookingTime, getExperience, getGroup, getIngredients, getResult, getType, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.Recipe
getRemainder, isEmpty, isIgnoredInRecipeBook, showNotification
-
Constructor Details
-
CampfireCookingRecipe
public CampfireCookingRecipe(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official <init>Lcpq;<init>(Ljava/lang/String;Lcpr;Lcpz;Lcmy;FI)Vintermediary <init>Lnet/minecraft/class_3920;<init>(Ljava/lang/String;Lnet/minecraft/class_7709;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;FI)Vnamed <init>Lnet/minecraft/recipe/CampfireCookingRecipe;<init>(Ljava/lang/String;Lnet/minecraft/recipe/book/CookingRecipeCategory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;FI)V
-
-
Method Details
-
createIcon
Returns an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked. This can be interpreted as a catalyst for the recipe.- Returns:
- an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked
- Mappings:
Namespace Name Mixin selector official gLcqc;g()Lcmy;intermediary method_17447Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;named createIconLnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;
-
getSerializer
Returns the serializer associated with this recipe.- Returns:
- the serializer associated with this recipe
- Mappings:
Namespace Name Mixin selector official ar_Lcqc;ar_()Lcqg;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-