Class CreditsAndAttributionScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.CreditsAndAttributionScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official ewsintermediary net/minecraft/class_8219named net/minecraft/client/gui/screen/option/CreditsAndAttributionScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final intprivate static final Textprivate final ThreePartsLayoutWidgetprivate static final Textprivate final Screenprivate static final intprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, render, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
SPACING
private static final int SPACING- See Also:
- Mappings:
Namespace Name Mixin selector official aLews;a:Iintermediary field_43137Lnet/minecraft/class_8219;field_43137:Inamed SPACINGLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;SPACING:I
-
BUTTON_WIDTH
private static final int BUTTON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official bLews;b:Iintermediary field_43138Lnet/minecraft/class_8219;field_43138:Inamed BUTTON_WIDTHLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;BUTTON_WIDTH:I
-
TITLE
- Mappings:
Namespace Name Mixin selector official cLews;c:Lte;intermediary field_43139Lnet/minecraft/class_8219;field_43139:Lnet/minecraft/class_2561;named TITLELnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;TITLE:Lnet/minecraft/text/Text;
-
CREDITS_TEXT
- Mappings:
Namespace Name Mixin selector official kLews;k:Lte;intermediary field_43140Lnet/minecraft/class_8219;field_43140:Lnet/minecraft/class_2561;named CREDITS_TEXTLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;CREDITS_TEXT:Lnet/minecraft/text/Text;
-
ATTRIBUTION_TEXT
- Mappings:
Namespace Name Mixin selector official lLews;l:Lte;intermediary field_43141Lnet/minecraft/class_8219;field_43141:Lnet/minecraft/class_2561;named ATTRIBUTION_TEXTLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;ATTRIBUTION_TEXT:Lnet/minecraft/text/Text;
-
LICENSE_TEXT
- Mappings:
Namespace Name Mixin selector official mLews;m:Lte;intermediary field_43142Lnet/minecraft/class_8219;field_43142:Lnet/minecraft/class_2561;named LICENSE_TEXTLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;LICENSE_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official nLews;n:Lexv;intermediary field_43143Lnet/minecraft/class_8219;field_43143:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
layout
- Mappings:
Namespace Name Mixin selector official oLews;o:Levk;intermediary field_43144Lnet/minecraft/class_8219;field_43144:Lnet/minecraft/class_8132;named layoutLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
-
-
Constructor Details
-
CreditsAndAttributionScreen
- Mappings:
Namespace Name Mixin selector official <init>Lews;<init>(Lexv;)Vintermediary <init>Lnet/minecraft/class_8219;<init>(Lnet/minecraft/class_437;)Vnamed <init>Lnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
-
-
Method Details
-
init
protected 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. -
openCredits
private void openCredits()- Mappings:
Namespace Name Mixin selector official lLews;l()Vintermediary method_49739Lnet/minecraft/class_8219;method_49739()Vnamed openCreditsLnet/minecraft/client/gui/screen/option/CreditsAndAttributionScreen;openCredits()V
-
close
public void close()
-