Package net.minecraft.item.crafting
Class SmithingRecipe
java.lang.Object
net.minecraft.item.crafting.SmithingRecipe
- All Implemented Interfaces:
IRecipe<IInventory>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Ingredientprivate final Ingredientprivate final ResourceLocationprivate final ItemStack -
Constructor Summary
ConstructorsConstructorDescriptionSmithingRecipe(ResourceLocation p_i231600_1_, Ingredient p_i231600_2_, Ingredient p_i231600_3_, ItemStack p_i231600_4_) -
Method Summary
Modifier and TypeMethodDescriptionassemble(IInventory p_77572_1_) booleancanCraftInDimensions(int p_194133_1_, int p_194133_2_) getId()IRecipeType<?>getType()booleanisAdditionIngredient(ItemStack p_241456_1_) booleanmatches(IInventory p_77569_1_, World p_77569_2_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.item.crafting.IRecipe
getGroup, getIngredients, getRemainingItems, isSpecial
-
Field Details
-
base
-
addition
-
result
-
id
-
-
Constructor Details
-
SmithingRecipe
public SmithingRecipe(ResourceLocation p_i231600_1_, Ingredient p_i231600_2_, Ingredient p_i231600_3_, ItemStack p_i231600_4_)
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceIRecipe<IInventory>
-
assemble
- Specified by:
assemblein interfaceIRecipe<IInventory>
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_194133_1_, int p_194133_2_) - Specified by:
canCraftInDimensionsin interfaceIRecipe<IInventory>
-
getResultItem
- Specified by:
getResultItemin interfaceIRecipe<IInventory>
-
isAdditionIngredient
-
getToastSymbol
- Specified by:
getToastSymbolin interfaceIRecipe<IInventory>
-
getId
- Specified by:
getIdin interfaceIRecipe<IInventory>
-
getSerializer
- Specified by:
getSerializerin interfaceIRecipe<IInventory>
-
getType
- Specified by:
getTypein interfaceIRecipe<IInventory>
-