public class GuiScreenRealmsProxy extends GuiScreen
Modifier and Type | Field and Description |
---|---|
private RealmsScreen |
proxy |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiScreenRealmsProxy(RealmsScreen proxyIn) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(GuiButton button) |
java.util.List<RealmsButton> |
buttons() |
void |
buttonsAdd(RealmsButton button) |
void |
buttonsClear() |
void |
buttonsRemove(RealmsButton button) |
void |
confirmClicked(boolean result,
int id) |
boolean |
doesGuiPauseGame() |
void |
drawCenteredString(java.lang.String text,
int x,
int y,
int color) |
void |
drawDefaultBackground() |
void |
drawGradientRect(int left,
int top,
int right,
int bottom,
int startColor,
int endColor) |
void |
drawHoveringText(java.util.List<java.lang.String> textLines,
int x,
int y) |
void |
drawHoveringText(java.lang.String text,
int x,
int y) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
drawString(java.lang.String text,
int x,
int y,
int color,
boolean p_154322_5_) |
void |
drawTexturedModalRect(int x,
int y,
int textureX,
int textureY,
int width,
int height) |
void |
drawWorldBackground(int tint) |
void |
fontDrawShadow(java.lang.String text,
int x,
int y,
int color) |
java.util.List<java.lang.String> |
fontSplit(java.lang.String text,
int wrapWidth) |
int |
getFontHeight() |
RealmsScreen |
getProxy() |
int |
getStringWidth(java.lang.String text) |
void |
handleKeyboardInput() |
void |
handleMouseInput() |
void |
initGui() |
void |
keyTyped(char typedChar,
int keyCode) |
void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
mouseClickMove(int mouseX,
int mouseY,
int clickedMouseButton,
long timeSinceLastClick) |
void |
mouseReleased(int mouseX,
int mouseY,
int state) |
void |
onGuiClosed() |
void |
renderToolTip(ItemStack stack,
int x,
int y) |
void |
updateScreen() |
addButton, drawBackground, drawHoveringText, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final RealmsScreen proxy
public GuiScreenRealmsProxy(RealmsScreen proxyIn)
public RealmsScreen getProxy()
public void drawCenteredString(java.lang.String text, int x, int y, int color)
public void drawString(java.lang.String text, int x, int y, int color, boolean p_154322_5_)
public void drawTexturedModalRect(int x, int y, int textureX, int textureY, int width, int height)
drawTexturedModalRect
in class Gui
public void drawGradientRect(int left, int top, int right, int bottom, int startColor, int endColor)
drawGradientRect
in class Gui
public void drawDefaultBackground()
drawDefaultBackground
in class GuiScreen
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen
public void drawWorldBackground(int tint)
drawWorldBackground
in class GuiScreen
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public void renderToolTip(ItemStack stack, int x, int y)
renderToolTip
in class GuiScreen
public void drawHoveringText(java.lang.String text, int x, int y)
drawHoveringText
in class GuiScreen
public void drawHoveringText(java.util.List<java.lang.String> textLines, int x, int y)
drawHoveringText
in class GuiScreen
public void updateScreen()
updateScreen
in class GuiScreen
public int getFontHeight()
public int getStringWidth(java.lang.String text)
public void fontDrawShadow(java.lang.String text, int x, int y, int color)
public java.util.List<java.lang.String> fontSplit(java.lang.String text, int wrapWidth)
public final void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public void buttonsClear()
public void buttonsAdd(RealmsButton button)
public java.util.List<RealmsButton> buttons()
public void buttonsRemove(RealmsButton button)
public void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
public void handleKeyboardInput() throws java.io.IOException
handleKeyboardInput
in class GuiScreen
java.io.IOException
public void mouseReleased(int mouseX, int mouseY, int state)
mouseReleased
in class GuiScreen
public void mouseClickMove(int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick)
mouseClickMove
in class GuiScreen
public void keyTyped(char typedChar, int keyCode) throws java.io.IOException
public void confirmClicked(boolean result, int id)
confirmClicked
in interface GuiYesNoCallback
confirmClicked
in class GuiScreen
public void onGuiClosed()
onGuiClosed
in class GuiScreen