Package net.minecraft.recipe
Class SmithingRecipe
java.lang.Object
net.minecraft.recipe.SmithingRecipe
public class SmithingRecipe extends Object implements Recipe<Inventory>
-
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()booleanmatches(Inventory inv, World world)booleanmethod_30029(ItemStack itemStack)booleanmethod_31584()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
-
addition
-
result
-
id
-
-
Constructor Details
-
SmithingRecipe
-
-
Method Details
-
matches
-
craft
-
fits
@Environment(CLIENT) public boolean fits(int width, int height) -
getOutput
-
method_30029
-
getRecipeKindIcon
- Specified by:
getRecipeKindIconin interfaceRecipe<Inventory>
-
getId
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<Inventory>
-
getType
-
method_31584
@Environment(CLIENT) public boolean method_31584()- Specified by:
method_31584in interfaceRecipe<Inventory>
-