Package net.minecraft.recipe
Class SmithingTrimRecipe
java.lang.Object
net.minecraft.recipe.SmithingTrimRecipe
- All Implemented Interfaces:
Recipe<SmithingRecipeInput>,SmithingRecipe
- Mappings:
Namespace Name named net/minecraft/recipe/SmithingTrimRecipeintermediary net/minecraft/class_8062official dfz
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Ingredient(package private) final Ingredientprivate @Nullable IngredientPlacement(package private) final RegistryEntry<ArmorTrimPattern> (package private) final IngredientFields inherited from interface net.minecraft.recipe.Recipe
CODEC, KEY_CODEC, PACKET_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionSmithingTrimRecipe(Ingredient template, Ingredient base, Ingredient addition, RegistryEntry<ArmorTrimPattern> pattern) -
Method Summary
Modifier and TypeMethodDescriptionaddition()base()craft(SmithingRecipeInput smithingRecipeInput, RegistryWrapper.WrapperLookup wrapperLookup) Crafts this recipe.static ItemStackcraft(RegistryWrapper.WrapperLookup registries, ItemStack base, ItemStack addition, RegistryEntry<ArmorTrimPattern> pattern) invalid reference
list of recipe displays corresponding to the recipeReturns the serializer associated with this recipe.template()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.Recipe
getGroup, isIgnoredInRecipeBook, showNotificationMethods inherited from interface net.minecraft.recipe.SmithingRecipe
getRecipeBookCategory, getType, matches
-
Field Details
-
template
- Mappings:
Namespace Name Mixin selector named templateLnet/minecraft/recipe/SmithingTrimRecipe;template:Lnet/minecraft/recipe/Ingredient;intermediary field_42035Lnet/minecraft/class_8062;field_42035:Lnet/minecraft/class_1856;official dLdfz;d:Ldex;
-
base
- Mappings:
Namespace Name Mixin selector named baseLnet/minecraft/recipe/SmithingTrimRecipe;base:Lnet/minecraft/recipe/Ingredient;intermediary field_42036Lnet/minecraft/class_8062;field_42036:Lnet/minecraft/class_1856;official eLdfz;e:Ldex;
-
addition
- Mappings:
Namespace Name Mixin selector named additionLnet/minecraft/recipe/SmithingTrimRecipe;addition:Lnet/minecraft/recipe/Ingredient;intermediary field_42037Lnet/minecraft/class_8062;field_42037:Lnet/minecraft/class_1856;official fLdfz;f:Ldex;
-
pattern
- Mappings:
Namespace Name Mixin selector named patternLnet/minecraft/recipe/SmithingTrimRecipe;pattern:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_56321Lnet/minecraft/class_8062;field_56321:Lnet/minecraft/class_6880;official gLdfz;g:Ljg;
-
ingredientPlacement
- Mappings:
Namespace Name Mixin selector named ingredientPlacementLnet/minecraft/recipe/SmithingTrimRecipe;ingredientPlacement:Lnet/minecraft/recipe/IngredientPlacement;intermediary field_52606Lnet/minecraft/class_8062;field_52606:Lnet/minecraft/class_9887;official hLdfz;h:Ldfa;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_8062;<init>(Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_6880;)Vofficial <init>Ldfz;<init>(Ldex;Ldex;Ldex;Ljg;)V
-
-
Method Details
-
craft
public ItemStack craft(SmithingRecipeInput smithingRecipeInput, RegistryWrapper.WrapperLookup wrapperLookup) Description copied from interface:RecipeCrafts 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:
craftin interfaceRecipe<SmithingRecipeInput>- Returns:
- the resulting item stack
- Mappings:
Namespace Name Mixin selector named craftLnet/minecraft/recipe/SmithingTrimRecipe;craft(Lnet/minecraft/recipe/input/SmithingRecipeInput;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/item/ItemStack;intermediary method_60002Lnet/minecraft/class_8062;method_60002(Lnet/minecraft/class_9697;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_1799;official aLdfz;a(Ldfx;Lji$a;)Ldak;
-
craft
public static ItemStack craft(RegistryWrapper.WrapperLookup registries, ItemStack base, ItemStack addition, RegistryEntry<ArmorTrimPattern> pattern) - Mappings:
Namespace Name Mixin selector named craftLnet/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_64996Lnet/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 aLdfz;a(Lji$a;Ldak;Ldak;Ljg;)Ldak;
-
template
- Specified by:
templatein interfaceSmithingRecipe- Mappings:
Namespace Name Mixin selector named templateLnet/minecraft/recipe/SmithingRecipe;template()Ljava/util/Optional;intermediary method_64722Lnet/minecraft/class_8059;method_64722()Ljava/util/Optional;official cLdfw;c()Ljava/util/Optional;
-
base
- Specified by:
basein interfaceSmithingRecipe- Mappings:
Namespace Name Mixin selector named baseLnet/minecraft/recipe/SmithingRecipe;base()Lnet/minecraft/recipe/Ingredient;intermediary method_64723Lnet/minecraft/class_8059;method_64723()Lnet/minecraft/class_1856;official fLdfw;f()Ldex;
-
addition
- Specified by:
additionin interfaceSmithingRecipe- Mappings:
Namespace Name Mixin selector named additionLnet/minecraft/recipe/SmithingRecipe;addition()Ljava/util/Optional;intermediary method_64724Lnet/minecraft/class_8059;method_64724()Ljava/util/Optional;official kLdfw;k()Ljava/util/Optional;
-
getSerializer
Returns the serializer associated with this recipe.- Specified by:
getSerializerin interfaceRecipe<SmithingRecipeInput>- Specified by:
getSerializerin interfaceSmithingRecipe- Returns:
- the serializer associated with this recipe
- Mappings:
Namespace Name Mixin selector named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;official aLdfb;a()Ldfl;
-
getIngredientPlacement
- Specified by:
getIngredientPlacementin interfaceRecipe<SmithingRecipeInput>- Mappings:
Namespace Name Mixin selector named getIngredientPlacementLnet/minecraft/recipe/Recipe;getIngredientPlacement()Lnet/minecraft/recipe/IngredientPlacement;intermediary method_61671Lnet/minecraft/class_1860;method_61671()Lnet/minecraft/class_9887;official al_Ldfb;al_()Ldfa;
-
getDisplays
invalid reference
list of recipe displays corresponding to the recipeRecipe displays are sent to the client and displayed in the recipe book. One recipe can have multiple displays.
- Specified by:
getDisplaysin interfaceRecipe<SmithingRecipeInput>- Mappings:
Namespace Name Mixin selector named getDisplaysLnet/minecraft/recipe/Recipe;getDisplays()Ljava/util/List;intermediary method_64664Lnet/minecraft/class_1860;method_64664()Ljava/util/List;official gLdfb;g()Ljava/util/List;
-