Class FurnaceCraftingGuiHandler
java.lang.Object
com.minecolonies.core.compatibility.jei.transfer.AbstractTeachingGuiHandler<WindowFurnaceCrafting>
com.minecolonies.core.compatibility.jei.transfer.FurnaceCraftingGuiHandler
- All Implemented Interfaces:
mezz.jei.api.gui.handlers.IGhostIngredientHandler<WindowFurnaceCrafting>,mezz.jei.api.gui.handlers.IGuiContainerHandler<WindowFurnaceCrafting>
Implements a "show recipes" button on the furnace teaching window, and allows you to drag
individual ingredients directly from JEI to the teaching grid without using cheat mode.
-
Nested Class Summary
Nested classes/interfaces inherited from interface mezz.jei.api.gui.handlers.IGhostIngredientHandler
mezz.jei.api.gui.handlers.IGhostIngredientHandler.Target<I extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionFurnaceCraftingGuiHandler(@NotNull List<JobBasedRecipeCategory<?>> categories) -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<mezz.jei.api.gui.handlers.IGuiClickableArea>getGuiClickableAreas(@NotNull WindowFurnaceCrafting containerScreen, double mouseX, double mouseY) protected @NotNull Class<WindowFurnaceCrafting>protected booleanisSupportedCraftingModule(@NotNull CraftingModuleView moduleView) protected booleanisSupportedSlot(@NotNull net.minecraft.world.inventory.Slot slot) protected voidupdateServer(@NotNull WindowFurnaceCrafting gui) Methods inherited from class com.minecolonies.core.compatibility.jei.transfer.AbstractTeachingGuiHandler
getRecipeCategory, getTargetsTyped, onComplete, registerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.gui.handlers.IGhostIngredientHandler
shouldHighlightTargetsMethods inherited from interface mezz.jei.api.gui.handlers.IGuiContainerHandler
getClickableIngredientUnderMouse, getGuiExtraAreas
-
Constructor Details
-
FurnaceCraftingGuiHandler
-
-
Method Details
-
getWindowClass
- Specified by:
getWindowClassin classAbstractTeachingGuiHandler<WindowFurnaceCrafting>
-
getGuiClickableAreas
@NotNull public @NotNull Collection<mezz.jei.api.gui.handlers.IGuiClickableArea> getGuiClickableAreas(@NotNull @NotNull WindowFurnaceCrafting containerScreen, double mouseX, double mouseY) -
isSupportedCraftingModule
- Specified by:
isSupportedCraftingModulein classAbstractTeachingGuiHandler<WindowFurnaceCrafting>
-
isSupportedSlot
protected boolean isSupportedSlot(@NotNull @NotNull net.minecraft.world.inventory.Slot slot) - Specified by:
isSupportedSlotin classAbstractTeachingGuiHandler<WindowFurnaceCrafting>
-
updateServer
- Specified by:
updateServerin classAbstractTeachingGuiHandler<WindowFurnaceCrafting>
-