T - The TankInventoryTileEntity class, mostly just the extension class.public abstract class GuiContainerTankInventory<T extends org.cyclops.cyclopscore.tileentity.TankInventoryTileEntity>
extends org.cyclops.cyclopscore.client.gui.container.GuiContainerExtended
| Modifier and Type | Field and Description |
|---|---|
protected T |
tile |
container, offsetX, offsetY, texturedragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiContainerTankInventory(org.cyclops.cyclopscore.inventory.container.ExtendedInventoryContainer container,
T tile)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawAdditionalForeground(int mouseX,
int mouseY) |
protected void |
drawBarTooltipTank(java.lang.String name,
net.minecraftforge.fluids.FluidStack fluidStack,
int amount,
int capacity,
int x,
int y) |
protected void |
drawForgegroundString() |
protected void |
drawGuiContainerBackgroundLayer(float f,
int x,
int y) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float gameTicks) |
protected void |
drawTank(int xOffset,
int yOffset,
net.minecraftforge.fluids.Fluid fluid,
int level) |
protected void |
drawTooltips(int mouseX,
int mouseY) |
protected int |
getProgressXScaled(int width) |
protected int |
getProgressYScaled(int height) |
protected boolean |
isShowProgress() |
protected void |
setProgress(int progressWidth,
int progressHeight,
int progressX,
int progressY,
int progressTargetX,
int progressTargetY) |
protected void |
setTank(int tankWidth,
int tankHeight,
int tankX,
int tankY,
int tankTargetX,
int tankTargetY) |
protected boolean |
shouldRenderTank() |
actionPerformed, 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, setWorldAndResolutionprotected T extends org.cyclops.cyclopscore.tileentity.TankInventoryTileEntity tile
public GuiContainerTankInventory(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.protected void setTank(int tankWidth,
int tankHeight,
int tankX,
int tankY,
int tankTargetX,
int tankTargetY)
protected void setProgress(int progressWidth,
int progressHeight,
int progressX,
int progressY,
int progressTargetX,
int progressTargetY)
protected boolean isShowProgress()
protected int getProgressXScaled(int width)
protected int getProgressYScaled(int height)
protected void drawGuiContainerBackgroundLayer(float f,
int x,
int y)
drawGuiContainerBackgroundLayer in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedprotected void drawForgegroundString()
protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class net.minecraft.client.gui.inventory.GuiContainerprotected void drawAdditionalForeground(int mouseX,
int mouseY)
public void drawScreen(int mouseX,
int mouseY,
float gameTicks)
drawScreen in class net.minecraft.client.gui.inventory.GuiContainerprotected boolean shouldRenderTank()
protected void drawTank(int xOffset,
int yOffset,
net.minecraftforge.fluids.Fluid fluid,
int level)
protected void drawTooltips(int mouseX,
int mouseY)
protected void drawBarTooltipTank(java.lang.String name,
net.minecraftforge.fluids.FluidStack fluidStack,
int amount,
int capacity,
int x,
int y)