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 booleancanCraftInDimensions(int pWidth, int pHeight) Used to determine if this recipe can fit in a grid of the given width/heightdefault ItemStackdefault RecipeType<?> getType()booleanisAdditionIngredient(ItemStack pStack) booleanisBaseIngredient(ItemStack pStack) booleanisTemplateIngredient(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:
getTypein 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:
canCraftInDimensionsin interfaceRecipe<SmithingRecipeInput>
-
getToastSymbol
- Specified by:
getToastSymbolin interfaceRecipe<SmithingRecipeInput>
-
isTemplateIngredient
-
isBaseIngredient
-
isAdditionIngredient
-