public abstract class GuiBC8<C extends ContainerBC_Neptune>
extends net.minecraft.client.gui.inventory.GuiContainer
| Modifier and Type | Field and Description |
|---|---|
C |
container |
BuildCraftGui |
mainGui |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiBC8(C container) |
GuiBC8(C container,
java.util.function.Function<GuiBC8<?>,BuildCraftGui> constructor) |
GuiBC8(C container,
net.minecraft.util.ResourceLocation jsonGuiDef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawBackgroundLayer(float partialTicks) |
protected void |
drawForegroundLayer() |
protected void |
drawForegroundLayerAboveElements()
Like
drawForegroundLayer(), but is called after all IGuiElement's have been drawn. |
void |
drawGradientRect(IGuiArea area,
int startColor,
int endColor) |
void |
drawGradientRect(int left,
int top,
int right,
int bottom,
int startColor,
int endColor) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
static void |
drawItemStackAt(net.minecraft.item.ItemStack stack,
int x,
int y)
Deprecated.
Use
GuiUtil.drawItemStackAt(ItemStack,int,int) instead |
void |
drawProgress(GuiRectangle rect,
GuiIcon icon,
double widthPercent,
double heightPercent) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
drawString(net.minecraft.client.gui.FontRenderer fontRenderer,
java.lang.String text,
double x,
double y,
int colour) |
void |
drawString(net.minecraft.client.gui.FontRenderer fontRenderer,
java.lang.String text,
double x,
double y,
int colour,
boolean shadow) |
void |
drawTexturedModalRect(double posX,
double posY,
double textureX,
double textureY,
double width,
double height) |
java.util.List<net.minecraft.client.gui.GuiButton> |
getButtonList() |
net.minecraft.client.gui.FontRenderer |
getFontRenderer() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
protected void |
mouseClickMove(int mouseX,
int mouseY,
int clickedMouseButton,
long timeSinceLastClick) |
protected void |
mouseReleased(int mouseX,
int mouseY,
int state) |
protected boolean |
shouldAddHelpLedger() |
void |
updateScreen() |
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, initGui, isPointInRegion, onGuiClosed, renderHoveredToolTipactionPerformed, addButton, 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, setWorldAndResolutionpublic final BuildCraftGui mainGui
public final C extends ContainerBC_Neptune container
public GuiBC8(C container)
public GuiBC8(C container, java.util.function.Function<GuiBC8<?>,BuildCraftGui> constructor)
public GuiBC8(C container, net.minecraft.util.ResourceLocation jsonGuiDef)
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class net.minecraft.client.gui.inventory.GuiContainerprotected boolean shouldAddHelpLedger()
public void drawGradientRect(IGuiArea area, int startColor, int endColor)
public void drawGradientRect(int left,
int top,
int right,
int bottom,
int startColor,
int endColor)
drawGradientRect in class net.minecraft.client.gui.Guipublic java.util.List<net.minecraft.client.gui.GuiButton> getButtonList()
public net.minecraft.client.gui.FontRenderer getFontRenderer()
public void drawTexturedModalRect(double posX,
double posY,
double textureX,
double textureY,
double width,
double height)
public void drawString(net.minecraft.client.gui.FontRenderer fontRenderer,
java.lang.String text,
double x,
double y,
int colour)
public void drawString(net.minecraft.client.gui.FontRenderer fontRenderer,
java.lang.String text,
double x,
double y,
int colour,
boolean shadow)
@Deprecated
public static void drawItemStackAt(net.minecraft.item.ItemStack stack,
int x,
int y)
GuiUtil.drawItemStackAt(ItemStack,int,int) insteadpublic void updateScreen()
updateScreen in class net.minecraft.client.gui.inventory.GuiContainerprotected final void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class net.minecraft.client.gui.inventory.GuiContainerprotected final void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class net.minecraft.client.gui.inventory.GuiContainerpublic void drawProgress(GuiRectangle rect, GuiIcon icon, double widthPercent, double heightPercent)
protected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class net.minecraft.client.gui.inventory.GuiContainerjava.io.IOExceptionprotected void mouseClickMove(int mouseX,
int mouseY,
int clickedMouseButton,
long timeSinceLastClick)
mouseClickMove in class net.minecraft.client.gui.inventory.GuiContainerprotected void mouseReleased(int mouseX,
int mouseY,
int state)
mouseReleased in class net.minecraft.client.gui.inventory.GuiContainerprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
keyTyped in class net.minecraft.client.gui.inventory.GuiContainerjava.io.IOExceptionprotected void drawBackgroundLayer(float partialTicks)
protected void drawForegroundLayer()
protected void drawForegroundLayerAboveElements()
drawForegroundLayer(), but is called after all IGuiElement's have been drawn.