Package net.minecraft.client.gui.screen
Class CreditsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.CreditsScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
@Environment(CLIENT) public class CreditsScreen extends Screen
- Mappings:
Namespace Name official aycintermediary net/minecraft/class_767named net/minecraft/client/gui/screen/CreditsScreen
-
Field Summary
Fields Modifier and Type Field Description private List<String>creditsprivate intcreditsHeightprivate intfield_3297private static LoggerLOGGERprivate static IdentifierMINECRAFT_TEXTUREprivate floatspeedprivate static IdentifierVIGNETTE_TEXTUREFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, height, itemRenderer, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors Constructor Description CreditsScreen() -
Method Summary
Modifier and Type Method Description private voidclose()voidinit()protected voidkeyPressed(char character, int code)voidrender(int mouseX, int mouseY, float tickDelta)private voidrenderBackground(int mouseX, int mouseY, float tickDelta)booleanshouldPauseGame()voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
buttonClicked, confirmResult, getClipboard, handleInput, handleKeyboard, handleMouse, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, mouseClicked, mouseDragged, mouseReleased, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setClipboard, setScreenBoundsMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLayc;a:Lorg/apache/logging/log4j/Logger;intermediary field_3294Lnet/minecraft/class_767;field_3294:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/CreditsScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
MINECRAFT_TEXTURE
- Mappings:
Namespace Name Mixin selector official fLayc;f:Ljy;intermediary field_3295Lnet/minecraft/class_767;field_3295:Lnet/minecraft/class_1605;named MINECRAFT_TEXTURELnet/minecraft/client/gui/screen/CreditsScreen;MINECRAFT_TEXTURE:Lnet/minecraft/util/Identifier;
-
VIGNETTE_TEXTURE
- Mappings:
Namespace Name Mixin selector official gLayc;g:Ljy;intermediary field_3296Lnet/minecraft/class_767;field_3296:Lnet/minecraft/class_1605;named VIGNETTE_TEXTURELnet/minecraft/client/gui/screen/CreditsScreen;VIGNETTE_TEXTURE:Lnet/minecraft/util/Identifier;
-
field_3297
private int field_3297- Mappings:
Namespace Name Mixin selector official hLayc;h:Iintermediary field_3297Lnet/minecraft/class_767;field_3297:Inamed field_3297Lnet/minecraft/client/gui/screen/CreditsScreen;field_3297:I
-
credits
- Mappings:
Namespace Name Mixin selector official iLayc;i:Ljava/util/List;intermediary field_3298Lnet/minecraft/class_767;field_3298:Ljava/util/List;named creditsLnet/minecraft/client/gui/screen/CreditsScreen;credits:Ljava/util/List;
-
creditsHeight
private int creditsHeight- Mappings:
Namespace Name Mixin selector official rLayc;r:Iintermediary field_3299Lnet/minecraft/class_767;field_3299:Inamed creditsHeightLnet/minecraft/client/gui/screen/CreditsScreen;creditsHeight:I
-
speed
private float speed- Mappings:
Namespace Name Mixin selector official sLayc;s:Fintermediary field_3300Lnet/minecraft/class_767;field_3300:Fnamed speedLnet/minecraft/client/gui/screen/CreditsScreen;speed:F
-
-
Constructor Details
-
CreditsScreen
public CreditsScreen()
-
-
Method Details
-
tick
public void tick() -
keyPressed
protected void keyPressed(char character, int code)- Overrides:
keyPressedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(CI)Vintermediary method_2781Lnet/minecraft/class_754;method_2781(CI)Vnamed keyPressedLnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
-
close
private void close()- Mappings:
Namespace Name Mixin selector official aLayc;a()Vintermediary method_2850Lnet/minecraft/class_767;method_2850()Vnamed closeLnet/minecraft/client/gui/screen/CreditsScreen;close()V
-
shouldPauseGame
public boolean shouldPauseGame()- Overrides:
shouldPauseGamein classScreen- Mappings:
Namespace Name Mixin selector official dLaxu;d()Zintermediary method_2802Lnet/minecraft/class_754;method_2802()Znamed shouldPauseGameLnet/minecraft/client/gui/screen/Screen;shouldPauseGame()Z
-
init
public void init() -
renderBackground
private void renderBackground(int mouseX, int mouseY, float tickDelta)- Mappings:
Namespace Name Mixin selector official bLayc;b(IIF)Vintermediary method_2851Lnet/minecraft/class_767;method_2851(IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/CreditsScreen;renderBackground(IIF)V
-
render
public void render(int mouseX, int mouseY, float tickDelta)
-