Package net.minecraft.client.renderer
Class InventoryEffectRenderer
- java.lang.Object
-
- net.minecraft.client.gui.Gui
-
- net.minecraft.client.gui.GuiScreen
-
- net.minecraft.client.gui.inventory.GuiContainer
-
- net.minecraft.client.renderer.InventoryEffectRenderer
-
- All Implemented Interfaces:
GuiYesNoCallback
- Direct Known Subclasses:
GuiContainerCreative
,GuiInventory
public abstract class InventoryEffectRenderer extends GuiContainer
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.gui.inventory.GuiContainer
dragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySize
-
Fields inherited from class net.minecraft.client.gui.GuiScreen
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, showingCloseKey, width
-
Fields inherited from class net.minecraft.client.gui.Gui
icons, optionsBackground, statIcons, zLevel
-
-
Constructor Summary
Constructors Constructor Description InventoryEffectRenderer(Container inventorySlotsIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawScreen(int i, int j, float f)
+ Draws the screen and all the components in it.void
initGui()
+ Adds the buttons (and other controls) to the screen in question.protected void
updateActivePotionEffects()
-
Methods inherited from class net.minecraft.client.gui.inventory.GuiContainer
checkHotbarKeys, doesGuiPauseGame, drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, handleMouseClick, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, updateScreen
-
Methods inherited from class net.minecraft.client.gui.GuiScreen
actionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, getCloseKey, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution
-
Methods inherited from class net.minecraft.client.gui.Gui
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
-
-
-
-
Constructor Detail
-
InventoryEffectRenderer
public InventoryEffectRenderer(Container inventorySlotsIn)
-
-
Method Detail
-
initGui
public void initGui()
+ Adds the buttons (and other controls) to the screen in question. Called when the GUI is displayed and when the window resizes, the buttonList is cleared beforehand.- Overrides:
initGui
in classGuiContainer
-
updateActivePotionEffects
protected void updateActivePotionEffects()
-
drawScreen
public void drawScreen(int i, int j, float f)
+ Draws the screen and all the components in it. Args : mouseX, mouseY, renderPartialTicks- Overrides:
drawScreen
in classGuiContainer
-
-