Package net.minecraft.client.gui.screen
Class CreditsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.CreditsScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - official - euy- intermediary - net/minecraft/class_445- named - net/minecraft/client/gui/screen/CreditsScreen
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final floatprivate static final Stringprivate IntSetprivate List<OrderedText>private intprivate static final floatprivate final booleanprivate final Runnableprivate static final Loggerprivate final LogoDrawerprivate static final Stringprivate final IntSetprivate static final Textprivate static final floatprivate booleanprivate floatprivate intprivate floatprivate static final IdentifierFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprivate voidprivate voidvoidclose()private voidgetMusic()private floatgetSpeed()protected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.booleankeyReleased(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private voidload(String id, CreditsScreen.CreditsReader reader) private voidreadCredits(Reader reader) private voidvoidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) private voidrenderBackground(DrawContext context) Renders the background of this screen.voidtick()Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuy;a:Lorg/slf4j/Logger;- intermediary - field_2632- Lnet/minecraft/class_445;field_2632:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/client/gui/screen/CreditsScreen;LOGGER:Lorg/slf4j/Logger;
 
- 
VIGNETTE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - official - b- Leuy;b:Lacq;- 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- Mappings:
- Namespace - Name - Mixin selector - official - c- Leuy;c:Lsw;- 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- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - k- Leuy;k: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- Mappings:
- Namespace - Name - Mixin selector - official - l- Leuy;l: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;
 
- 
SPACE_BAR_SPEED_MULTIPLIERprivate static final float SPACE_BAR_SPEED_MULTIPLIER- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - m- Leuy;m: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
 
- 
CTRL_KEY_SPEED_MULTIPLIERprivate static final float CTRL_KEY_SPEED_MULTIPLIER- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - n- Leuy;n:F- intermediary - field_34012- Lnet/minecraft/class_445;field_34012:F- named - CTRL_KEY_SPEED_MULTIPLIER- Lnet/minecraft/client/gui/screen/CreditsScreen;CTRL_KEY_SPEED_MULTIPLIER:F
 
- 
endCreditsprivate final boolean endCredits- Mappings:
- Namespace - Name - Mixin selector - official - o- Leuy;o:Z- intermediary - field_2627- Lnet/minecraft/class_445;field_2627:Z- named - endCredits- Lnet/minecraft/client/gui/screen/CreditsScreen;endCredits:Z
 
- 
finishAction- Mappings:
- Namespace - Name - Mixin selector - official - p- Leuy;p: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;
 
- 
timeprivate float time- Mappings:
- Namespace - Name - Mixin selector - official - q- Leuy;q:F- intermediary - field_2628- Lnet/minecraft/class_445;field_2628:F- named - time- Lnet/minecraft/client/gui/screen/CreditsScreen;time:F
 
- 
credits- Mappings:
- Namespace - Name - Mixin selector - official - r- Leuy;r: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- Mappings:
- Namespace - Name - Mixin selector - official - s- Leuy;s: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;
 
- 
creditsHeightprivate int creditsHeight- Mappings:
- Namespace - Name - Mixin selector - official - t- Leuy;t:I- intermediary - field_2629- Lnet/minecraft/class_445;field_2629:I- named - creditsHeight- Lnet/minecraft/client/gui/screen/CreditsScreen;creditsHeight:I
 
- 
spaceKeyPressedprivate boolean spaceKeyPressed- Mappings:
- Namespace - Name - Mixin selector - official - u- Leuy;u:Z- intermediary - field_34010- Lnet/minecraft/class_445;field_34010:Z- named - spaceKeyPressed- Lnet/minecraft/client/gui/screen/CreditsScreen;spaceKeyPressed:Z
 
- 
pressedCtrlKeys- Mappings:
- Namespace - Name - Mixin selector - official - v- Leuy;v:Lit/unimi/dsi/fastutil/ints/IntSet;- intermediary - field_34011- Lnet/minecraft/class_445;field_34011:Lit/unimi/dsi/fastutil/ints/IntSet;- named - pressedCtrlKeys- Lnet/minecraft/client/gui/screen/CreditsScreen;pressedCtrlKeys:Lit/unimi/dsi/fastutil/ints/IntSet;
 
- 
speedprivate float speed- Mappings:
- Namespace - Name - Mixin selector - official - w- Leuy;w:F- intermediary - field_2635- Lnet/minecraft/class_445;field_2635:F- named - speed- Lnet/minecraft/client/gui/screen/CreditsScreen;speed:F
 
- 
baseSpeedprivate final float baseSpeed- Mappings:
- Namespace - Name - Mixin selector - official - x- Leuy;x:F- intermediary - field_33954- Lnet/minecraft/class_445;field_33954:F- named - baseSpeed- Lnet/minecraft/client/gui/screen/CreditsScreen;baseSpeed:F
 
- 
speedMultiplierprivate int speedMultiplier- Mappings:
- Namespace - Name - Mixin selector - official - y- Leuy;y:I- intermediary - field_44778- Lnet/minecraft/class_445;field_44778:I- named - speedMultiplier- Lnet/minecraft/client/gui/screen/CreditsScreen;speedMultiplier:I
 
- 
logoDrawer- Mappings:
- Namespace - Name - Mixin selector - official - z- Leuy;z:Lepx;- intermediary - field_41848- Lnet/minecraft/class_445;field_41848:Lnet/minecraft/class_8020;- named - logoDrawer- Lnet/minecraft/client/gui/screen/CreditsScreen;logoDrawer:Lnet/minecraft/client/gui/LogoDrawer;
 
 
- 
- 
Constructor Details- 
CreditsScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leuy;<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- 
getSpeedprivate float getSpeed()- Mappings:
- Namespace - Name - Mixin selector - official - l- Leuy;l()F- intermediary - method_37369- Lnet/minecraft/class_445;method_37369()F- named - getSpeed- Lnet/minecraft/client/gui/screen/CreditsScreen;getSpeed()F
 
- 
tickpublic void tick()
- 
keyPressedpublic 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 inGLFWclass.- Specified by:
- keyPressedin interface- Element
- Specified by:
- keyPressedin interface- ParentElement
- Overrides:
- keyPressedin class- Screen
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- 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:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z
 
- 
keyReleasedpublic 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 inGLFWclass.- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- 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:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Leqt;b(III)Z- intermediary - method_16803- Lnet/minecraft/class_364;method_16803(III)Z- named - keyReleased- Lnet/minecraft/client/gui/Element;keyReleased(III)Z
 
- 
closepublic void close()
- 
closeScreenprivate void closeScreen()- Mappings:
- Namespace - Name - Mixin selector - official - B- Leuy;B()V- intermediary - method_2257- Lnet/minecraft/class_445;method_2257()V- named - closeScreen- Lnet/minecraft/client/gui/screen/CreditsScreen;closeScreen()V
 
- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. This should call Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.
- 
load- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuy;a(Ljava/lang/String;Leuy$a;)V- intermediary - method_39775- Lnet/minecraft/class_445;method_39775(Ljava/lang/String;Lnet/minecraft/class_445$class_6824;)V- named - load- Lnet/minecraft/client/gui/screen/CreditsScreen;load(Ljava/lang/String;Lnet/minecraft/client/gui/screen/CreditsScreen$CreditsReader;)V
 
- 
readPoem- Throws:
- IOException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuy;a(Ljava/io/Reader;)V- intermediary - method_39774- Lnet/minecraft/class_445;method_39774(Ljava/io/Reader;)V- named - readPoem- Lnet/minecraft/client/gui/screen/CreditsScreen;readPoem(Ljava/io/Reader;)V
 
- 
readCredits- Mappings:
- Namespace - Name - Mixin selector - official - b- Leuy;b(Ljava/io/Reader;)V- intermediary - method_39776- Lnet/minecraft/class_445;method_39776(Ljava/io/Reader;)V- named - readCredits- Lnet/minecraft/client/gui/screen/CreditsScreen;readCredits(Ljava/io/Reader;)V
 
- 
addEmptyLineprivate void addEmptyLine()- Mappings:
- Namespace - Name - Mixin selector - official - C- Leuy;C()V- intermediary - method_37306- Lnet/minecraft/class_445;method_37306()V- named - addEmptyLine- Lnet/minecraft/client/gui/screen/CreditsScreen;addEmptyLine()V
 
- 
addText- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuy;a(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- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuy;a(Lsw;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
 
- 
renderBackgroundDescription copied from class:ScreenRenders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture. - Overrides:
- renderBackgroundin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - c- Leuy;c(Leox;)V- intermediary - method_2258- Lnet/minecraft/class_445;method_2258(Lnet/minecraft/class_332;)V- named - renderBackground- Lnet/minecraft/client/gui/screen/CreditsScreen;renderBackground(Lnet/minecraft/client/gui/DrawContext;)V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
removedpublic void removed()
- 
getMusic
 
-