public class GuiScreenCrafting extends GuiScreenDynamic
| Modifier and Type | Field and Description |
|---|---|
static int |
ICON_DISTANCE |
bottom, guiHeight, guiWidth, left, right, topdragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiScreenCrafting(Category recipeCategory,
AbstractTrigger trigger,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(@NotNull net.minecraft.client.gui.GuiButton button) |
void |
drawHoveringText(@NotNull java.util.List<java.lang.String> textLines,
int x,
int y,
@NotNull net.minecraft.client.gui.FontRenderer font) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
@NotNull net.minecraft.item.ItemStack |
getHoveredItemStack() |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
static void |
onDrawTooltip(net.minecraftforge.client.event.RenderTooltipEvent.PostBackground event)
Adapted from
GuiCuttingSaw#onDrawTooltip in Rebirth-of-the-Night/Serrate (commit 284ebab). |
void |
redrawLabels() |
void |
updateScreen() |
drawGuiContainerBackgroundLayer, drawLabelscheckHotbarKeys, doesGuiPauseGame, drawGuiContainerForegroundLayer, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPointInRegion, mouseClickMove, mouseReleased, onGuiClosed, renderHoveredToolTipaddButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolutionpublic static final int ICON_DISTANCE
public GuiScreenCrafting(Category recipeCategory, AbstractTrigger trigger, net.minecraft.entity.player.EntityPlayer player, net.minecraft.world.World world)
@NotNull public @NotNull net.minecraft.item.ItemStack getHoveredItemStack()
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenDynamicpublic void drawHoveringText(@NotNull
@NotNull java.util.List<java.lang.String> textLines,
int x,
int y,
@NotNull
@NotNull net.minecraft.client.gui.FontRenderer font)
drawHoveringText in class GuiScreenDynamicpublic static void onDrawTooltip(net.minecraftforge.client.event.RenderTooltipEvent.PostBackground event)
GuiCuttingSaw#onDrawTooltip in Rebirth-of-the-Night/Serrate (commit 284ebab).
Copyright (c) 2026 phantamanta44. Licensed under the MIT License.
event - Event that is fired after the background of the tooltip has been drawnprotected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiScreenDynamicjava.io.IOExceptionpublic void initGui()
initGui in class net.minecraft.client.gui.inventory.GuiContainerpublic void redrawLabels()
protected void actionPerformed(@NotNull
@NotNull net.minecraft.client.gui.GuiButton button)
actionPerformed in class net.minecraft.client.gui.GuiScreenprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
keyTyped in class net.minecraft.client.gui.inventory.GuiContainerjava.io.IOExceptionpublic void updateScreen()
updateScreen in class net.minecraft.client.gui.inventory.GuiContainer