public class GuiInventory extends InventoryEffectRenderer implements IRecipeShownListener
hasActivePotionEffects
dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, inventorySlots, slotColor, xSize, ySize
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, 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() |
updateActivePotionEffects
allowCloseWithEscape, doesGuiPauseGame, func_195363_d, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, keyPressed, mouseDragged, renderHoveredToolTip
addButton, 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, setWorldAndResolution
focusNext, focusOn, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseScrolled
canFocus, focusChanged
public GuiInventory(EntityPlayer player)
public void tick()
tick
in class GuiContainer
protected void initGui()
initGui
in class InventoryEffectRenderer
@Nullable public IGuiEventListener getFocused()
getFocused
in interface IGuiEventListenerDeferred
getFocused
in class GuiEventHandler
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
public void render(int mouseX, int mouseY, float partialTicks)
render
in class InventoryEffectRenderer
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
public 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 GuiContainer
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in interface IGuiEventListenerDeferred
mouseClicked
in class GuiContainer
public boolean mouseReleased(double p_mouseReleased_1_, double p_mouseReleased_3_, int p_mouseReleased_5_)
mouseReleased
in interface IGuiEventListener
mouseReleased
in interface IGuiEventListenerDeferred
mouseReleased
in class GuiContainer
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_)
func_195361_a
in class GuiContainer
protected void handleMouseClick(Slot slotIn, int slotId, int mouseButton, ClickType type)
handleMouseClick
in class GuiContainer
public void recipesUpdated()
recipesUpdated
in interface IRecipeShownListener
public void onGuiClosed()
onGuiClosed
in class GuiContainer
public GuiRecipeBook func_194310_f()
func_194310_f
in interface IRecipeShownListener