public abstract class GuiBC8<C extends ContainerBC_Neptune>
extends net.minecraft.client.gui.inventory.GuiContainer
Modifier and Type | Class and Description |
---|---|
static class |
GuiBC8.RootPosition |
Modifier and Type | Field and Description |
---|---|
C |
container |
IMenuElement |
currentMenu |
static IVariableNode.IVariableNodeBoolean |
isDebuggingEnabled
Used to control if this gui should show debugging lines, and other oddities that help development.
|
IGuiPosition |
lowerLeftLedgerPos
Ledger-style elements.
|
IGuiPosition |
lowerRightLedgerPos
Ledger-style elements.
|
MousePosition |
mouse |
GuiBC8.RootPosition |
rootElement |
java.util.List<IGuiElement> |
shownElements
All of the
IGuiElement which will be drawn by this gui. |
static GuiSpriteScaled |
SPRITE_DEBUG |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackgroundLayer(float partialTicks) |
protected void |
drawForegroundLayer() |
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 |
drawString(net.minecraft.client.gui.FontRenderer fontRenderer,
java.lang.String text,
double x,
double y,
int colour) |
void |
drawTexturedModalRect(double posX,
double posY,
double textureX,
double textureY,
double width,
double height) |
java.util.List<net.minecraft.client.gui.GuiButton> |
getButtonList() |
java.util.List<IGuiElement> |
getElementsAt(double x,
double y) |
net.minecraft.client.gui.FontRenderer |
getFontRenderer() |
float |
getLastPartialTicks() |
void |
initGui() |
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, drawScreen, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, isPointInRegion, keyTyped, onGuiClosed
actionPerformed, addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution
public static final IVariableNode.IVariableNodeBoolean isDebuggingEnabled
public static final GuiSpriteScaled SPRITE_DEBUG
public final C extends ContainerBC_Neptune container
public final MousePosition mouse
public final GuiBC8.RootPosition rootElement
public final java.util.List<IGuiElement> shownElements
IGuiElement
which will be drawn by this gui.public IMenuElement currentMenu
public IGuiPosition lowerLeftLedgerPos
public IGuiPosition lowerRightLedgerPos
public GuiBC8(C container)
protected boolean shouldAddHelpLedger()
public void initGui()
initGui
in class net.minecraft.client.gui.inventory.GuiContainer
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.Gui
public java.util.List<net.minecraft.client.gui.GuiButton> getButtonList()
public net.minecraft.client.gui.FontRenderer getFontRenderer()
public float getLastPartialTicks()
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 java.util.List<IGuiElement> getElementsAt(double x, double y)
@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.GuiContainer
protected final void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class net.minecraft.client.gui.inventory.GuiContainer
protected final void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class net.minecraft.client.gui.inventory.GuiContainer
public 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.GuiContainer
java.io.IOException
protected void mouseClickMove(int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick)
mouseClickMove
in class net.minecraft.client.gui.inventory.GuiContainer
protected void mouseReleased(int mouseX, int mouseY, int state)
mouseReleased
in class net.minecraft.client.gui.inventory.GuiContainer
protected void drawBackgroundLayer(float partialTicks)
protected void drawForegroundLayer()