Package emi.dev.emi.emi.handler
Class CookingRecipeHandler<T extends ContainerFurnace>
java.lang.Object
emi.dev.emi.emi.handler.CookingRecipeHandler<T>
- All Implemented Interfaces:
EmiRecipeHandler<T>,StandardRecipeHandler<T>
public class CookingRecipeHandler<T extends ContainerFurnace>
extends Object
implements StandardRecipeHandler<T>
-
Field Summary
Fields inherited from interface emi.dev.emi.emi.api.recipe.handler.EmiRecipeHandler
NOT_ENOUGH_INGREDIENTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCraftingSlots(T handler) getInputSources(T handler) booleansupportsRecipe(EmiRecipe recipe) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface emi.dev.emi.emi.api.recipe.handler.EmiRecipeHandler
alwaysDisplaySupport, getTooltipMethods inherited from interface emi.dev.emi.emi.api.recipe.handler.StandardRecipeHandler
canCraft, craft, getCraftingSlots, getInventory, getOutputSlot, render
-
Constructor Details
-
CookingRecipeHandler
-
-
Method Details
-
getInputSources
- Specified by:
getInputSourcesin interfaceStandardRecipeHandler<T extends ContainerFurnace>- Returns:
- The slots for the recipe handler to source ingredients from. Typically this should include the player's inventory, and crafting slots.
-
getCraftingSlots
- Specified by:
getCraftingSlotsin interfaceStandardRecipeHandler<T extends ContainerFurnace>- Returns:
- The slots where inputs should be placed to perform crafting.
-
supportsRecipe
- Specified by:
supportsRecipein interfaceEmiRecipeHandler<T extends ContainerFurnace>- Returns:
- Whether the handler is applicable for the provided recipe.
-