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 static ResourceLocation |
BEACON_GUI_TEXTURES |
private GuiBeacon.ConfirmButton |
beaconConfirmButton |
private boolean |
buttonsNotDrawn |
private static org.apache.logging.log4j.Logger |
LOGGER |
private IInventory |
tileBeacon |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiBeacon(InventoryPlayer playerInventory,
IInventory tileBeaconIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
initGui() |
void |
updateScreen() |
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, renderHoveredToolTip
addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, 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, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final org.apache.logging.log4j.Logger LOGGER
private static final ResourceLocation BEACON_GUI_TEXTURES
private final IInventory tileBeacon
private GuiBeacon.ConfirmButton beaconConfirmButton
private boolean buttonsNotDrawn
public GuiBeacon(InventoryPlayer playerInventory, IInventory tileBeaconIn)
public void initGui()
initGui
in class GuiContainer
public void updateScreen()
updateScreen
in class GuiContainer
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer