Class CreditsScreen

All Implemented Interfaces:
Drawable, Element, ParentElement, TickableElement

@Environment(CLIENT)
public class CreditsScreen
extends Screen
Mappings:
Namespace Name
official dvl
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 Ldvl;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 Ldvl;b:Lwb;
      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 Ldvl;c:Lwb;
      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 p Ldvl;p:Lwb;
      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;
    • OBFUSCATION_PLACEHOLDER

      private static final String OBFUSCATION_PLACEHOLDER
      Mappings:
      Namespace Name Mixin selector
      official q Ldvl;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;
    • endCredits

      private final boolean endCredits
      Mappings:
      Namespace Name Mixin selector
      official r Ldvl;r: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 s Ldvl;s: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 t Ldvl;t: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 u Ldvl;u: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 v Ldvl;v: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 w Ldvl;w:I
      intermediary field_2629 Lnet/minecraft/class_445;field_2629:I
      named creditsHeight Lnet/minecraft/client/gui/screen/CreditsScreen;creditsHeight:I
    • speed

      private float speed
      Mappings:
      Namespace Name Mixin selector
      official x Ldvl;x:F
      intermediary field_2635 Lnet/minecraft/class_445;field_2635:F
      named speed Lnet/minecraft/client/gui/screen/CreditsScreen;speed:F
  • Constructor Details

    • CreditsScreen

      public CreditsScreen​(boolean endCredits, Runnable finishAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvl;<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

    • tick

      public void tick()
      Specified by:
      tick in interface TickableElement
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Ldsn;d()V
      intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/TickableElement;tick()V
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
      Mappings:
      Namespace Name Mixin selector
      official az_ Ldve;az_()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 h Ldvl;h()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 Ldve;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • renderBackground

      private void renderBackground​(int mouseX, int mouseY, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvl;a(IIF)V
      intermediary method_2258 Lnet/minecraft/class_445;method_2258(IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/CreditsScreen;renderBackground(IIF)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 Ldsq;a(Ldlr;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