public class DeathScreen extends Screen
Modifier and Type | Field and Description |
---|---|
private ITextComponent |
causeOfDeath |
private int |
enableButtonsTimer |
private boolean |
isHardcoreMode |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
DeathScreen(ITextComponent p_i51118_1_,
boolean p_i51118_2_) |
Modifier and Type | Method and Description |
---|---|
private void |
confirmCallback(boolean p_213022_1_) |
private void |
func_228177_a_() |
ITextComponent |
getClickedComponentAt(int p_184870_1_) |
protected void |
init() |
boolean |
isPauseScreen() |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
boolean |
shouldCloseOnEsc() |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
private int enableButtonsTimer
private final ITextComponent causeOfDeath
private final boolean isHardcoreMode
public DeathScreen(@Nullable ITextComponent p_i51118_1_, boolean p_i51118_2_)
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
in class Screen
private void confirmCallback(boolean p_213022_1_)
private void func_228177_a_()
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen
@Nullable public ITextComponent getClickedComponentAt(int p_184870_1_)
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
public boolean isPauseScreen()
isPauseScreen
in class Screen