Package net.minecraft.recipe
Class SmithingRecipe
java.lang.Object
net.minecraft.recipe.SmithingRecipe
public class SmithingRecipe extends Object implements Recipe<Inventory>
- Mappings:
Namespace Name official breintermediary net/minecraft/class_5357named net/minecraft/recipe/SmithingRecipe
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSmithingRecipe.Serializer -
Field Summary
Fields Modifier and Type Field Description private Ingredientadditionprivate Ingredientbaseprivate Identifieridprivate ItemStackresult -
Constructor Summary
Constructors Constructor Description SmithingRecipe(Identifier id, Ingredient base, Ingredient addition, ItemStack result) -
Method Summary
Modifier and Type Method Description ItemStackcraft(Inventory inv)booleanfits(int width, int height)IdentifiergetId()ItemStackgetOutput()ItemStackgetRecipeKindIcon()RecipeSerializer<?>getSerializer()RecipeType<?>getType()booleanisEmpty()booleanmatches(Inventory inv, World world)booleantestAddition(ItemStack stack)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, getPreviewInputs, getRemainingStacks, isIgnoredInRecipeBook
-
Field Details
-
base
- Mappings:
Namespace Name Mixin selector official aLbre;a:Lbqk;intermediary field_25389Lnet/minecraft/class_5357;field_25389:Lnet/minecraft/class_1856;named baseLnet/minecraft/recipe/SmithingRecipe;base:Lnet/minecraft/recipe/Ingredient;
-
addition
- Mappings:
Namespace Name Mixin selector official bLbre;b:Lbqk;intermediary field_25390Lnet/minecraft/class_5357;field_25390:Lnet/minecraft/class_1856;named additionLnet/minecraft/recipe/SmithingRecipe;addition:Lnet/minecraft/recipe/Ingredient;
-
result
- Mappings:
Namespace Name Mixin selector official cLbre;c:Lbnv;intermediary field_25391Lnet/minecraft/class_5357;field_25391:Lnet/minecraft/class_1799;named resultLnet/minecraft/recipe/SmithingRecipe;result:Lnet/minecraft/item/ItemStack;
-
id
- Mappings:
Namespace Name Mixin selector official dLbre;d:Lwb;intermediary field_25392Lnet/minecraft/class_5357;field_25392:Lnet/minecraft/class_2960;named idLnet/minecraft/recipe/SmithingRecipe;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
SmithingRecipe
- Mappings:
Namespace Name Mixin selector official <init>Lbre;<init>(Lwb;Lbqk;Lbqk;Lbnv;)Vintermediary <init>Lnet/minecraft/class_5357;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;)Vnamed <init>Lnet/minecraft/recipe/SmithingRecipe;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;)V
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceRecipe<Inventory>- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lapj;Lbtv;)Zintermediary method_8115Lnet/minecraft/class_1860;method_8115(Lnet/minecraft/class_1263;Lnet/minecraft/class_1937;)Znamed matchesLnet/minecraft/recipe/Recipe;matches(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/world/World;)Z
-
craft
- Specified by:
craftin interfaceRecipe<Inventory>- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lapj;)Lbnv;intermediary method_8116Lnet/minecraft/class_1860;method_8116(Lnet/minecraft/class_1263;)Lnet/minecraft/class_1799;named craftLnet/minecraft/recipe/Recipe;craft(Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/item/ItemStack;
-
fits
-
getOutput
-
testAddition
- Mappings:
Namespace Name Mixin selector official aLbre;a(Lbnv;)Zintermediary method_30029Lnet/minecraft/class_5357;method_30029(Lnet/minecraft/class_1799;)Znamed testAdditionLnet/minecraft/recipe/SmithingRecipe;testAddition(Lnet/minecraft/item/ItemStack;)Z
-
getRecipeKindIcon
- Specified by:
getRecipeKindIconin interfaceRecipe<Inventory>- Mappings:
Namespace Name Mixin selector official hLbqn;h()Lbnv;intermediary method_17447Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;named getRecipeKindIconLnet/minecraft/recipe/Recipe;getRecipeKindIcon()Lnet/minecraft/item/ItemStack;
-
getId
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<Inventory>- Mappings:
Namespace Name Mixin selector official ai_Lbqn;ai_()Lbqp;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-
getType
-
isEmpty
-