Class CreditsScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class CreditsScreen extends Screen
Mappings:
Namespace Name
official eaw
intermediary net/minecraft/class_445
named net/minecraft/client/gui/screen/CreditsScreen
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Leaw;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_2632 Lnet/minecraft/class_445;field_2632:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/CreditsScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
    • MINECRAFT_TITLE_TEXTURE

      private static final Identifier MINECRAFT_TITLE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official b Leaw;b:Lww;
      intermediary field_2626 Lnet/minecraft/class_445;field_2626:Lnet/minecraft/class_2960;
      named MINECRAFT_TITLE_TEXTURE Lnet/minecraft/client/gui/screen/CreditsScreen;MINECRAFT_TITLE_TEXTURE:Lnet/minecraft/util/Identifier;
    • EDITION_TITLE_TEXTURE

      private static final Identifier EDITION_TITLE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official c Leaw;c:Lww;
      intermediary field_2631 Lnet/minecraft/class_445;field_2631:Lnet/minecraft/class_2960;
      named EDITION_TITLE_TEXTURE Lnet/minecraft/client/gui/screen/CreditsScreen;EDITION_TITLE_TEXTURE:Lnet/minecraft/util/Identifier;
    • VIGNETTE_TEXTURE

      private static final Identifier VIGNETTE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official n Leaw;n:Lww;
      intermediary field_2633 Lnet/minecraft/class_445;field_2633:Lnet/minecraft/class_2960;
      named VIGNETTE_TEXTURE Lnet/minecraft/client/gui/screen/CreditsScreen;VIGNETTE_TEXTURE:Lnet/minecraft/util/Identifier;
    • SEPARATOR_LINE

      private static final Text SEPARATOR_LINE
      Mappings:
      Namespace Name Mixin selector
      official o Leaw;o:Los;
      intermediary field_33955 Lnet/minecraft/class_445;field_33955:Lnet/minecraft/class_2561;
      named SEPARATOR_LINE Lnet/minecraft/client/gui/screen/CreditsScreen;SEPARATOR_LINE:Lnet/minecraft/text/Text;
    • CENTERED_LINE_PREFIX

      private static final String CENTERED_LINE_PREFIX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official p Leaw;p:Ljava/lang/String;
      intermediary field_32273 Lnet/minecraft/class_445;field_32273:Ljava/lang/String;
      named CENTERED_LINE_PREFIX Lnet/minecraft/client/gui/screen/CreditsScreen;CENTERED_LINE_PREFIX:Ljava/lang/String;
    • OBFUSCATION_PLACEHOLDER

      private static final String OBFUSCATION_PLACEHOLDER
      Mappings:
      Namespace Name Mixin selector
      official q Leaw;q:Ljava/lang/String;
      intermediary field_24260 Lnet/minecraft/class_445;field_24260:Ljava/lang/String;
      named OBFUSCATION_PLACEHOLDER Lnet/minecraft/client/gui/screen/CreditsScreen;OBFUSCATION_PLACEHOLDER:Ljava/lang/String;
    • field_33956

      private static final int field_33956
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Leaw;r:I
      intermediary field_33956 Lnet/minecraft/class_445;field_33956:I
      named field_33956 Lnet/minecraft/client/gui/screen/CreditsScreen;field_33956:I
    • SPACE_BAR_SPEED_MULTIPLIER

      private static final float SPACE_BAR_SPEED_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Leaw;s:F
      intermediary field_33957 Lnet/minecraft/class_445;field_33957:F
      named SPACE_BAR_SPEED_MULTIPLIER Lnet/minecraft/client/gui/screen/CreditsScreen;SPACE_BAR_SPEED_MULTIPLIER:F
    • field_34012

      private static final float field_34012
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Leaw;t:F
      intermediary field_34012 Lnet/minecraft/class_445;field_34012:F
      named field_34012 Lnet/minecraft/client/gui/screen/CreditsScreen;field_34012:F
    • endCredits

      private final boolean endCredits
      Mappings:
      Namespace Name Mixin selector
      official u Leaw;u:Z
      intermediary field_2627 Lnet/minecraft/class_445;field_2627:Z
      named endCredits Lnet/minecraft/client/gui/screen/CreditsScreen;endCredits:Z
    • finishAction

      private final Runnable finishAction
      Mappings:
      Namespace Name Mixin selector
      official v Leaw;v:Ljava/lang/Runnable;
      intermediary field_2630 Lnet/minecraft/class_445;field_2630:Ljava/lang/Runnable;
      named finishAction Lnet/minecraft/client/gui/screen/CreditsScreen;finishAction:Ljava/lang/Runnable;
    • time

      private float time
      Mappings:
      Namespace Name Mixin selector
      official w Leaw;w:F
      intermediary field_2628 Lnet/minecraft/class_445;field_2628:F
      named time Lnet/minecraft/client/gui/screen/CreditsScreen;time:F
    • credits

      private List<OrderedText> credits
      Mappings:
      Namespace Name Mixin selector
      official x Leaw;x:Ljava/util/List;
      intermediary field_2634 Lnet/minecraft/class_445;field_2634:Ljava/util/List;
      named credits Lnet/minecraft/client/gui/screen/CreditsScreen;credits:Ljava/util/List;
    • centeredLines

      private IntSet centeredLines
      Mappings:
      Namespace Name Mixin selector
      official y Leaw;y:Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary field_24261 Lnet/minecraft/class_445;field_24261:Lit/unimi/dsi/fastutil/ints/IntSet;
      named centeredLines Lnet/minecraft/client/gui/screen/CreditsScreen;centeredLines:Lit/unimi/dsi/fastutil/ints/IntSet;
    • creditsHeight

      private int creditsHeight
      Mappings:
      Namespace Name Mixin selector
      official z Leaw;z:I
      intermediary field_2629 Lnet/minecraft/class_445;field_2629:I
      named creditsHeight Lnet/minecraft/client/gui/screen/CreditsScreen;creditsHeight:I
    • field_34010

      private boolean field_34010
      Mappings:
      Namespace Name Mixin selector
      official A Leaw;A:Z
      intermediary field_34010 Lnet/minecraft/class_445;field_34010:Z
      named field_34010 Lnet/minecraft/client/gui/screen/CreditsScreen;field_34010:Z
    • field_34011

      private final IntSet field_34011
      Mappings:
      Namespace Name Mixin selector
      official B Leaw;B:Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary field_34011 Lnet/minecraft/class_445;field_34011:Lit/unimi/dsi/fastutil/ints/IntSet;
      named field_34011 Lnet/minecraft/client/gui/screen/CreditsScreen;field_34011:Lit/unimi/dsi/fastutil/ints/IntSet;
    • speed

      private float speed
      Mappings:
      Namespace Name Mixin selector
      official C Leaw;C:F
      intermediary field_2635 Lnet/minecraft/class_445;field_2635:F
      named speed Lnet/minecraft/client/gui/screen/CreditsScreen;speed:F
    • baseSpeed

      private final float baseSpeed
      Mappings:
      Namespace Name Mixin selector
      official D Leaw;D:F
      intermediary field_33954 Lnet/minecraft/class_445;field_33954:F
      named baseSpeed Lnet/minecraft/client/gui/screen/CreditsScreen;baseSpeed:F
  • Constructor Details

    • CreditsScreen

      public CreditsScreen(boolean endCredits, Runnable finishAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leaw;<init>(ZLjava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_445;<init>(ZLjava/lang/Runnable;)V
      named <init> Lnet/minecraft/client/gui/screen/CreditsScreen;<init>(ZLjava/lang/Runnable;)V
  • Method Details

    • method_37369

      private float method_37369()
      Mappings:
      Namespace Name Mixin selector
      official h Leaw;h()F
      intermediary method_37369 Lnet/minecraft/class_445;method_37369()F
      named method_37369 Lnet/minecraft/client/gui/screen/CreditsScreen;method_37369()F
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Leap;d()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldxx;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • keyReleased

      public boolean keyReleased(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldxx;b(III)Z
      intermediary method_16803 Lnet/minecraft/class_364;method_16803(III)Z
      named keyReleased Lnet/minecraft/client/gui/Element;keyReleased(III)Z
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ah_ Leap;ah_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()V
    • close

      private void close()
      Mappings:
      Namespace Name Mixin selector
      official u Leaw;u()V
      intermediary method_2257 Lnet/minecraft/class_445;method_2257()V
      named close Lnet/minecraft/client/gui/screen/CreditsScreen;close()V
    • init

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

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

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Leap;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • addEmptyLine

      private void addEmptyLine()
      Mappings:
      Namespace Name Mixin selector
      official w Leaw;w()V
      intermediary method_37306 Lnet/minecraft/class_445;method_37306()V
      named addEmptyLine Lnet/minecraft/client/gui/screen/CreditsScreen;addEmptyLine()V
    • addText

      private void addText(String text)
      Mappings:
      Namespace Name Mixin selector
      official b Leaw;b(Ljava/lang/String;)V
      intermediary method_37305 Lnet/minecraft/class_445;method_37305(Ljava/lang/String;)V
      named addText Lnet/minecraft/client/gui/screen/CreditsScreen;addText(Ljava/lang/String;)V
    • addText

      private void addText(Text text, boolean centered)
      Mappings:
      Namespace Name Mixin selector
      official a Leaw;a(Los;Z)V
      intermediary method_37304 Lnet/minecraft/class_445;method_37304(Lnet/minecraft/class_2561;Z)V
      named addText Lnet/minecraft/client/gui/screen/CreditsScreen;addText(Lnet/minecraft/text/Text;Z)V
    • renderBackground

      private void renderBackground()
      Mappings:
      Namespace Name Mixin selector
      official x Leaw;x()V
      intermediary method_2258 Lnet/minecraft/class_445;method_2258()V
      named renderBackground Lnet/minecraft/client/gui/screen/CreditsScreen;renderBackground()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Ldxu;a(Ldqk;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