Package net.minecraft.client.gui.screen
Class DeathScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.DeathScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
@Environment(CLIENT) public class DeathScreen extends Screen implements IdentifibleBooleanConsumer
- Mappings:
Namespace Name official axeintermediary net/minecraft/class_736named net/minecraft/client/gui/screen/DeathScreen
-
Field Summary
Fields Modifier and Type Field Description private booleanisHardcoreprivate intticksSinceDeathFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, height, itemRenderer, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors Constructor Description DeathScreen() -
Method Summary
Modifier and Type Method Description protected voidbuttonClicked(ButtonWidget button)voidconfirmResult(boolean b, int id)voidinit()protected voidkeyPressed(char character, int code)voidrender(int mouseX, int mouseY, float delta)booleanshouldPauseGame()voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
getClipboard, handleInput, handleKeyboard, handleMouse, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, mouseClicked, mouseDragged, mouseReleased, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setClipboard, setScreenBoundsMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
ticksSinceDeath
private int ticksSinceDeath- Mappings:
Namespace Name Mixin selector official aLaxe;a:Iintermediary field_3140Lnet/minecraft/class_736;field_3140:Inamed ticksSinceDeathLnet/minecraft/client/gui/screen/DeathScreen;ticksSinceDeath:I
-
isHardcore
private boolean isHardcore- Mappings:
Namespace Name Mixin selector official fLaxe;f:Zintermediary field_3141Lnet/minecraft/class_736;field_3141:Znamed isHardcoreLnet/minecraft/client/gui/screen/DeathScreen;isHardcore:Z
-
-
Constructor Details
-
DeathScreen
public DeathScreen()
-
-
Method Details
-
init
public void init() -
keyPressed
protected void keyPressed(char character, int code)- Overrides:
keyPressedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(CI)Vintermediary method_2781Lnet/minecraft/class_754;method_2781(CI)Vnamed keyPressedLnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
-
buttonClicked
- Overrides:
buttonClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(Lavs;)Vintermediary method_2787Lnet/minecraft/class_754;method_2787(Lnet/minecraft/class_685;)Vnamed buttonClickedLnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
confirmResult
public void confirmResult(boolean b, int id)- Specified by:
confirmResultin interfaceIdentifibleBooleanConsumer- Overrides:
confirmResultin classScreen- Mappings:
Namespace Name Mixin selector official aLawx;a(ZI)Vintermediary method_2708Lnet/minecraft/class_725;method_2708(ZI)Vnamed confirmResultLnet/minecraft/client/gui/widget/IdentifibleBooleanConsumer;confirmResult(ZI)V
-
render
public void render(int mouseX, int mouseY, float delta) -
shouldPauseGame
public boolean shouldPauseGame()- Overrides:
shouldPauseGamein classScreen- Mappings:
Namespace Name Mixin selector official dLaxu;d()Zintermediary method_2802Lnet/minecraft/class_754;method_2802()Znamed shouldPauseGameLnet/minecraft/client/gui/screen/Screen;shouldPauseGame()Z
-
tick
public void tick()
-