public class GuiScreenRealmsProxy extends GuiScreen
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiScreenRealmsProxy(RealmsScreen proxyIn) |
Modifier and Type | Method and Description |
---|---|
void |
addWidget(RealmsGuiEventListener p_207730_1_) |
java.util.List<RealmsButton> |
buttons() |
void |
buttonsAdd(RealmsButton button) |
void |
buttonsClear() |
boolean |
charTyped(char p_charTyped_1_,
int p_charTyped_2_) |
void |
childrenClear() |
void |
confirmResult(boolean p_confirmResult_1_,
int p_confirmResult_2_) |
boolean |
doesGuiPauseGame() |
int |
draw(java.lang.String p_209208_1_,
int p_209208_2_,
int p_209208_3_,
int p_209208_4_,
boolean p_209208_5_) |
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 |
drawString(java.lang.String p_207734_1_,
int p_207734_2_,
int p_207734_3_,
int p_207734_4_,
boolean p_207734_5_) |
void |
drawTexturedModalRect(int x,
int y,
int textureX,
int textureY,
int width,
int height) |
void |
drawWorldBackground(int tint) |
void |
fontDrawShadow(java.lang.String p_207728_1_,
int p_207728_2_,
int p_207728_3_,
int p_207728_4_) |
java.util.List<java.lang.String> |
fontSplit(java.lang.String text,
int wrapWidth) |
int |
fontWidth(java.lang.String p_207731_1_) |
boolean |
func_212332_c(RealmsGuiEventListener p_212332_1_) |
int |
getFontHeight() |
RealmsScreen |
getProxy() |
protected void |
initGui() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
void |
onGuiClosed() |
void |
removeButton(RealmsButton p_207732_1_) |
void |
removeWidget(RealmsGuiEventListener p_207733_1_) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
renderToolTip(ItemStack stack,
int x,
int y) |
void |
setWorldAndResolution(Minecraft mc,
int width,
int height) |
void |
tick() |
addButton, allowCloseWithEscape, close, drawBackground, drawHoveringText, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText
focusNext, focusOn, getFocused, setDragging, setFocused
drawCenteredString, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyReleased, mouseScrolled
canFocus, focusChanged
public GuiScreenRealmsProxy(RealmsScreen proxyIn)
public RealmsScreen getProxy()
public void setWorldAndResolution(Minecraft mc, int width, int height)
setWorldAndResolution
in class GuiScreen
public void drawCenteredString(java.lang.String text, int x, int y, int color)
public void drawString(java.lang.String p_207734_1_, int p_207734_2_, int p_207734_3_, int p_207734_4_, boolean p_207734_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 render(int mouseX, int mouseY, float partialTicks)
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 int getFontHeight()
public int fontWidth(java.lang.String p_207731_1_)
public void fontDrawShadow(java.lang.String p_207728_1_, int p_207728_2_, int p_207728_3_, int p_207728_4_)
public java.util.List<java.lang.String> fontSplit(java.lang.String text, int wrapWidth)
public void childrenClear()
public void addWidget(RealmsGuiEventListener p_207730_1_)
public void removeWidget(RealmsGuiEventListener p_207733_1_)
public boolean func_212332_c(RealmsGuiEventListener p_212332_1_)
public void buttonsAdd(RealmsButton button)
public java.util.List<RealmsButton> buttons()
public void buttonsClear()
public void removeButton(RealmsButton p_207732_1_)
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 GuiEventHandler
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 GuiEventHandler
public boolean mouseDragged(double p_mouseDragged_1_, double p_mouseDragged_3_, int p_mouseDragged_5_, double p_mouseDragged_6_, double p_mouseDragged_8_)
mouseDragged
in interface IGuiEventListener
mouseDragged
in interface IGuiEventListenerDeferred
mouseDragged
in class GuiEventHandler
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface IGuiEventListenerDeferred
keyPressed
in class GuiScreen
public boolean charTyped(char p_charTyped_1_, int p_charTyped_2_)
public void confirmResult(boolean p_confirmResult_1_, int p_confirmResult_2_)
confirmResult
in interface GuiYesNoCallback
confirmResult
in class GuiScreen
public void onGuiClosed()
onGuiClosed
in class GuiScreen
public int draw(java.lang.String p_209208_1_, int p_209208_2_, int p_209208_3_, int p_209208_4_, boolean p_209208_5_)