Class EmiStackInteraction

java.lang.Object
emi.dev.emi.emi.api.stack.EmiStackInteraction
Direct Known Subclasses:
EmiScreenManager.SidebarEmiStackInteraction

public class EmiStackInteraction extends Object
  • Field Details

  • Constructor Details

    • EmiStackInteraction

      public EmiStackInteraction(EmiIngredient stack)
    • EmiStackInteraction

      public EmiStackInteraction(EmiIngredient stack, EmiRecipe recipe, boolean clickable)
      Parameters:
      stack - The ingredient being interacted with
      recipe - The recipe associated with this ingredient, like from the output of a recipe, or a favorited recipe
      clickable - 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

      public EmiIngredient getStack()
    • getRecipeContext

      public EmiRecipe getRecipeContext()
    • isClickable

      public boolean isClickable()
    • isEmpty

      public boolean isEmpty()