public abstract class GuiScreen extends Gui implements GuiYesNoCallback
Modifier and Type | Field and Description |
---|---|
boolean |
allowUserInput |
protected java.util.List |
buttonList |
protected FontRenderer |
fontRendererObj |
int |
height |
protected RenderItem |
itemRender |
protected java.util.List |
labelList |
Minecraft |
mc |
int |
width |
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiScreen() |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
void |
confirmClicked(boolean result,
int id) |
boolean |
doesGuiPauseGame() |
void |
drawBackground(int tint) |
protected void |
drawCreativeTabHoveringText(java.lang.String tabName,
int mouseX,
int mouseY) |
void |
drawDefaultBackground() |
protected void |
drawHoveringText(java.util.List textLines,
int x,
int y) |
protected void |
drawHoveringText(java.util.List textLines,
int x,
int y,
FontRenderer font) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
drawWorldBackground(int tint) |
protected void |
func_175272_a(IChatComponent p_175272_1_,
int p_175272_2_,
int p_175272_3_) |
void |
func_175273_b(Minecraft mcIn,
int p_175273_2_,
int p_175273_3_) |
protected boolean |
func_175276_a(IChatComponent p_175276_1_) |
static boolean |
func_175277_d(int p_175277_0_) |
static boolean |
func_175278_g(int p_175278_0_) |
static boolean |
func_175279_e(int p_175279_0_) |
static boolean |
func_175280_f(int p_175280_0_) |
static boolean |
func_175283_s() |
static java.lang.String |
getClipboardString() |
void |
handleInput() |
void |
handleKeyboardInput() |
void |
handleMouseInput() |
void |
initGui() |
static boolean |
isCtrlKeyDown() |
static boolean |
isShiftKeyDown() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
protected void |
mouseClickMove(int mouseX,
int mouseY,
int clickedMouseButton,
long timeSinceLastClick) |
protected void |
mouseReleased(int mouseX,
int mouseY,
int state) |
void |
onGuiClosed() |
protected void |
renderToolTip(ItemStack stack,
int x,
int y) |
void |
sendChatMessage(java.lang.String msg) |
void |
sendChatMessage(java.lang.String msg,
boolean addToChat) |
static void |
setClipboardString(java.lang.String copyText) |
protected void |
setText(java.lang.String newChatText,
boolean shouldOverwrite) |
void |
setWorldAndResolution(Minecraft mc,
int width,
int height) |
void |
updateScreen() |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public Minecraft mc
protected RenderItem itemRender
public int width
public int height
protected java.util.List buttonList
protected java.util.List labelList
public boolean allowUserInput
protected FontRenderer fontRendererObj
public void drawScreen(int mouseX, int mouseY, float partialTicks)
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
java.io.IOException
public static java.lang.String getClipboardString()
public static void setClipboardString(java.lang.String copyText)
protected void renderToolTip(ItemStack stack, int x, int y)
protected void drawCreativeTabHoveringText(java.lang.String tabName, int mouseX, int mouseY)
protected void drawHoveringText(java.util.List textLines, int x, int y)
protected void drawHoveringText(java.util.List textLines, int x, int y, FontRenderer font)
protected void func_175272_a(IChatComponent p_175272_1_, int p_175272_2_, int p_175272_3_)
protected void setText(java.lang.String newChatText, boolean shouldOverwrite)
protected boolean func_175276_a(IChatComponent p_175276_1_)
public void sendChatMessage(java.lang.String msg)
public void sendChatMessage(java.lang.String msg, boolean addToChat)
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
java.io.IOException
protected void mouseReleased(int mouseX, int mouseY, int state)
protected void mouseClickMove(int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick)
protected void actionPerformed(GuiButton button) throws java.io.IOException
java.io.IOException
public void setWorldAndResolution(Minecraft mc, int width, int height)
public void initGui()
public void handleInput() throws java.io.IOException
java.io.IOException
public void handleMouseInput() throws java.io.IOException
java.io.IOException
public void handleKeyboardInput() throws java.io.IOException
java.io.IOException
public void updateScreen()
public void onGuiClosed()
public void drawDefaultBackground()
public void drawWorldBackground(int tint)
public void drawBackground(int tint)
public boolean doesGuiPauseGame()
public void confirmClicked(boolean result, int id)
confirmClicked
in interface GuiYesNoCallback
public static boolean isCtrlKeyDown()
public static boolean isShiftKeyDown()
public static boolean func_175283_s()
public static boolean func_175277_d(int p_175277_0_)
public static boolean func_175279_e(int p_175279_0_)
public static boolean func_175280_f(int p_175280_0_)
public static boolean func_175278_g(int p_175278_0_)
public void func_175273_b(Minecraft mcIn, int p_175273_2_, int p_175273_3_)