Package net.minecraft.client.gui.screen
Class CreditsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.CreditsScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official eaw
intermediary net/minecraft/class_445
named net/minecraft/client/gui/screen/CreditsScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static String
private IntSet
private List<OrderedText>
private int
private static Identifier
private boolean
private float
private static StringVisitable
private static int
private static float
private Runnable
private static Logger
private static Identifier
private static String
private float
private float
private static Identifier
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
close()
protected void
init()
Called when a screen should be initialized.boolean
keyPressed(int keyCode, int scanCode, int modifiers)
Callback for when a key down event has been captured.boolean
keyReleased(int keyCode, int scanCode, int modifiers)
Callback for when a key down event has been captured.private void
method_37304(StringVisitable stringVisitable, boolean bool)
private void
method_37305(String string, boolean bool)
private void
void
onClose()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
private void
void
tick()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
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
- 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
- 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
- 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;
-
field_33955
- Mappings:
Namespace Name Mixin selector official o
Leaw;o:Lov;
intermediary field_33955
Lnet/minecraft/class_445;field_33955:Lnet/minecraft/class_5348;
named field_33955
Lnet/minecraft/client/gui/screen/CreditsScreen;field_33955:Lnet/minecraft/text/StringVisitable;
-
CENTERED_LINE_PREFIX
- See Also:
- Constant Field Values
- 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
- 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:
- Constant Field Values
- 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
-
field_33957
private static final float field_33957- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official s
Leaw;s:F
intermediary field_33957
Lnet/minecraft/class_445;field_33957:F
named field_33957
Lnet/minecraft/client/gui/screen/CreditsScreen;field_33957:F
-
endCredits
private final boolean endCredits- Mappings:
Namespace Name Mixin selector official t
Leaw;t: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 u
Leaw;u: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 v
Leaw;v: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 w
Leaw;w: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 x
Leaw;x: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 y
Leaw;y: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 z
Leaw;z:F
intermediary field_2635
Lnet/minecraft/class_445;field_2635:F
named speed
Lnet/minecraft/client/gui/screen/CreditsScreen;speed:F
-
field_33954
private final float field_33954- Mappings:
Namespace Name Mixin selector official A
Leaw;A:F
intermediary field_33954
Lnet/minecraft/class_445;field_33954:F
named field_33954
Lnet/minecraft/client/gui/screen/CreditsScreen;field_33954:F
-
-
Constructor Details
-
CreditsScreen
- 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
-
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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
Keyboard.onKey(long, int, int, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- 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 inGLFW
class.- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
Keyboard.onKey(long, int, int, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- 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() -
close
private void close()- Mappings:
Namespace Name Mixin selector official h
Leaw;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.
-
method_37306
private void method_37306()- Mappings:
Namespace Name Mixin selector official u
Leaw;u()V
intermediary method_37306
Lnet/minecraft/class_445;method_37306()V
named method_37306
Lnet/minecraft/client/gui/screen/CreditsScreen;method_37306()V
-
method_37305
- Mappings:
Namespace Name Mixin selector official c
Leaw;c(Ljava/lang/String;Z)V
intermediary method_37305
Lnet/minecraft/class_445;method_37305(Ljava/lang/String;Z)V
named method_37305
Lnet/minecraft/client/gui/screen/CreditsScreen;method_37305(Ljava/lang/String;Z)V
-
method_37304
- Mappings:
Namespace Name Mixin selector official a
Leaw;a(Lov;Z)V
intermediary method_37304
Lnet/minecraft/class_445;method_37304(Lnet/minecraft/class_5348;Z)V
named method_37304
Lnet/minecraft/client/gui/screen/CreditsScreen;method_37304(Lnet/minecraft/text/StringVisitable;Z)V
-
renderBackground
private void renderBackground()- Mappings:
Namespace Name Mixin selector official w
Leaw;w()V
intermediary method_2258
Lnet/minecraft/class_445;method_2258()V
named renderBackground
Lnet/minecraft/client/gui/screen/CreditsScreen;renderBackground()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- 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
-