Package vazkii.botania.api.recipe
Interface RecipeWithReagent
- All Superinterfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
- All Known Subinterfaces:
PetalApothecaryRecipe,RunicAltarRecipe
- All Known Implementing Classes:
HeadRecipe,PetalApothecaryRecipe,RunicAltarRecipe
public interface RecipeWithReagent
extends net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, STREAM_CODEC -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancanCraftInDimensions(int width, int height) net.minecraft.world.item.crafting.Ingredientdefault booleanMethods inherited from interface net.minecraft.world.item.crafting.Recipe
assemble, getGroup, getIngredients, getRemainingItems, getResultItem, getSerializer, getToastSymbol, getType, isIncomplete, matches, showNotification
-
Method Details
-
getReagent
net.minecraft.world.item.crafting.Ingredient getReagent()- Returns:
- Ingredient matching the final item that needs to be thrown into the apothecary to perform a craft after a matching recipe is in.
-
canCraftInDimensions
default boolean canCraftInDimensions(int width, int height) - Specified by:
canCraftInDimensionsin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-
isSpecial
default boolean isSpecial()- Specified by:
isSpecialin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
-