public class GuiScreenBuildCraft
extends net.minecraft.client.gui.GuiScreen
BuildCraftGui for most of its functionality.| Modifier and Type | Field and Description |
|---|---|
BuildCraftGui |
mainGui |
| Constructor and Description |
|---|
GuiScreenBuildCraft()
Creates a new
GuiScreenBuildCraft that will occupy the entire screen. |
GuiScreenBuildCraft(java.util.function.Function<GuiScreenBuildCraft,BuildCraftGui> constructor) |
GuiScreenBuildCraft(IGuiArea area)
Creates a new
GuiScreenBuildCraft that will occupy the given IGuiArea Call
GuiUtil.moveAreaToCentre(IGuiArea) if you want a centred gui. |
GuiScreenBuildCraft(net.minecraft.util.ResourceLocation jsonGuiDef)
Creates a new gui that will load its elements from the given json resource.
|
GuiScreenBuildCraft(net.minecraft.util.ResourceLocation jsonGuiDef,
IGuiArea area)
Creates a new gui that will load its elements from the given json resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
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) |
protected boolean |
shouldAddHelpLedger() |
void |
updateScreen() |
actionPerformed, addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, initGui, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolutionpublic final BuildCraftGui mainGui
public GuiScreenBuildCraft()
GuiScreenBuildCraft that will occupy the entire screen.public GuiScreenBuildCraft(IGuiArea area)
GuiScreenBuildCraft that will occupy the given IGuiArea Call
GuiUtil.moveAreaToCentre(IGuiArea) if you want a centred gui. (Ignoring ledgers, which will display off
to the side)public GuiScreenBuildCraft(java.util.function.Function<GuiScreenBuildCraft,BuildCraftGui> constructor)
public GuiScreenBuildCraft(net.minecraft.util.ResourceLocation jsonGuiDef)
public GuiScreenBuildCraft(net.minecraft.util.ResourceLocation jsonGuiDef,
IGuiArea area)
GuiScreenBuildCraft(IGuiArea) this will occupy only the given IGuiAreaprotected boolean shouldAddHelpLedger()
public void updateScreen()
updateScreen in class net.minecraft.client.gui.GuiScreenpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class net.minecraft.client.gui.GuiScreenprotected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class net.minecraft.client.gui.GuiScreenjava.io.IOExceptionprotected void mouseReleased(int mouseX,
int mouseY,
int state)
mouseReleased in class net.minecraft.client.gui.GuiScreenprotected void mouseClickMove(int mouseX,
int mouseY,
int clickedMouseButton,
long timeSinceLastClick)
mouseClickMove in class net.minecraft.client.gui.GuiScreenprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
keyTyped in class net.minecraft.client.gui.GuiScreenjava.io.IOException