Class SmeltingRecipe

All Implemented Interfaces:
Recipe<Inventory>

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

    • SmeltingRecipe

      public SmeltingRecipe(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbya;<init>(Lyt;Ljava/lang/String;Lbxl;Lbuw;FI)V
      intermediary <init> Lnet/minecraft/class_3861;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;FI)V
      named <init> Lnet/minecraft/recipe/SmeltingRecipe;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;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
      official h Lbxo;h()Lbuw;
      intermediary method_17447 Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;
      named createIcon Lnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;
    • getSerializer

      public RecipeSerializer<?> getSerializer()
      Returns the serializer associated with this recipe.
      Returns:
      the serializer associated with this recipe
      Mappings:
      Namespace Name Mixin selector
      official T_ Lbxo;T_()Lbxq;
      intermediary method_8119 Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;
      named getSerializer Lnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;