public class AmadronAddTradeGhost extends java.lang.Object implements mezz.jei.api.gui.handlers.IGhostIngredientHandler<GuiAmadronAddTrade>
| Constructor and Description |
|---|
AmadronAddTradeGhost() |
| Modifier and Type | Method and Description |
|---|---|
<I> java.util.List<mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>> |
getTargets(GuiAmadronAddTrade gui,
I ingredient,
boolean doStart)
Called when a player wants to drag an ingredient on to your gui.
|
void |
onComplete()
Called when the player is done dragging an ingredient.
|
public <I> java.util.List<mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I>> getTargets(GuiAmadronAddTrade gui, I ingredient, boolean doStart)
mezz.jei.api.gui.handlers.IGhostIngredientHandlergetTargets in interface mezz.jei.api.gui.handlers.IGhostIngredientHandler<GuiAmadronAddTrade>public void onComplete()
mezz.jei.api.gui.handlers.IGhostIngredientHandlerIGhostIngredientHandler.Target.accept(Object) was called before this.
Otherwise, the player failed to drag an ingredient to a IGhostIngredientHandler.Target.onComplete in interface mezz.jei.api.gui.handlers.IGhostIngredientHandler<GuiAmadronAddTrade>