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 named net/minecraft/client/gui/screen/CreditsScreenintermediary net/minecraft/class_445official gew
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate static final Stringprivate IntSetprivate List<OrderedText> private static final Identifierprivate intprivate static final floatprivate static final Identifierprivate final booleanprivate final Runnableprivate static final Loggerprivate final LogoDrawerprivate static final Stringprivate static final Identifierprivate final IntSetprivate static final Textprivate static final floatprivate booleanprivate floatprivate intprivate floatprivate static final IdentifierFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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(Identifier fileLocation, CreditsScreen.CreditsReader reader) private voidreadCredits(Reader reader) private voidvoidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.protected voidrenderDarkening(DrawContext context, int x, int y, int width, int height) private voidrenderVignette(DrawContext context) booleanvoidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, findSelectedElementData, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused 
- 
Field Details
- 
VIGNETTE_TEXTURE
- Mappings:
 Namespace Name Mixin selector named VIGNETTE_TEXTURELnet/minecraft/client/gui/screen/CreditsScreen;VIGNETTE_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_2633Lnet/minecraft/class_445;field_2633:Lnet/minecraft/class_2960;official aLgew;a:Lame;
 - 
LOGGER
- Mappings:
 Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/CreditsScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_2632Lnet/minecraft/class_445;field_2632:Lorg/slf4j/Logger;official bLgew;b:Lorg/slf4j/Logger;
 - 
SEPARATOR_LINE
- Mappings:
 Namespace Name Mixin selector named SEPARATOR_LINELnet/minecraft/client/gui/screen/CreditsScreen;SEPARATOR_LINE:Lnet/minecraft/text/Text;intermediary field_33955Lnet/minecraft/class_445;field_33955:Lnet/minecraft/class_2561;official cLgew;c:Lxo;
 - 
CENTERED_LINE_PREFIX
- See Also:
 - Mappings:
 Namespace Name Mixin selector named CENTERED_LINE_PREFIXLnet/minecraft/client/gui/screen/CreditsScreen;CENTERED_LINE_PREFIX:Ljava/lang/String;intermediary field_32273Lnet/minecraft/class_445;field_32273:Ljava/lang/String;official dLgew;d:Ljava/lang/String;
 - 
OBFUSCATION_PLACEHOLDER
- Mappings:
 Namespace Name Mixin selector named OBFUSCATION_PLACEHOLDERLnet/minecraft/client/gui/screen/CreditsScreen;OBFUSCATION_PLACEHOLDER:Ljava/lang/String;intermediary field_24260Lnet/minecraft/class_445;field_24260:Ljava/lang/String;official eLgew;e:Ljava/lang/String;
 - 
SPACE_BAR_SPEED_MULTIPLIER
private static final float SPACE_BAR_SPEED_MULTIPLIER- See Also:
 - Mappings:
 Namespace Name Mixin selector named SPACE_BAR_SPEED_MULTIPLIERLnet/minecraft/client/gui/screen/CreditsScreen;SPACE_BAR_SPEED_MULTIPLIER:Fintermediary field_33957Lnet/minecraft/class_445;field_33957:Fofficial fLgew;f:F
 - 
CTRL_KEY_SPEED_MULTIPLIER
private static final float CTRL_KEY_SPEED_MULTIPLIER- See Also:
 - Mappings:
 Namespace Name Mixin selector named CTRL_KEY_SPEED_MULTIPLIERLnet/minecraft/client/gui/screen/CreditsScreen;CTRL_KEY_SPEED_MULTIPLIER:Fintermediary field_34012Lnet/minecraft/class_445;field_34012:Fofficial uLgew;u:F
 - 
END_POEM_TEXT_LOCATION
- Mappings:
 Namespace Name Mixin selector named END_POEM_TEXT_LOCATIONLnet/minecraft/client/gui/screen/CreditsScreen;END_POEM_TEXT_LOCATION:Lnet/minecraft/util/Identifier;intermediary field_52137Lnet/minecraft/class_445;field_52137:Lnet/minecraft/class_2960;official vLgew;v:Lame;
 - 
CREDITS_TEXT_LOCATION
- Mappings:
 Namespace Name Mixin selector named CREDITS_TEXT_LOCATIONLnet/minecraft/client/gui/screen/CreditsScreen;CREDITS_TEXT_LOCATION:Lnet/minecraft/util/Identifier;intermediary field_52138Lnet/minecraft/class_445;field_52138:Lnet/minecraft/class_2960;official wLgew;w:Lame;
 - 
POST_CREDITS_TEXT_LOCATION
- Mappings:
 Namespace Name Mixin selector named POST_CREDITS_TEXT_LOCATIONLnet/minecraft/client/gui/screen/CreditsScreen;POST_CREDITS_TEXT_LOCATION:Lnet/minecraft/util/Identifier;intermediary field_52139Lnet/minecraft/class_445;field_52139:Lnet/minecraft/class_2960;official xLgew;x:Lame;
 - 
endCredits
private final boolean endCredits- Mappings:
 Namespace Name Mixin selector named endCreditsLnet/minecraft/client/gui/screen/CreditsScreen;endCredits:Zintermediary field_2627Lnet/minecraft/class_445;field_2627:Zofficial yLgew;y:Z
 - 
finishAction
- Mappings:
 Namespace Name Mixin selector named finishActionLnet/minecraft/client/gui/screen/CreditsScreen;finishAction:Ljava/lang/Runnable;intermediary field_2630Lnet/minecraft/class_445;field_2630:Ljava/lang/Runnable;official zLgew;z:Ljava/lang/Runnable;
 - 
time
private float time- Mappings:
 Namespace Name Mixin selector named timeLnet/minecraft/client/gui/screen/CreditsScreen;time:Fintermediary field_2628Lnet/minecraft/class_445;field_2628:Fofficial ALgew;A:F
 - 
credits
- Mappings:
 Namespace Name Mixin selector named creditsLnet/minecraft/client/gui/screen/CreditsScreen;credits:Ljava/util/List;intermediary field_2634Lnet/minecraft/class_445;field_2634:Ljava/util/List;official BLgew;B:Ljava/util/List;
 - 
narratedCredits
- Mappings:
 Namespace Name Mixin selector named narratedCreditsLnet/minecraft/client/gui/screen/CreditsScreen;narratedCredits:Ljava/util/List;intermediary field_60754Lnet/minecraft/class_445;field_60754:Ljava/util/List;official CLgew;C:Ljava/util/List;
 - 
centeredLines
- Mappings:
 Namespace Name Mixin selector named centeredLinesLnet/minecraft/client/gui/screen/CreditsScreen;centeredLines:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_24261Lnet/minecraft/class_445;field_24261:Lit/unimi/dsi/fastutil/ints/IntSet;official DLgew;D:Lit/unimi/dsi/fastutil/ints/IntSet;
 - 
creditsHeight
private int creditsHeight- Mappings:
 Namespace Name Mixin selector named creditsHeightLnet/minecraft/client/gui/screen/CreditsScreen;creditsHeight:Iintermediary field_2629Lnet/minecraft/class_445;field_2629:Iofficial ELgew;E:I
 - 
spaceKeyPressed
private boolean spaceKeyPressed- Mappings:
 Namespace Name Mixin selector named spaceKeyPressedLnet/minecraft/client/gui/screen/CreditsScreen;spaceKeyPressed:Zintermediary field_34010Lnet/minecraft/class_445;field_34010:Zofficial FLgew;F:Z
 - 
pressedCtrlKeys
- Mappings:
 Namespace Name Mixin selector named pressedCtrlKeysLnet/minecraft/client/gui/screen/CreditsScreen;pressedCtrlKeys:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_34011Lnet/minecraft/class_445;field_34011:Lit/unimi/dsi/fastutil/ints/IntSet;official GLgew;G:Lit/unimi/dsi/fastutil/ints/IntSet;
 - 
speed
private float speed- Mappings:
 Namespace Name Mixin selector named speedLnet/minecraft/client/gui/screen/CreditsScreen;speed:Fintermediary field_2635Lnet/minecraft/class_445;field_2635:Fofficial HLgew;H:F
 - 
baseSpeed
private final float baseSpeed- Mappings:
 Namespace Name Mixin selector named baseSpeedLnet/minecraft/client/gui/screen/CreditsScreen;baseSpeed:Fintermediary field_33954Lnet/minecraft/class_445;field_33954:Fofficial ILgew;I:F
 - 
speedMultiplier
private int speedMultiplier- Mappings:
 Namespace Name Mixin selector named speedMultiplierLnet/minecraft/client/gui/screen/CreditsScreen;speedMultiplier:Iintermediary field_44778Lnet/minecraft/class_445;field_44778:Iofficial JLgew;J:I
 - 
logoDrawer
- Mappings:
 Namespace Name Mixin selector named logoDrawerLnet/minecraft/client/gui/screen/CreditsScreen;logoDrawer:Lnet/minecraft/client/gui/LogoDrawer;intermediary field_41848Lnet/minecraft/class_445;field_41848:Lnet/minecraft/class_8020;official KLgew;K:Lfyg;
 
 - 
 - 
Constructor Details
- 
CreditsScreen
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/CreditsScreen;<init>(ZLjava/lang/Runnable;)Vintermediary <init>Lnet/minecraft/class_445;<init>(ZLjava/lang/Runnable;)Vofficial <init>Lgew;<init>(ZLjava/lang/Runnable;)V
 
 - 
 - 
Method Details
- 
getSpeed
private float getSpeed()- Mappings:
 Namespace Name Mixin selector named getSpeedLnet/minecraft/client/gui/screen/CreditsScreen;getSpeed()Fintermediary method_37369Lnet/minecraft/class_445;method_37369()Fofficial lLgew;l()F
 - 
tick
public void tick() - 
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 inGLFWclass.- Specified by:
 keyPressedin interfaceElement- Specified by:
 keyPressedin interfaceParentElement- Overrides:
 keyPressedin classScreen- Parameters:
 keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- 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 named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfzn;a(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 inGLFWclass.- Parameters:
 keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- 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 named keyReleasedLnet/minecraft/client/gui/Element;keyReleased(III)Zintermediary method_16803Lnet/minecraft/class_364;method_16803(III)Zofficial cLfzn;c(III)Z
 - 
close
public void close() - 
closeScreen
private void closeScreen()- Mappings:
 Namespace Name Mixin selector named closeScreenLnet/minecraft/client/gui/screen/CreditsScreen;closeScreen()Vintermediary method_2257Lnet/minecraft/class_445;method_2257()Vofficial mLgew;m()V
 - 
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
 - 
getNarratedTitle
- Overrides:
 getNarratedTitlein classScreen- Mappings:
 Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLget;i()Lxo;
 - 
load
- Mappings:
 Namespace Name Mixin selector named loadLnet/minecraft/client/gui/screen/CreditsScreen;load(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/screen/CreditsScreen$CreditsReader;)Vintermediary method_39775Lnet/minecraft/class_445;method_39775(Lnet/minecraft/class_2960;Lnet/minecraft/class_445$class_6824;)Vofficial aLgew;a(Lame;Lgew$a;)V
 - 
readPoem
- Throws:
 IOException- Mappings:
 Namespace Name Mixin selector named readPoemLnet/minecraft/client/gui/screen/CreditsScreen;readPoem(Ljava/io/Reader;)Vintermediary method_39774Lnet/minecraft/class_445;method_39774(Ljava/io/Reader;)Vofficial aLgew;a(Ljava/io/Reader;)V
 - 
readCredits
- Mappings:
 Namespace Name Mixin selector named readCreditsLnet/minecraft/client/gui/screen/CreditsScreen;readCredits(Ljava/io/Reader;)Vintermediary method_39776Lnet/minecraft/class_445;method_39776(Ljava/io/Reader;)Vofficial bLgew;b(Ljava/io/Reader;)V
 - 
addEmptyLine
private void addEmptyLine()- Mappings:
 Namespace Name Mixin selector named addEmptyLineLnet/minecraft/client/gui/screen/CreditsScreen;addEmptyLine()Vintermediary method_37306Lnet/minecraft/class_445;method_37306()Vofficial nLgew;n()V
 - 
addText
- Mappings:
 Namespace Name Mixin selector named addTextLnet/minecraft/client/gui/screen/CreditsScreen;addText(Ljava/lang/String;)Vintermediary method_37305Lnet/minecraft/class_445;method_37305(Ljava/lang/String;)Vofficial aLgew;a(Ljava/lang/String;)V
 - 
addText
- Mappings:
 Namespace Name Mixin selector named addTextLnet/minecraft/client/gui/screen/CreditsScreen;addText(Lnet/minecraft/text/Text;ZZ)Vintermediary method_37304Lnet/minecraft/class_445;method_37304(Lnet/minecraft/class_2561;ZZ)Vofficial aLgew;a(Lxo;ZZ)V
 - 
render
- Specified by:
 renderin interfaceDrawable- Overrides:
 renderin classScreen- Mappings:
 Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfys;a(Lfxb;IIF)V
 - 
renderVignette
- Mappings:
 Namespace Name Mixin selector named renderVignetteLnet/minecraft/client/gui/screen/CreditsScreen;renderVignette(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_57738Lnet/minecraft/class_445;method_57738(Lnet/minecraft/class_332;)Vofficial dLgew;d(Lfxb;)V
 - 
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
 renderBackgroundin classScreen- Mappings:
 Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLget;b(Lfxb;IIF)V
 - 
renderDarkening
- Overrides:
 renderDarkeningin classScreen- Mappings:
 Namespace Name Mixin selector named renderDarkeningLnet/minecraft/client/gui/screen/Screen;renderDarkening(Lnet/minecraft/client/gui/DrawContext;IIII)Vintermediary method_57736Lnet/minecraft/class_437;method_57736(Lnet/minecraft/class_332;IIII)Vofficial aLget;a(Lfxb;IIII)V
 - 
shouldPause
public boolean shouldPause()- Overrides:
 shouldPausein classScreen- Mappings:
 Namespace Name Mixin selector named shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial aQ_Lget;aQ_()Z
 - 
removed
public void removed() - 
getMusic
 
 -