public class GuiDiamondWoodPipe extends GuiBC8<ContainerDiamondWoodPipe> implements IButtonClickEventListener
GuiBC8.RootPosition
container, currentMenu, isDebuggingEnabled, lowerLeftLedgerPos, lowerRightLedgerPos, mouse, rootElement, shownElements, SPRITE_DEBUG
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
Constructor and Description |
---|
GuiDiamondWoodPipe(net.minecraft.entity.player.EntityPlayer player,
PipeBehaviourWoodDiamond pipe) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackgroundLayer(float partialTicks) |
protected void |
drawForegroundLayer() |
void |
handleButtonClick(IButtonClickEventTrigger sender,
int buttonKey) |
void |
initGui() |
drawGradientRect, drawGradientRect, drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, drawItemStackAt, drawProgress, drawScreen, drawString, drawTexturedModalRect, getButtonList, getElementsAt, getFontRenderer, getLastPartialTicks, mouseClicked, mouseClickMove, mouseReleased, shouldAddHelpLedger, updateScreen
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPointInRegion, keyTyped, onGuiClosed, renderHoveredToolTip
actionPerformed, 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
public GuiDiamondWoodPipe(net.minecraft.entity.player.EntityPlayer player, PipeBehaviourWoodDiamond pipe)
public void initGui()
initGui
in class GuiBC8<ContainerDiamondWoodPipe>
public void handleButtonClick(IButtonClickEventTrigger sender, int buttonKey)
handleButtonClick
in interface IButtonClickEventListener
buttonKey
- The key of the button. Will always be 0 if called from minecraft code (as minecraft doesn't
support button clicks with any other numbers), as opposed to if this was called from
IGuiElement
code, in which case all button keys will be listened to.protected void drawBackgroundLayer(float partialTicks)
drawBackgroundLayer
in class GuiBC8<ContainerDiamondWoodPipe>
protected void drawForegroundLayer()
drawForegroundLayer
in class GuiBC8<ContainerDiamondWoodPipe>