Interface SmithingRecipe
- All Superinterfaces:
Recipe<SmithingRecipeInput>
- All Known Implementing Classes:
SmithingTransformRecipe
,SmithingTrimRecipe
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canCraftInDimensions
(int pWidth, int pHeight) Used to determine if this recipe can fit in a grid of the given width/heightdefault ItemStack
default RecipeType
<?> getType()
boolean
isAdditionIngredient
(ItemStack pStack) boolean
isBaseIngredient
(ItemStack pStack) boolean
isTemplateIngredient
(ItemStack pStack) Methods inherited from interface net.minecraft.world.item.crafting.Recipe
assemble, getGroup, getIngredients, getRemainingItems, getResultItem, getSerializer, isIncomplete, isSpecial, matches, showNotification
-
Method Details
-
getType
- Specified by:
getType
in interfaceRecipe<SmithingRecipeInput>
-
canCraftInDimensions
default boolean canCraftInDimensions(int pWidth, int pHeight) Used to determine if this recipe can fit in a grid of the given width/height- Specified by:
canCraftInDimensions
in interfaceRecipe<SmithingRecipeInput>
-
getToastSymbol
- Specified by:
getToastSymbol
in interfaceRecipe<SmithingRecipeInput>
-
isTemplateIngredient
-
isBaseIngredient
-
isAdditionIngredient
-