net.minecraft.client.gui.screen

public class CreditsScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.WinScreen
net.minecraft.client.gui.screens.WinScreen
net.minecraft.class_445
net.minecraft.client.gui.screen.CreditsScreen

Field summary

Modifier and TypeField
private static final Identifier
VIGNETTE_LOCATION
VIGNETTE_LOCATION
field_2633
VIGNETTE_TEXTURE
private static final org.slf4j.Logger
LOGGER
LOGGER
field_2632
LOGGER
private static final Text
SECTION_HEADING
SECTION_HEADING
field_33955
SEPARATOR_LINE
private static final String
NAME_PREFIX
NAME_PREFIX
field_32273
CENTERED_LINE_PREFIX
private static final String
OBFUSCATE_TOKEN
OBFUSCATE_TOKEN
field_24260
OBFUSCATION_PLACEHOLDER
private static final float
SPEEDUP_FACTOR
SPEEDUP_FACTOR
field_33957
SPACE_BAR_SPEED_MULTIPLIER
private static final float
SPEEDUP_FACTOR_FAST
SPEEDUP_FACTOR_FAST
field_34012
CTRL_KEY_SPEED_MULTIPLIER
private static final Identifier
END_POEM_LOCATION
END_POEM_LOCATION
field_52137
END_POEM_TEXT_LOCATION
private static final Identifier
CREDITS_LOCATION
CREDITS_LOCATION
field_52138
CREDITS_TEXT_LOCATION
private static final Identifier
POSTCREDITS_LOCATION
POSTCREDITS_LOCATION
field_52139
POST_CREDITS_TEXT_LOCATION
private final boolean
poem
poem
field_2627
endCredits
private final Runnable
onFinished
onFinished
field_2630
finishAction
private float
scroll
scroll
field_2628
time
private List<OrderedText>
lines
lines
field_2634
credits
private List<Text>
narratorComponents
narratorComponents
field_60754
narratedCredits
private it.unimi.dsi.fastutil.ints.IntSet
centeredLines
centeredLines
field_24261
centeredLines
private int
totalScrollLength
totalScrollLength
field_2629
creditsHeight
private boolean
speedupActive
speedupActive
field_34010
spaceKeyPressed
private final it.unimi.dsi.fastutil.ints.IntSet
speedupModifiers
speedupModifiers
field_34011
pressedCtrlKeys
private float
scrollSpeed
scrollSpeed
field_2635
speed
private final float
unmodifiedScrollSpeed
unmodifiedScrollSpeed
field_33954
baseSpeed
private int
direction
direction
field_44778
speedMultiplier
private final LogoDrawer
logoRenderer
logoRenderer
field_41848
logoDrawer

Constructor summary

ModifierConstructor
public (boolean endCredits, Runnable finishAction)

Method summary

Modifier and TypeMethod
private float
calculateScrollSpeed()
calculateScrollSpeed()
method_37369()
getSpeed()
public void
tick()
tick()
method_25393()
tick()
public boolean
keyPressed(KeyEvent event)
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public boolean
keyReleased(KeyEvent event)
keyReleased(KeyEvent event)
method_16803(class_11908 arg0)
keyReleased(KeyInput arg0)
public void
onClose()
onClose()
method_25419()
close()
private void
respawn()
respawn()
method_2257()
closeScreen()
protected void
init()
init()
method_25426()
init()
public Text
getNarrationMessage()
getNarrationMessage()
method_25435()
getNarratedTitle()
private void
wrapCreditsIO(Identifier file, WinScreen$CreditsReader creditsReader)
wrapCreditsIO(Identifier file, WinScreen$CreditsReader creditsReader)
method_39775(class_2960 arg0, class_445$class_6824 arg1)
load(Identifier fileLocation, CreditsScreen$CreditsReader reader)
private void
addPoemFile(Reader inputReader)
addPoemFile(Reader inputReader)
method_39774(Reader arg0)
readPoem(Reader reader)
private void
addCreditsFile(Reader inputReader)
addCreditsFile(Reader inputReader)
method_39776(Reader arg0)
readCredits(Reader reader)
private void
addEmptyLine()
addEmptyLine()
method_37306()
addEmptyLine()
private void
addPoemLines(String line)
addPoemLines(String line)
method_37305(String arg0)
addText(String text)
private void
addCreditsLine(Component line, boolean centered, boolean narrated)
addCreditsLine(Component line, boolean centered, boolean narrated)
method_37304(class_2561 arg0, boolean arg1, boolean arg2)
addText(Text text, boolean centered, boolean narrate)
public void
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private void
extractVignette(GuiGraphicsExtractor graphics)
extractVignette(GuiGraphicsExtractor graphics)
method_57738(class_332 arg0)
renderVignette(DrawContext context)
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
extractMenuBackground(GuiGraphicsExtractor graphics, int x, int y, int width, int height)
extractMenuBackground(GuiGraphicsExtractor graphics, int x, int y, int width, int height)
method_57736(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
renderDarkening(DrawContext arg0, int arg1, int arg2, int arg3, int arg4)
public boolean
isPauseScreen()
isPauseScreen()
method_25421()
shouldPause()
public boolean
isAllowedInPortal()
isAllowedInPortal()
method_73217()
keepOpenThroughPortal()
public void
removed()
removed()
method_25432()
removed()
public MusicSound
getBackgroundMusic()
getBackgroundMusic()
method_50024()
getMusic()