public class GuiGameOver extends GuiScreen
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiGameOver(ITextComponent causeOfDeathIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowCloseWithEscape() |
void |
confirmResult(boolean p_confirmResult_1_,
int p_confirmResult_2_) |
boolean |
doesGuiPauseGame() |
ITextComponent |
getClickedComponentAt(int p_184870_1_) |
protected void |
initGui() |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
tick() |
addButton, close, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyPressed, onGuiClosed, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolutionfocusNext, focusOn, getFocused, mouseDragged, mouseReleased, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseScrolledcanFocus, focusChangedpublic GuiGameOver(@Nullable
ITextComponent causeOfDeathIn)
public boolean allowCloseWithEscape()
allowCloseWithEscape in class GuiScreenpublic void confirmResult(boolean p_confirmResult_1_,
int p_confirmResult_2_)
confirmResult in interface GuiYesNoCallbackconfirmResult in class GuiScreenpublic void render(int mouseX,
int mouseY,
float partialTicks)
@Nullable public ITextComponent getClickedComponentAt(int p_184870_1_)
public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface IGuiEventListenerDeferredmouseClicked in class GuiEventHandlerpublic boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreen