public class GuiInventory extends InventoryEffectRenderer implements IRecipeShownListener
hasActivePotionEffectsdragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, inventorySlots, slotColor, xSize, ySizeallowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiInventory(EntityPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
EntityLivingBase ent) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
GuiRecipeBook |
func_194310_f() |
protected boolean |
func_195361_a(double p_195361_1_,
double p_195361_3_,
int p_195361_5_,
int p_195361_6_,
int p_195361_7_) |
IGuiEventListener |
getFocused() |
protected void |
handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
initGui() |
protected boolean |
isPointInRegion(int p_195359_1_,
int p_195359_2_,
int p_195359_3_,
int p_195359_4_,
double p_195359_5_,
double p_195359_7_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
void |
onGuiClosed() |
void |
recipesUpdated() |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
tick() |
updateActivePotionEffectsallowCloseWithEscape, doesGuiPauseGame, func_195363_d, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, keyPressed, mouseDragged, renderHoveredToolTipaddButton, close, confirmResult, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolutionfocusNext, focusOn, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseScrolledcanFocus, focusChangedpublic GuiInventory(EntityPlayer player)
public void tick()
tick in class GuiContainerprotected void initGui()
initGui in class InventoryEffectRenderer@Nullable public IGuiEventListener getFocused()
getFocused in interface IGuiEventListenerDeferredgetFocused in class GuiEventHandlerprotected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class GuiContainerpublic void render(int mouseX,
int mouseY,
float partialTicks)
render in class InventoryEffectRendererprotected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiContainerpublic static void drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
EntityLivingBase ent)
protected boolean isPointInRegion(int p_195359_1_,
int p_195359_2_,
int p_195359_3_,
int p_195359_4_,
double p_195359_5_,
double p_195359_7_)
isPointInRegion in class GuiContainerpublic boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface IGuiEventListenerDeferredmouseClicked in class GuiContainerpublic boolean mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_)
mouseReleased in interface IGuiEventListenermouseReleased in interface IGuiEventListenerDeferredmouseReleased in class GuiContainerprotected boolean func_195361_a(double p_195361_1_,
double p_195361_3_,
int p_195361_5_,
int p_195361_6_,
int p_195361_7_)
func_195361_a in class GuiContainerprotected void handleMouseClick(Slot slotIn, int slotId, int mouseButton, ClickType type)
handleMouseClick in class GuiContainerpublic void recipesUpdated()
recipesUpdated in interface IRecipeShownListenerpublic void onGuiClosed()
onGuiClosed in class GuiContainerpublic GuiRecipeBook func_194310_f()
func_194310_f in interface IRecipeShownListener