Class TelemetryInfoScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.TelemetryInfoScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official ffhintermediary net/minecraft/class_7944named net/minecraft/client/gui/screen/option/TelemetryInfoScreen
-
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 Textprivate static final intprivate static final Textprivate final GameOptionsprivate final Screenprivate static final Textprivate doubleprivate static final Textprivate @Nullable TelemetryEventWidgetprivate 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
Modifier and TypeMethodDescriptionvoidclose()private GridWidgetcreateButtonRow(ClickableWidget left, ClickableWidget right) private ClickableWidgetprivate LayoutWidgetprivate voidgoBack(ButtonWidget button) protected voidinit()Called when a screen should be initialized.private voidopenFeedbackPage(ButtonWidget button) private voidopenLogDirectory(ButtonWidget button) private voidopenPrivacyStatementPage(ButtonWidget button) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.private voidupdateOptIn(ClickableWidget checkbox, boolean checked) 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, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, render, 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
-
MARGIN
private static final int MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector official aLffh;a:Iintermediary field_41367Lnet/minecraft/class_7944;field_41367:Inamed MARGINLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;MARGIN:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official bLffh;b:Lur;intermediary field_41369Lnet/minecraft/class_7944;field_41369:Lnet/minecraft/class_2561;named TITLE_TEXTLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
-
DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector official cLffh;c:Lur;intermediary field_41370Lnet/minecraft/class_7944;field_41370:Lnet/minecraft/class_2561;named DESCRIPTION_TEXTLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
-
PRIVACY_STATEMENT_TEXT
- Mappings:
Namespace Name Mixin selector official kLffh;k:Lur;intermediary field_45567Lnet/minecraft/class_7944;field_45567:Lnet/minecraft/class_2561;named PRIVACY_STATEMENT_TEXTLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;PRIVACY_STATEMENT_TEXT:Lnet/minecraft/text/Text;
-
GIVE_FEEDBACK_TEXT
- Mappings:
Namespace Name Mixin selector official lLffh;l:Lur;intermediary field_41371Lnet/minecraft/class_7944;field_41371:Lnet/minecraft/class_2561;named GIVE_FEEDBACK_TEXTLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;GIVE_FEEDBACK_TEXT:Lnet/minecraft/text/Text;
-
SHOW_DATA_TEXT
- Mappings:
Namespace Name Mixin selector official mLffh;m:Lur;intermediary field_41372Lnet/minecraft/class_7944;field_41372:Lnet/minecraft/class_2561;named SHOW_DATA_TEXTLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;SHOW_DATA_TEXT:Lnet/minecraft/text/Text;
-
OPT_IN_DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector official nLffh;n:Lur;intermediary field_47126Lnet/minecraft/class_7944;field_47126:Lnet/minecraft/class_2561;named OPT_IN_DESCRIPTION_TEXTLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;OPT_IN_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official oLffh;o:Lfau;intermediary field_41373Lnet/minecraft/class_7944;field_41373:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
options
- Mappings:
Namespace Name Mixin selector official pLffh;p:Leth;intermediary field_41374Lnet/minecraft/class_7944;field_41374:Lnet/minecraft/class_315;named optionsLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;options:Lnet/minecraft/client/option/GameOptions;
-
telemetryEventWidget
- Mappings:
Namespace Name Mixin selector official qLffh;q:Lffg;intermediary field_41375Lnet/minecraft/class_7944;field_41375:Lnet/minecraft/class_7941;named telemetryEventWidgetLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;telemetryEventWidget:Lnet/minecraft/client/gui/screen/option/TelemetryEventWidget;
-
scroll
private double scroll- Mappings:
Namespace Name Mixin selector official rLffh;r:Dintermediary field_41376Lnet/minecraft/class_7944;field_41376:Dnamed scrollLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;scroll:D
-
-
Constructor Details
-
TelemetryInfoScreen
- Mappings:
Namespace Name Mixin selector official <init>Lffh;<init>(Lfau;Leth;)Vintermediary <init>Lnet/minecraft/class_7944;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Vnamed <init>Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
-
-
Method Details
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official hLfau;h()Lur;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
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. -
getLayout
- Mappings:
Namespace Name Mixin selector official lLffh;l()Leyk;intermediary method_54804Lnet/minecraft/class_7944;method_54804()Lnet/minecraft/class_8133;named getLayoutLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;getLayout()Lnet/minecraft/client/gui/widget/LayoutWidget;
-
createOptInCheckbox
- Mappings:
Namespace Name Mixin selector official CLffh;C()Leux;intermediary method_54802Lnet/minecraft/class_7944;method_54802()Lnet/minecraft/class_339;named createOptInCheckboxLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;createOptInCheckbox()Lnet/minecraft/client/gui/widget/ClickableWidget;
-
updateOptIn
- Mappings:
Namespace Name Mixin selector official aLffh;a(Leux;Z)Vintermediary method_54803Lnet/minecraft/class_7944;method_54803(Lnet/minecraft/class_339;Z)Vnamed updateOptInLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;updateOptIn(Lnet/minecraft/client/gui/widget/ClickableWidget;Z)V
-
goBack
- Mappings:
Namespace Name Mixin selector official aLffh;a(Leuz;)Vintermediary method_47648Lnet/minecraft/class_7944;method_47648(Lnet/minecraft/class_4185;)Vnamed goBackLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;goBack(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
openPrivacyStatementPage
- Mappings:
Namespace Name Mixin selector official bLffh;b(Leuz;)Vintermediary method_52765Lnet/minecraft/class_7944;method_52765(Lnet/minecraft/class_4185;)Vnamed openPrivacyStatementPageLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;openPrivacyStatementPage(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
openFeedbackPage
- Mappings:
Namespace Name Mixin selector official cLffh;c(Leuz;)Vintermediary method_47650Lnet/minecraft/class_7944;method_47650(Lnet/minecraft/class_4185;)Vnamed openFeedbackPageLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;openFeedbackPage(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
openLogDirectory
- Mappings:
Namespace Name Mixin selector official dLffh;d(Leuz;)Vintermediary method_47651Lnet/minecraft/class_7944;method_47651(Lnet/minecraft/class_4185;)Vnamed openLogDirectoryLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;openLogDirectory(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
close
public void close() -
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 official bLfau;b(Leuo;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
createButtonRow
- Mappings:
Namespace Name Mixin selector official aLffh;a(Leux;Leux;)Leyi;intermediary method_47647Lnet/minecraft/class_7944;method_47647(Lnet/minecraft/class_339;Lnet/minecraft/class_339;)Lnet/minecraft/class_7845;named createButtonRowLnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;createButtonRow(Lnet/minecraft/client/gui/widget/ClickableWidget;Lnet/minecraft/client/gui/widget/ClickableWidget;)Lnet/minecraft/client/gui/widget/GridWidget;
-