T - The WorkingTileEntity class, mostly just the extension class.public abstract class GuiWorking<T extends TileWorking<?,?>> extends GuiContainerTankInventory<T> implements GuiUpgradeTab.SlotEnabledCallback
WorkingTileEntity.| Modifier and Type | Field and Description |
|---|---|
static int |
UPGRADES_OFFSET_X |
tilecontainer, offsetX, offsetY, texturedragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiWorking(org.cyclops.cyclopscore.inventory.container.ExtendedInventoryContainer container,
T tile)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawGuiContainerBackgroundLayer(float f,
int x,
int y) |
protected int |
getProgressXScaled(int width) |
protected boolean |
isShowProgress() |
boolean |
isSlotEnabled(int upgradeSlotId) |
drawAdditionalForeground, drawBarTooltipTank, drawForgegroundString, drawGuiContainerForegroundLayer, drawScreen, drawTank, drawTooltips, getProgressYScaled, setProgress, setTank, shouldRenderTankactionPerformed, constructResourceLocation, drawTooltip, getBaseXSize, getBaseYSize, getContainer, getGuiLeft, getGuiTexture, getGuiTop, initGui, isPointInRegion, isPointInRegion, mouseClickMove, onButtonClick, onUpdate, putButtonAction, requiresActioncheckHotbarKeys, doesGuiPauseGame, drawSlot, getSlotUnderMouse, handleMouseClick, isMouseOverSlot, keyTyped, mouseClicked, mouseReleased, onGuiClosed, updateScreenconfirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, func_183500_a, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolutionpublic static final int UPGRADES_OFFSET_X
public GuiWorking(org.cyclops.cyclopscore.inventory.container.ExtendedInventoryContainer container,
T tile)
container - The container to make the GUI for.tile - The tile entity to make the GUI for.public boolean isSlotEnabled(int upgradeSlotId)
isSlotEnabled in interface GuiUpgradeTab.SlotEnabledCallbackprotected boolean isShowProgress()
isShowProgress in class GuiContainerTankInventory<T extends TileWorking<?,?>>protected int getProgressXScaled(int width)
getProgressXScaled in class GuiContainerTankInventory<T extends TileWorking<?,?>>protected void drawGuiContainerBackgroundLayer(float f,
int x,
int y)
drawGuiContainerBackgroundLayer in class GuiContainerTankInventory<T extends TileWorking<?,?>>