Package emi.dev.emi.emi.api.stack
Class EmiStackInteraction
java.lang.Object
emi.dev.emi.emi.api.stack.EmiStackInteraction
- Direct Known Subclasses:
EmiScreenManager.SidebarEmiStackInteraction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEmiStackInteraction(EmiIngredient stack) EmiStackInteraction(EmiIngredient stack, EmiRecipe recipe, boolean clickable) -
Method Summary
-
Field Details
-
EMPTY
-
-
Constructor Details
-
EmiStackInteraction
-
EmiStackInteraction
- Parameters:
stack- The ingredient being interacted withrecipe- The recipe associated with this ingredient, like from the output of a recipe, or a favorited recipeclickable- Whether this stack can be interacted with using a mouse for EMI functions. For example, stacks in the sidebar can, but stacks in the inventory cannot.
-
-
Method Details
-
getStack
-
getRecipeContext
-
isClickable
public boolean isClickable() -
isEmpty
public boolean isEmpty()
-