public abstract class GuiBuildCraft
extends net.minecraft.client.gui.inventory.GuiContainer
| Modifier and Type | Class and Description |
|---|---|
protected class |
GuiBuildCraft.Ledger
Side ledger for guis
|
protected class |
GuiBuildCraft.LedgerManager |
| Modifier and Type | Field and Description |
|---|---|
BuildCraftContainer |
container |
static net.minecraft.util.ResourceLocation |
LEDGER_TEXTURE |
GuiBuildCraft.LedgerManager |
ledgerManager |
net.minecraft.util.ResourceLocation |
texture |
net.minecraft.tileentity.TileEntity |
tile |
field_147001_a, field_147007_t, field_147008_s, guiLeft, guiTop, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiBuildCraft(BuildCraftContainer container,
net.minecraft.inventory.IInventory inventory,
net.minecraft.util.ResourceLocation texture) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindTexture(net.minecraft.util.ResourceLocation texture) |
void |
drawCenteredString(java.lang.String string,
int xCenter,
int yCenter,
int textColor) |
void |
drawFluid(net.minecraftforge.fluids.FluidStack fluid,
int x,
int y,
int width,
int height,
int maxCapacity) |
protected void |
drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int par1,
int par2) |
protected void |
drawLedgers(int x,
int y) |
void |
drawScreen(int mouseX,
int mouseY,
float par3)
Draws the screen and all the components in it.
|
protected int |
getCenteredOffset(java.lang.String string) |
protected int |
getCenteredOffset(java.lang.String string,
int xWidth) |
BuildCraftContainer |
getContainer() |
net.minecraft.client.gui.FontRenderer |
getFontRenderer() |
net.minecraft.inventory.Slot |
getSlotAtPosition(int x,
int y) |
protected void |
initLedgers(net.minecraft.inventory.IInventory inventory) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
protected void |
mouseClickMove(int mouseX,
int mouseY,
int mouseButton,
long time) |
protected void |
mouseMovedOrUp(int mouseX,
int mouseY,
int eventType) |
checkHotbarKeys, doesGuiPauseGame, func_146978_c, handleMouseClick, initGui, keyTyped, onGuiClosed, updateScreenactionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, func_146283_a, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, renderToolTip, setClipboardString, setWorldAndResolutionpublic static final net.minecraft.util.ResourceLocation LEDGER_TEXTURE
public final GuiBuildCraft.LedgerManager ledgerManager
public final net.minecraft.tileentity.TileEntity tile
public final BuildCraftContainer container
public net.minecraft.util.ResourceLocation texture
public GuiBuildCraft(BuildCraftContainer container, net.minecraft.inventory.IInventory inventory, net.minecraft.util.ResourceLocation texture)
public net.minecraft.client.gui.FontRenderer getFontRenderer()
protected void initLedgers(net.minecraft.inventory.IInventory inventory)
public void drawScreen(int mouseX,
int mouseY,
float par3)
drawScreen in class net.minecraft.client.gui.inventory.GuiContainerpublic void drawFluid(net.minecraftforge.fluids.FluidStack fluid,
int x,
int y,
int width,
int height,
int maxCapacity)
protected void drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class net.minecraft.client.gui.inventory.GuiContainerprotected void drawGuiContainerForegroundLayer(int par1,
int par2)
drawGuiContainerForegroundLayer in class net.minecraft.client.gui.inventory.GuiContainerprotected void drawLedgers(int x,
int y)
public void drawCenteredString(java.lang.String string,
int xCenter,
int yCenter,
int textColor)
protected int getCenteredOffset(java.lang.String string)
protected int getCenteredOffset(java.lang.String string,
int xWidth)
protected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
mouseClicked in class net.minecraft.client.gui.inventory.GuiContainerprotected void mouseClickMove(int mouseX,
int mouseY,
int mouseButton,
long time)
mouseClickMove in class net.minecraft.client.gui.inventory.GuiContainerprotected void mouseMovedOrUp(int mouseX,
int mouseY,
int eventType)
mouseMovedOrUp in class net.minecraft.client.gui.inventory.GuiContainerpublic net.minecraft.inventory.Slot getSlotAtPosition(int x,
int y)
public void bindTexture(net.minecraft.util.ResourceLocation texture)
public BuildCraftContainer getContainer()