Class CampfireCookingRecipe

java.lang.Object
net.minecraft.recipe.AbstractCookingRecipe
net.minecraft.recipe.CampfireCookingRecipe
All Implemented Interfaces:
Recipe<Inventory>

public class CampfireCookingRecipe extends AbstractCookingRecipe
Mappings:
Namespace Name
named net/minecraft/recipe/CampfireCookingRecipe
intermediary net/minecraft/class_3920
official cyl
  • Constructor Details

    • CampfireCookingRecipe

      public CampfireCookingRecipe(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/CampfireCookingRecipe;<init>(Ljava/lang/String;Lnet/minecraft/recipe/book/CookingRecipeCategory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;FI)V
      intermediary <init> Lnet/minecraft/class_3920;<init>(Ljava/lang/String;Lnet/minecraft/class_7709;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;FI)V
      official <init> Lcyl;<init>(Ljava/lang/String;Lcym;Lcyu;Lcur;FI)V
  • Method Details

    • createIcon

      public ItemStack 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
      named createIcon Lnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;
      intermediary method_17447 Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;
      official g Lcyx;g()Lcur;
    • getSerializer

      public RecipeSerializer<?> getSerializer()
      Returns the serializer associated with this recipe.
      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 ao_ Lcyx;ao_()Lczb;