Class PetrolparkGhostIngredientHandler.PetrolparkGhostTarget<I,MENU extends com.simibubi.create.foundation.gui.menu.GhostItemMenu<?>,SCREEN extends com.simibubi.create.foundation.gui.menu.AbstractSimiContainerScreen<? extends MENU>>

java.lang.Object
com.petrolpark.compat.jei.ghost.PetrolparkGhostIngredientHandler.PetrolparkGhostTarget<I,MENU,SCREEN>
All Implemented Interfaces:
Consumer<I>, mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>
Enclosing class:
PetrolparkGhostIngredientHandler<MENU extends com.simibubi.create.foundation.gui.menu.GhostItemMenu<?>,SCREEN extends com.simibubi.create.foundation.gui.menu.AbstractSimiContainerScreen<? extends MENU>>

public static class PetrolparkGhostIngredientHandler.PetrolparkGhostTarget<I,MENU extends com.simibubi.create.foundation.gui.menu.GhostItemMenu<?>,SCREEN extends com.simibubi.create.foundation.gui.menu.AbstractSimiContainerScreen<? extends MENU>> extends Object implements mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>
  • Constructor Details

    • PetrolparkGhostTarget

      public PetrolparkGhostTarget(SCREEN screen, int slotIndex)
  • Method Details

    • getArea

      public net.minecraft.client.renderer.Rect2i getArea()
      Specified by:
      getArea in interface mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>
    • accept

      public void accept(I ingredient)
      Specified by:
      accept in interface Consumer<I>
      Specified by:
      accept in interface mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>