net.minecraft.client.gui.screen

public class DeathScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.DeathScreen
net.minecraft.client.gui.screens.DeathScreen
net.minecraft.class_418
net.minecraft.client.gui.screen.DeathScreen

Field summary

Modifier and TypeField
private static final int
TITLE_SCALE
TITLE_SCALE
field_63892
field_63892
private static final Identifier
DRAFT_REPORT_SPRITE
DRAFT_REPORT_SPRITE
field_45407
DRAFT_REPORT_ICON_TEXTURE
private int
delayTicker
delayTicker
field_2451
ticksSinceDeath
private final Text
causeOfDeath
causeOfDeath
field_2450
message
private final boolean
hardcore
hardcore
field_18974
isHardcore
private final ClientPlayerEntity
player
player
field_63893
decedent
private final Text
deathScore
deathScore
field_63894
scoreText
private final List<ButtonWidget>
exitButtons
exitButtons
field_33809
buttons
private ButtonWidget
exitToTitleButton
exitToTitleButton
field_41684
titleScreenButton

Constructor summary

ModifierConstructor
public (Text message, boolean isHardcore, ClientPlayerEntity decedent)

Method summary

Modifier and TypeMethod
protected void
init()
init()
method_25426()
init()
public boolean
shouldCloseOnEsc()
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
private void
handleExitToTitleScreen()
handleExitToTitleScreen()
method_47940()
onTitleScreenButtonClicked()
private void
exitToTitleScreen()
exitToTitleScreen()
method_22364()
quitLevel()
public void
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private void
visitText(ActiveTextCollector output)
visitText(ActiveTextCollector output)
method_75826(class_12225 arg0)
drawTitles(DrawnTextConsumer drawer)
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
private static void
extractDeathBackground(GuiGraphicsExtractor graphics, int width, int height)
extractDeathBackground(GuiGraphicsExtractor graphics, int width, int height)
method_59546(class_332 arg0, int arg1, int arg2)
fillBackgroundGradient(DrawContext context, int width, int height)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
isPauseScreen()
isPauseScreen()
method_25421()
shouldPause()
public boolean
isAllowedInPortal()
isAllowedInPortal()
method_73217()
keepOpenThroughPortal()
public void
tick()
tick()
method_25393()
tick()
private void
setButtonsActive(boolean isActive)
setButtonsActive(boolean isActive)
method_49299(boolean arg0)
setButtonsActive(boolean active)