Class SmeltingRecipe

All Implemented Interfaces:
Recipe<SingleStackRecipeInput>

public class SmeltingRecipe extends AbstractCookingRecipe
Mappings:
Namespace Name
named net/minecraft/recipe/SmeltingRecipe
intermediary net/minecraft/class_3861
official dcx
  • Constructor Details

    • SmeltingRecipe

      public SmeltingRecipe(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

    • getCookerItem

      protected Item getCookerItem()
      Specified by:
      getCookerItem in class AbstractCookingRecipe
      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;
    • getSerializer

      public RecipeSerializer<SmeltingRecipe> getSerializer()
      Returns the serializer associated with this recipe.
      Specified by:
      getSerializer in interface Recipe<SingleStackRecipeInput>
      Specified by:
      getSerializer in class AbstractCookingRecipe
      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

      public RecipeType<SmeltingRecipe> getType()
      Returns the type of this recipe.

      The type in the recipe JSON format is the serializer instead.

      Specified by:
      getType in interface Recipe<SingleStackRecipeInput>
      Specified by:
      getType in class AbstractCookingRecipe
      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;
    • getRecipeBookCategory

      public RecipeBookCategory getRecipeBookCategory()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeBookCategory Lnet/minecraft/recipe/Recipe;getRecipeBookCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;
      intermediary method_64668 Lnet/minecraft/class_1860;method_64668()Lnet/minecraft/class_10355;
      official h Ldcd;h()Ldcg;