Class AbstractContainerScreen
- java.lang.Object
-
- net.minecraft.client.gui.GuiComponent
-
- net.minecraft.client.gui.screens.Screen
-
- net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
-
- Direct Known Subclasses:
DispenserScreen
,GuiBrewingStand
,GuiChest
,GuiCrafting
,GuiEnchantment
,GuiFurnace
,InventoryEffectRenderer
@Client public abstract class AbstractContainerScreen extends Screen
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.ConfirmationResultConsumer
-
-
Field Summary
Fields Modifier and Type Field Description protected int
guiLeft
protected int
guiTop
Container
inventorySlots
protected static RenderItem
itemRenderer
protected int
xSize
protected int
ySize
-
Fields inherited from class net.minecraft.client.gui.screens.Screen
allowUserInput, controlList, fontRenderer, guiParticles, height, mc, width
-
Fields inherited from class net.minecraft.client.gui.GuiComponent
zLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractContainerScreen(Container var1)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
doesGuiPauseGame()
protected abstract void
drawGuiContainerBackgroundLayer(float var1, int var2, int var3)
protected void
drawGuiContainerForegroundLayer()
void
drawScreen(int var1, int var2, float var3)
protected boolean
func_74188_c(int var1, int var2, int var3, int var4, int var5, int var6)
protected void
func_74190_a(java.lang.String var1, int var2, int var3)
protected void
handleMouseClick(Slot var1, int var2, int var3, boolean var4)
void
initGui()
protected void
keyTyped(char var1, int var2)
protected void
mouseClicked(int var1, int var2, int var3)
void
onGuiClosed()
void
updateScreen()
-
Methods inherited from class net.minecraft.client.gui.screens.Screen
actionPerformed, confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, func_50049_m, func_50050_a, func_50051_l, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, handleMouseInput, mouseMovedOrUp, onConfirm, setWorldAndResolution
-
Methods inherited from class net.minecraft.client.gui.GuiComponent
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawRightAlignedString, drawString, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
-
-
-
-
Field Detail
-
itemRenderer
protected static RenderItem itemRenderer
-
xSize
protected int xSize
-
ySize
protected int ySize
-
inventorySlots
public Container inventorySlots
-
guiLeft
protected int guiLeft
-
guiTop
protected int guiTop
-
-
Constructor Detail
-
AbstractContainerScreen
public AbstractContainerScreen(Container var1)
-
-
Method Detail
-
drawScreen
public void drawScreen(int var1, int var2, float var3)
- Overrides:
drawScreen
in classScreen
-
func_74190_a
protected void func_74190_a(java.lang.String var1, int var2, int var3)
-
drawGuiContainerForegroundLayer
protected void drawGuiContainerForegroundLayer()
-
drawGuiContainerBackgroundLayer
protected abstract void drawGuiContainerBackgroundLayer(float var1, int var2, int var3)
-
mouseClicked
protected void mouseClicked(int var1, int var2, int var3)
- Overrides:
mouseClicked
in classScreen
-
func_74188_c
protected boolean func_74188_c(int var1, int var2, int var3, int var4, int var5, int var6)
-
handleMouseClick
protected void handleMouseClick(Slot var1, int var2, int var3, boolean var4)
-
onGuiClosed
public void onGuiClosed()
- Overrides:
onGuiClosed
in classScreen
-
doesGuiPauseGame
public boolean doesGuiPauseGame()
- Overrides:
doesGuiPauseGame
in classScreen
-
updateScreen
public void updateScreen()
- Overrides:
updateScreen
in classScreen
-
-