public class RecipesGui extends net.minecraft.client.gui.GuiScreen implements mezz.jei.api.runtime.IRecipesGui, IShowsRecipeFocuses, IRecipeLogicStateListener
| Constructor and Description |
|---|
RecipesGui(mezz.jei.api.recipe.IRecipeManager recipeManager,
RecipeTransferManager recipeTransferManager,
IngredientManager ingredientManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
back() |
boolean |
canSetFocusWithMouse() |
void |
close() |
boolean |
doesGuiPauseGame() |
int |
getGuiLeft() |
int |
getGuiTop() |
java.lang.Object |
getIngredientUnderMouse() |
IClickedIngredient<?> |
getIngredientUnderMouse(double mouseX,
double mouseY) |
net.minecraft.client.gui.GuiScreen |
getParentScreen() |
int |
getRecipeCatalystExtraWidth() |
int |
getXSize() |
int |
getYSize() |
void |
initGui() |
boolean |
isMouseOver(double mouseX,
double mouseY) |
boolean |
isOpen() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
boolean |
mouseScrolled(double scrollDelta) |
void |
onStateChange() |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
<V> void |
show(mezz.jei.api.recipe.IFocus<V> focus) |
void |
showCategories(java.util.List<net.minecraft.util.ResourceLocation> recipeCategoryUids) |
addButton, allowCloseWithEscape, confirmResult, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onGuiClosed, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution, tickfocusNext, focusOn, getFocused, mouseDragged, mouseReleased, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic RecipesGui(mezz.jei.api.recipe.IRecipeManager recipeManager,
RecipeTransferManager recipeTransferManager,
IngredientManager ingredientManager)
public int getGuiLeft()
public int getGuiTop()
public int getXSize()
public int getYSize()
public int getRecipeCatalystExtraWidth()
public boolean doesGuiPauseGame()
doesGuiPauseGame in class net.minecraft.client.gui.GuiScreenpublic void initGui()
initGui in class net.minecraft.client.gui.GuiScreenpublic void render(int mouseX,
int mouseY,
float partialTicks)
render in class net.minecraft.client.gui.GuiScreenpublic boolean isMouseOver(double mouseX,
double mouseY)
@Nullable public IClickedIngredient<?> getIngredientUnderMouse(double mouseX, double mouseY)
getIngredientUnderMouse in interface IShowsRecipeFocusespublic boolean canSetFocusWithMouse()
canSetFocusWithMouse in interface IShowsRecipeFocusespublic boolean mouseScrolled(double scrollDelta)
mouseScrolled in interface net.minecraft.client.gui.IGuiEventListenermouseScrolled in interface net.minecraft.client.gui.IGuiEventListenerDeferredpublic boolean mouseClicked(double mouseX,
double mouseY,
int mouseButton)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.IGuiEventListenerDeferredmouseClicked in class net.minecraft.client.gui.GuiEventHandlerpublic boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.IGuiEventListenerDeferredkeyPressed in class net.minecraft.client.gui.GuiScreenpublic boolean isOpen()
public void close()
close in class net.minecraft.client.gui.GuiScreenpublic <V> void show(mezz.jei.api.recipe.IFocus<V> focus)
show in interface mezz.jei.api.runtime.IRecipesGuipublic void showCategories(java.util.List<net.minecraft.util.ResourceLocation> recipeCategoryUids)
showCategories in interface mezz.jei.api.runtime.IRecipesGui@Nullable public java.lang.Object getIngredientUnderMouse()
getIngredientUnderMouse in interface mezz.jei.api.runtime.IRecipesGuipublic void back()
@Nullable public net.minecraft.client.gui.GuiScreen getParentScreen()
public void onStateChange()
onStateChange in interface IRecipeLogicStateListener