Package com.petrolpark.compat.jei.ghost
Class PetrolparkGhostIngredientHandler<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<MENU,SCREEN>
- All Implemented Interfaces:
mezz.jei.api.gui.handlers.IGhostIngredientHandler<SCREEN>
public class PetrolparkGhostIngredientHandler<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<SCREEN>
Mainly copied from
Create source code.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPetrolparkGhostIngredientHandler.PetrolparkGhostTarget<I,MENU extends com.simibubi.create.foundation.gui.menu.GhostItemMenu<?>, SCREEN extends com.simibubi.create.foundation.gui.menu.AbstractSimiContainerScreen<? extends MENU>> Nested classes/interfaces inherited from interface mezz.jei.api.gui.handlers.IGhostIngredientHandler
mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<I> List<mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>> getTargetsTyped(SCREEN gui, mezz.jei.api.ingredients.ITypedIngredient<I> ingredient, boolean doStart) voidboolean
-
Constructor Details
-
PetrolparkGhostIngredientHandler
public PetrolparkGhostIngredientHandler()
-
-
Method Details
-
getTargetsTyped
public <I> List<mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>> getTargetsTyped(@Nonnull SCREEN gui, @Nonnull mezz.jei.api.ingredients.ITypedIngredient<I> ingredient, boolean doStart) - Specified by:
getTargetsTypedin interfacemezz.jei.api.gui.handlers.IGhostIngredientHandler<MENU extends com.simibubi.create.foundation.gui.menu.GhostItemMenu<?>>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfacemezz.jei.api.gui.handlers.IGhostIngredientHandler<MENU extends com.simibubi.create.foundation.gui.menu.GhostItemMenu<?>>
-
shouldHighlightTargets
public boolean shouldHighlightTargets()- Specified by:
shouldHighlightTargetsin interfacemezz.jei.api.gui.handlers.IGhostIngredientHandler<MENU extends com.simibubi.create.foundation.gui.menu.GhostItemMenu<?>>
-