public class RecipesGui extends net.minecraft.client.gui.GuiScreen implements mezz.jei.api.IRecipesGui, IShowsRecipeFocuses, IRecipeLogicStateListener
Constructor and Description |
---|
RecipesGui(mezz.jei.api.IRecipeRegistry recipeRegistry,
IngredientRegistry ingredientRegistry) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(net.minecraft.client.gui.GuiButton guibutton) |
void |
back() |
boolean |
canSetFocusWithMouse() |
void |
close() |
boolean |
doesGuiPauseGame() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
int |
getGuiLeft() |
int |
getGuiTop() |
java.lang.Object |
getIngredientUnderMouse() |
IClickedIngredient<?> |
getIngredientUnderMouse(int mouseX,
int mouseY) |
net.minecraft.client.gui.GuiScreen |
getParentScreen() |
int |
getRecipeCatalystExtraWidth() |
int |
getXSize() |
int |
getYSize() |
void |
handleMouseInput() |
void |
initGui() |
boolean |
isMouseOver(int mouseX,
int mouseY) |
boolean |
isOpen() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onStateChange() |
<V> void |
show(mezz.jei.api.recipe.IFocus<V> focus) |
void |
showCategories(java.util.List<java.lang.String> recipeCategoryUids) |
addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreen
public RecipesGui(mezz.jei.api.IRecipeRegistry recipeRegistry, IngredientRegistry ingredientRegistry)
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.GuiScreen
public void initGui()
initGui
in class net.minecraft.client.gui.GuiScreen
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class net.minecraft.client.gui.GuiScreen
public boolean isMouseOver(int mouseX, int mouseY)
@Nullable public IClickedIngredient<?> getIngredientUnderMouse(int mouseX, int mouseY)
getIngredientUnderMouse
in interface IShowsRecipeFocuses
public boolean canSetFocusWithMouse()
canSetFocusWithMouse
in interface IShowsRecipeFocuses
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class net.minecraft.client.gui.GuiScreen
java.io.IOException
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class net.minecraft.client.gui.GuiScreen
java.io.IOException
protected void keyTyped(char typedChar, int keyCode)
keyTyped
in class net.minecraft.client.gui.GuiScreen
public boolean isOpen()
public void close()
public <V> void show(mezz.jei.api.recipe.IFocus<V> focus)
show
in interface mezz.jei.api.IRecipesGui
public void showCategories(java.util.List<java.lang.String> recipeCategoryUids)
showCategories
in interface mezz.jei.api.IRecipesGui
@Nullable public java.lang.Object getIngredientUnderMouse()
getIngredientUnderMouse
in interface mezz.jei.api.IRecipesGui
public void back()
protected void actionPerformed(net.minecraft.client.gui.GuiButton guibutton)
actionPerformed
in class net.minecraft.client.gui.GuiScreen
@Nullable public net.minecraft.client.gui.GuiScreen getParentScreen()
public void onStateChange()
onStateChange
in interface IRecipeLogicStateListener