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/SmithingTrimRecipe
intermediary net/minecraft/class_8062
official ddb
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final Optional
<Ingredient> (package private) final Optional
<Ingredient> private @Nullable IngredientPlacement
(package private) final Optional
<Ingredient> Fields inherited from interface net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC
-
Constructor Summary
ConstructorDescriptionSmithingTrimRecipe
(Optional<Ingredient> template, Optional<Ingredient> base, Optional<Ingredient> addition) -
Method Summary
Modifier and TypeMethodDescriptionaddition()
base()
craft
(SmithingRecipeInput smithingRecipeInput, RegistryWrapper.WrapperLookup wrapperLookup) Crafts this recipe.static ItemStack
craft
(RegistryWrapper.WrapperLookup registries, ItemStack base, ItemStack addition, ItemStack template) invalid reference
list of recipe displays corresponding to the recipe
Returns the serializer associated with this recipe.template()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.recipe.Recipe
getGroup, isIgnoredInRecipeBook, showNotification
Methods inherited from interface net.minecraft.recipe.SmithingRecipe
getRecipeBookCategory, getType, matches
-
Field Details
-
template
- Mappings:
Namespace Name Mixin selector named template
Lnet/minecraft/recipe/SmithingTrimRecipe;template:Ljava/util/Optional;
intermediary field_42035
Lnet/minecraft/class_8062;field_42035:Ljava/util/Optional;
official c
Lddb;c:Ljava/util/Optional;
-
base
- Mappings:
Namespace Name Mixin selector named base
Lnet/minecraft/recipe/SmithingTrimRecipe;base:Ljava/util/Optional;
intermediary field_42036
Lnet/minecraft/class_8062;field_42036:Ljava/util/Optional;
official d
Lddb;d:Ljava/util/Optional;
-
addition
- Mappings:
Namespace Name Mixin selector named addition
Lnet/minecraft/recipe/SmithingTrimRecipe;addition:Ljava/util/Optional;
intermediary field_42037
Lnet/minecraft/class_8062;field_42037:Ljava/util/Optional;
official e
Lddb;e:Ljava/util/Optional;
-
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 f
Lddb;f:Ldcc;
-
-
Constructor Details
-
SmithingTrimRecipe
public SmithingTrimRecipe(Optional<Ingredient> template, Optional<Ingredient> base, Optional<Ingredient> addition) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/recipe/SmithingTrimRecipe;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_8062;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
official <init>
Lddb;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)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 interfaceRecipe<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
Lddb;a(Ldcz;Ljs$a;)Lcxo;
-
craft
public static ItemStack craft(RegistryWrapper.WrapperLookup registries, ItemStack base, ItemStack addition, ItemStack template) - 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/item/ItemStack;)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_1799;)Lnet/minecraft/class_1799;
official a
Lddb;a(Ljs$a;Lcxo;Lcxo;Lcxo;)Lcxo;
-
template
- Specified by:
template
in interfaceSmithingRecipe
- 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
Ldcy;c()Ljava/util/Optional;
-
base
- Specified by:
base
in interfaceSmithingRecipe
- Mappings:
Namespace Name Mixin selector named base
Lnet/minecraft/recipe/SmithingRecipe;base()Ljava/util/Optional;
intermediary method_64723
Lnet/minecraft/class_8059;method_64723()Ljava/util/Optional;
official f
Ldcy;f()Ljava/util/Optional;
-
addition
- Specified by:
addition
in interfaceSmithingRecipe
- 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
Ldcy;k()Ljava/util/Optional;
-
getSerializer
Returns the serializer associated with this recipe.- Specified by:
getSerializer
in interfaceRecipe<SmithingRecipeInput>
- Specified by:
getSerializer
in interfaceSmithingRecipe
- 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;
-
getIngredientPlacement
- Specified by:
getIngredientPlacement
in interfaceRecipe<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 ap_
Ldcd;ap_()Ldcc;
-
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 interfaceRecipe<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
Ldcd;g()Ljava/util/List;
-