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, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiContainerTankInventory(TickingTankInventoryContainer 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) |
void |
drawCurrentScreen(int mouseX,
int mouseY,
float gameTicks) |
protected void |
drawForgegroundString() |
protected void |
drawGuiContainerBackgroundLayer(float f,
int x,
int y) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
protected void |
drawTank(int xOffset,
int yOffset,
net.minecraftforge.fluids.Fluid fluid,
int level) |
protected void |
drawTooltips(int mouseX,
int mouseY) |
protected TickingTankInventoryContainer |
getContainer() |
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(net.minecraftforge.fluids.FluidStack fluidStack) |
actionPerformed, constructResourceLocation, drawScreen, drawTooltip, getBaseXSize, getBaseYSize, getGuiId, getGuiLeftTotal, getGuiModId, getGuiTexture, getGuiTopTotal, initGui, isMouseOverSlot, isPointInRegion, isPointInRegion, onButtonClick, onUpdate, putButtonAction, refreshValues, requiresActioncheckHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, renderHoveredToolTip, updateScreenaddButton, 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, setWorldAndResolutionprotected T extends org.cyclops.cyclopscore.tileentity.TankInventoryTileEntity tile
public GuiContainerTankInventory(TickingTankInventoryContainer container, T tile)
container - The container to make the GUI for.tile - The tile entity to make the GUI for.protected TickingTankInventoryContainer getContainer()
getContainer in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedprotected 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 drawCurrentScreen(int mouseX,
int mouseY,
float gameTicks)
drawCurrentScreen in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedprotected boolean shouldRenderTank(net.minecraftforge.fluids.FluidStack fluidStack)
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)