public class GuiGameOver extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
private ITextComponent |
causeOfDeath |
private int |
enableButtonsTimer |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiGameOver(ITextComponent causeOfDeathIn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button) |
void |
confirmClicked(boolean result,
int id) |
boolean |
doesGuiPauseGame() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
ITextComponent |
getClickedComponentAt(int p_184870_1_) |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
void |
updateScreen() |
addButton, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprivate int enableButtonsTimer
private final ITextComponent causeOfDeath
public GuiGameOver(@Nullable
ITextComponent causeOfDeathIn)
protected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionpublic void confirmClicked(boolean result,
int id)
confirmClicked in interface GuiYesNoCallbackconfirmClicked in class GuiScreenpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreen@Nullable public ITextComponent getClickedComponentAt(int p_184870_1_)
public boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreenpublic void updateScreen()
updateScreen in class GuiScreen