public class GuiEnchantment extends GuiContainer
| Modifier and Type | Field and Description |
|---|---|
private ContainerEnchantment |
container |
private static ResourceLocation |
ENCHANTMENT_TABLE_BOOK_TEXTURE |
private static ResourceLocation |
ENCHANTMENT_TABLE_GUI_TEXTURE |
float |
flip |
float |
flipA |
float |
flipT |
private ItemStack |
last |
private static ModelBook |
MODEL_BOOK |
private IWorldNameable |
nameable |
float |
oFlip |
float |
oOpen |
float |
open |
private InventoryPlayer |
playerInventory |
private java.util.Random |
random |
int |
ticks |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySizeallowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, widthICONS, 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, hasClickedOutside, initGui, isPointInRegion, keyTyped, mouseClickMove, mouseReleased, 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, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprivate static final ResourceLocation ENCHANTMENT_TABLE_GUI_TEXTURE
private static final ResourceLocation ENCHANTMENT_TABLE_BOOK_TEXTURE
private static final ModelBook MODEL_BOOK
private final InventoryPlayer playerInventory
private final java.util.Random random
private final ContainerEnchantment container
public int ticks
public float flip
public float oFlip
public float flipT
public float flipA
public float open
public float oOpen
private ItemStack last
private final IWorldNameable nameable
public GuiEnchantment(InventoryPlayer inventory, World worldIn, IWorldNameable nameable)
protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class GuiContainerpublic void updateScreen()
updateScreen in class GuiContainerprotected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiContainerjava.io.IOExceptionprotected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiContainerpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiContainerpublic void tickBook()