类 DeathScreen

    • 字段详细资料

      • ticksSinceDeath

        private int ticksSinceDeath
        Mappings:
        Namespace Name Mixin selector
        official a Ldyk;a:I
        intermediary field_2451 Lnet/minecraft/class_418;field_2451:I
        named ticksSinceDeath Lnet/minecraft/client/gui/screen/DeathScreen;ticksSinceDeath:I
      • message

        private final Text message
        Mappings:
        Namespace Name Mixin selector
        official b Ldyk;b:Lon;
        intermediary field_2450 Lnet/minecraft/class_418;field_2450:Lnet/minecraft/class_2561;
        named message Lnet/minecraft/client/gui/screen/DeathScreen;message:Lnet/minecraft/text/Text;
      • isHardcore

        private final boolean isHardcore
        Mappings:
        Namespace Name Mixin selector
        official c Ldyk;c:Z
        intermediary field_18974 Lnet/minecraft/class_418;field_18974:Z
        named isHardcore Lnet/minecraft/client/gui/screen/DeathScreen;isHardcore:Z
      • scoreText

        private Text scoreText
        Mappings:
        Namespace Name Mixin selector
        official p Ldyk;p:Lon;
        intermediary field_26537 Lnet/minecraft/class_418;field_26537:Lnet/minecraft/class_2561;
        named scoreText Lnet/minecraft/client/gui/screen/DeathScreen;scoreText:Lnet/minecraft/text/Text;
    • 构造器详细资料

      • DeathScreen

        public DeathScreen​(@Nullable
                           @Nullable Text message,
                           boolean isHardcore)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldyk;<init>(Lon;Z)V
        intermediary <init> Lnet/minecraft/class_418;<init>(Lnet/minecraft/class_2561;Z)V
        named <init> Lnet/minecraft/client/gui/screen/DeathScreen;<init>(Lnet/minecraft/text/Text;Z)V
    • 方法详细资料

      • init

        protected void init()
        Called when a screen should be initialized.

        This method is called when this screen is opened or resized.

        覆盖:
        init 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official b Ldzg;b()V
        intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
        named init Lnet/minecraft/client/gui/screen/Screen;init()V
      • shouldCloseOnEsc

        public boolean shouldCloseOnEsc()
        Checks whether this screen should be closed when the escape key is pressed.
        覆盖:
        shouldCloseOnEsc 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official az_ Ldzg;az_()Z
        intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
        named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
      • onConfirmQuit

        private void onConfirmQuit​(boolean quit)
        Mappings:
        Namespace Name Mixin selector
        official c Ldyk;c(Z)V
        intermediary method_20373 Lnet/minecraft/class_418;method_20373(Z)V
        named onConfirmQuit Lnet/minecraft/client/gui/screen/DeathScreen;onConfirmQuit(Z)V
      • quitLevel

        private void quitLevel()
        Mappings:
        Namespace Name Mixin selector
        official h Ldyk;h()V
        intermediary method_22364 Lnet/minecraft/class_418;method_22364()V
        named quitLevel Lnet/minecraft/client/gui/screen/DeathScreen;quitLevel()V
      • render

        public void render​(MatrixStack matrices,
                           int mouseX,
                           int mouseY,
                           float delta)
        指定者:
        render 在接口中 Drawable
        覆盖:
        render 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldws;a(Ldpi;IIF)V
        intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
        named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
      • getTextComponentUnderMouse

        @Nullable
        private @Nullable Style getTextComponentUnderMouse​(int mouseX)
        Mappings:
        Namespace Name Mixin selector
        official a Ldyk;a(I)Lox;
        intermediary method_2164 Lnet/minecraft/class_418;method_2164(I)Lnet/minecraft/class_2583;
        named getTextComponentUnderMouse Lnet/minecraft/client/gui/screen/DeathScreen;getTextComponentUnderMouse(I)Lnet/minecraft/text/Style;
      • mouseClicked

        public boolean mouseClicked​(double mouseX,
                                    double mouseY,
                                    int button)
        Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
        参数:
        mouseX - the X coordinate of the mouse
        mouseY - the Y coordinate of the mouse
        button - the mouse button number
        返回:
        true to indicate that the event handling is successful/valid
        另请参阅:
        Mouse.onMouseButton(long, int, int, int), GLFW.GLFW_MOUSE_BUTTON_1
        Mappings:
        Namespace Name Mixin selector
        official a Ldwv;a(DDI)Z
        intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
        named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
      • isPauseScreen

        public boolean isPauseScreen()
        覆盖:
        isPauseScreen 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official aE_ Ldzg;aE_()Z
        intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
        named isPauseScreen Lnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
      • tick

        public void tick()
        指定者:
        tick 在接口中 TickableElement
        覆盖:
        tick 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official d Ldwp;d()V
        intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
        named tick Lnet/minecraft/client/gui/screen/TickableElement;tick()V