T - The WorkingTileEntity class, mostly just the extension class.public class GuiWorking<T extends TileWorking<?,?>> extends GuiContainerTankInventory<T> implements GuiUpgradeTab.SlotEnabledCallback
WorkingTileEntity.| Modifier and Type | Field and Description |
|---|---|
static int |
UPGRADES_OFFSET_X |
tileoffsetX, offsetY, texturefield_147001_a, field_147007_t, field_147008_s, guiLeft, guiTop, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiWorking(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, shouldRenderTankdrawTooltip, getBaseXSize, getBaseYSize, initGui, isPointInRegion, isPointInRegioncheckHotbarKeys, doesGuiPauseGame, func_146978_c, handleMouseClick, keyTyped, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosed, updateScreenactionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, func_146283_a, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, renderToolTip, setClipboardString, setWorldAndResolutionpublic static final int UPGRADES_OFFSET_X
public GuiWorking(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<?,?>>