public abstract class GuiContainer extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
dragSplitting |
protected java.util.Set |
dragSplittingSlots |
protected int |
guiLeft |
protected int |
guiTop |
protected static ResourceLocation |
inventoryBackground |
Container |
inventorySlots |
protected int |
xSize |
protected int |
ySize |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiContainer(Container p_i1072_1_) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkHotbarKeys(int keyCode) |
boolean |
doesGuiPauseGame() |
protected abstract void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected void |
handleMouseClick(Slot slotIn,
int slotId,
int clickedButton,
int clickType) |
void |
initGui() |
protected boolean |
isPointInRegion(int left,
int top,
int right,
int bottom,
int pointX,
int pointY) |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
protected void |
mouseClickMove(int mouseX,
int mouseY,
int clickedMouseButton,
long timeSinceLastClick) |
protected void |
mouseReleased(int mouseX,
int mouseY,
int state) |
void |
onGuiClosed() |
void |
updateScreen() |
actionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, func_175272_a, func_175273_b, func_175276_a, func_175277_d, func_175278_g, func_175279_e, func_175280_f, func_175283_s, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprotected static final ResourceLocation inventoryBackground
protected int xSize
protected int ySize
public Container inventorySlots
protected int guiLeft
protected int guiTop
protected final java.util.Set dragSplittingSlots
protected boolean dragSplitting
public GuiContainer(Container p_i1072_1_)
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenprotected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
protected abstract void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
protected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiScreenjava.io.IOExceptionprotected void mouseClickMove(int mouseX,
int mouseY,
int clickedMouseButton,
long timeSinceLastClick)
mouseClickMove in class GuiScreenprotected void mouseReleased(int mouseX,
int mouseY,
int state)
mouseReleased in class GuiScreenprotected boolean isPointInRegion(int left,
int top,
int right,
int bottom,
int pointX,
int pointY)
protected void handleMouseClick(Slot slotIn, int slotId, int clickedButton, int clickType)
protected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
protected boolean checkHotbarKeys(int keyCode)
public void onGuiClosed()
onGuiClosed in class GuiScreenpublic boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreenpublic void updateScreen()
updateScreen in class GuiScreen