public class GuiEnchantment extends GuiContainer
Modifier and Type | Field and Description |
---|---|
float |
flip |
float |
flipA |
float |
flipT |
float |
oFlip |
float |
oOpen |
float |
open |
int |
ticks |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiEnchantment(InventoryPlayer inventory,
World worldIn,
IWorldNameable nameable) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
tickBook() |
void |
updateScreen() |
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, initGui, isPointInRegion, keyTyped, mouseClickMove, mouseReleased, onGuiClosed
actionPerformed, addButton, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public int ticks
public float flip
public float oFlip
public float flipT
public float flipA
public float open
public float oOpen
public GuiEnchantment(InventoryPlayer inventory, World worldIn, IWorldNameable nameable)
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
public void updateScreen()
updateScreen
in class GuiContainer
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiContainer
java.io.IOException
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiContainer
public void tickBook()