Class SmithingTrimRecipe

java.lang.Object
net.minecraft.recipe.SmithingTrimRecipe
All Implemented Interfaces:
Recipe<SmithingRecipeInput>, SmithingRecipe

public class SmithingTrimRecipe extends Object implements SmithingRecipe
Mappings:
Namespace Name
named net/minecraft/recipe/SmithingTrimRecipe
intermediary net/minecraft/class_8062
official dik
  • Field Details

    • template

      final Ingredient template
      Mappings:
      Namespace Name Mixin selector
      named template Lnet/minecraft/recipe/SmithingTrimRecipe;template:Lnet/minecraft/recipe/Ingredient;
      intermediary field_42035 Lnet/minecraft/class_8062;field_42035:Lnet/minecraft/class_1856;
      official d Ldik;d:Ldhi;
    • base

      final Ingredient base
      Mappings:
      Namespace Name Mixin selector
      named base Lnet/minecraft/recipe/SmithingTrimRecipe;base:Lnet/minecraft/recipe/Ingredient;
      intermediary field_42036 Lnet/minecraft/class_8062;field_42036:Lnet/minecraft/class_1856;
      official e Ldik;e:Ldhi;
    • addition

      final Ingredient addition
      Mappings:
      Namespace Name Mixin selector
      named addition Lnet/minecraft/recipe/SmithingTrimRecipe;addition:Lnet/minecraft/recipe/Ingredient;
      intermediary field_42037 Lnet/minecraft/class_8062;field_42037:Lnet/minecraft/class_1856;
      official f Ldik;f:Ldhi;
    • pattern

      Mappings:
      Namespace Name Mixin selector
      named pattern Lnet/minecraft/recipe/SmithingTrimRecipe;pattern:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_56321 Lnet/minecraft/class_8062;field_56321:Lnet/minecraft/class_6880;
      official g Ldik;g:Ljl;
    • ingredientPlacement

      @Nullable private @Nullable IngredientPlacement ingredientPlacement
      Mappings:
      Namespace Name Mixin selector
      named ingredientPlacement Lnet/minecraft/recipe/SmithingTrimRecipe;ingredientPlacement:Lnet/minecraft/recipe/IngredientPlacement;
      intermediary field_52606 Lnet/minecraft/class_8062;field_52606:Lnet/minecraft/class_9887;
      official h Ldik;h:Ldhl;
  • Constructor Details

    • SmithingTrimRecipe

      public SmithingTrimRecipe(Ingredient template, Ingredient base, Ingredient addition, RegistryEntry<ArmorTrimPattern> pattern)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/SmithingTrimRecipe;<init>(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary <init> Lnet/minecraft/class_8062;<init>(Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_6880;)V
      official <init> Ldik;<init>(Ldhi;Ldhi;Ldhi;Ljl;)V
  • Method Details

    • craft

      public ItemStack craft(SmithingRecipeInput smithingRecipeInput, RegistryWrapper.WrapperLookup wrapperLookup)
      Description copied from interface: Recipe
      Crafts this recipe.

      This method does not perform side effects on the inventory.

      This method should return a new item stack on each call.

      Specified by:
      craft in interface Recipe<SmithingRecipeInput>
      Returns:
      the resulting item stack
      Mappings:
      Namespace Name Mixin selector
      named craft Lnet/minecraft/recipe/SmithingTrimRecipe;craft(Lnet/minecraft/recipe/input/SmithingRecipeInput;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/item/ItemStack;
      intermediary method_60002 Lnet/minecraft/class_8062;method_60002(Lnet/minecraft/class_9697;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_1799;
      official a Ldik;a(Ldii;Ljn$a;)Ldcv;
    • craft

      public static ItemStack craft(RegistryWrapper.WrapperLookup registries, ItemStack base, ItemStack addition, RegistryEntry<ArmorTrimPattern> pattern)
      Mappings:
      Namespace Name Mixin selector
      named craft Lnet/minecraft/recipe/SmithingTrimRecipe;craft(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/item/ItemStack;
      intermediary method_64996 Lnet/minecraft/class_8062;method_64996(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_6880;)Lnet/minecraft/class_1799;
      official a Ldik;a(Ljn$a;Ldcv;Ldcv;Ljl;)Ldcv;
    • template

      public Optional<Ingredient> template()
      Specified by:
      template in interface SmithingRecipe
      Mappings:
      Namespace Name Mixin selector
      named template Lnet/minecraft/recipe/SmithingRecipe;template()Ljava/util/Optional;
      intermediary method_64722 Lnet/minecraft/class_8059;method_64722()Ljava/util/Optional;
      official c Ldih;c()Ljava/util/Optional;
    • base

      public Ingredient base()
      Specified by:
      base in interface SmithingRecipe
      Mappings:
      Namespace Name Mixin selector
      named base Lnet/minecraft/recipe/SmithingRecipe;base()Lnet/minecraft/recipe/Ingredient;
      intermediary method_64723 Lnet/minecraft/class_8059;method_64723()Lnet/minecraft/class_1856;
      official f Ldih;f()Ldhi;
    • addition

      public Optional<Ingredient> addition()
      Specified by:
      addition in interface SmithingRecipe
      Mappings:
      Namespace Name Mixin selector
      named addition Lnet/minecraft/recipe/SmithingRecipe;addition()Ljava/util/Optional;
      intermediary method_64724 Lnet/minecraft/class_8059;method_64724()Ljava/util/Optional;
      official k Ldih;k()Ljava/util/Optional;
    • getSerializer

      public RecipeSerializer<SmithingTrimRecipe> getSerializer()
      Returns the serializer associated with this recipe.
      Specified by:
      getSerializer in interface Recipe<SmithingRecipeInput>
      Specified by:
      getSerializer in interface SmithingRecipe
      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 Ldhm;a()Ldhw;
    • getIngredientPlacement

      public IngredientPlacement getIngredientPlacement()
      Specified by:
      getIngredientPlacement in interface Recipe<SmithingRecipeInput>
      Mappings:
      Namespace Name Mixin selector
      named getIngredientPlacement Lnet/minecraft/recipe/Recipe;getIngredientPlacement()Lnet/minecraft/recipe/IngredientPlacement;
      intermediary method_61671 Lnet/minecraft/class_1860;method_61671()Lnet/minecraft/class_9887;
      official ao_ Ldhm;ao_()Ldhl;
    • getDisplays

      public List<RecipeDisplay> getDisplays()
      invalid reference
      list of recipe displays corresponding to the recipe

      Recipe displays are sent to the client and displayed in the recipe book. One recipe can have multiple displays.

      Specified by:
      getDisplays in interface Recipe<SmithingRecipeInput>
      Mappings:
      Namespace Name Mixin selector
      named getDisplays Lnet/minecraft/recipe/Recipe;getDisplays()Ljava/util/List;
      intermediary method_64664 Lnet/minecraft/class_1860;method_64664()Ljava/util/List;
      official g Ldhm;g()Ljava/util/List;