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.class_418
net.minecraft.client.gui.screen.DeathScreen

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
init()
method_25426()
init()
public boolean
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
private void
handleExitToTitleScreen()
method_47940()
onTitleScreenButtonClicked()
private void
exitToTitleScreen()
method_22364()
quitLevel()
public void
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)
method_75826(class_12225 arg0)
drawTitles(DrawnTextConsumer drawer)
public void
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)
method_59546(class_332 arg0, int arg1, int arg2)
fillBackgroundGradient(DrawContext context, int width, int height)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
isPauseScreen()
method_25421()
shouldPause()
public boolean
isAllowedInPortal()
method_73217()
keepOpenThroughPortal()
public void
tick()
method_25393()
tick()
private void
setButtonsActive(boolean isActive)
method_49299(boolean arg0)
setButtonsActive(boolean active)
private void
lambda$handleExitToTitleScreen$0(boolean arg0)
method_47939(boolean arg0)
method_47939(boolean confirmed)
private void
lambda$init$1(Button arg0)
method_47938(class_4185 arg0)
method_47938(ButtonWidget button)
private void
lambda$init$0(Button arg0)
method_19809(class_4185 arg0)
method_19809(ButtonWidget button)