public class GuiBeacon extends GuiContainer
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
GuiBeacon.Button |
(package private) class |
GuiBeacon.CancelButton |
(package private) class |
GuiBeacon.ConfirmButton |
(package private) class |
GuiBeacon.PowerButton |
| Modifier and Type | Field and Description |
|---|---|
private GuiBeacon.ConfirmButton |
beaconConfirmButton |
private static ResourceLocation |
beaconGuiTextures |
private boolean |
buttonsNotDrawn |
private static org.apache.logging.log4j.Logger |
logger |
private IInventory |
tileBeacon |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySizeallowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiBeacon(InventoryPlayer playerInventory,
IInventory tileBeaconIn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
Args : renderPartialTicks, mouseX, mouseY
|
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
Draw the foreground layer for the GuiContainer (everything in front of the items).
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
checkHotbarKeys, doesGuiPauseGame, drawScreen, handleMouseClick, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosedconfirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprivate static final org.apache.logging.log4j.Logger logger
private static final ResourceLocation beaconGuiTextures
private IInventory tileBeacon
private GuiBeacon.ConfirmButton beaconConfirmButton
private boolean buttonsNotDrawn
public GuiBeacon(InventoryPlayer playerInventory, IInventory tileBeaconIn)
public void initGui()
initGui in class GuiContainerpublic void updateScreen()
updateScreen in class GuiContainerprotected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionprotected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class GuiContainerprotected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiContainer