Class TelemetryInfoScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class TelemetryInfoScreen extends Screen
Mappings:
Namespace Name
official fho
intermediary net/minecraft/class_7944
named net/minecraft/client/gui/screen/option/TelemetryInfoScreen
  • Field Details

    • MARGIN

      private static final int MARGIN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a:I
      intermediary field_41367 Lnet/minecraft/class_7944;field_41367:I
      named MARGIN Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;MARGIN:I
    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lfho;b:Lvf;
      intermediary field_41369 Lnet/minecraft/class_7944;field_41369:Lnet/minecraft/class_2561;
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
    • DESCRIPTION_TEXT

      private static final Text DESCRIPTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Lfho;c:Lvf;
      intermediary field_41370 Lnet/minecraft/class_7944;field_41370:Lnet/minecraft/class_2561;
      named DESCRIPTION_TEXT Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
    • PRIVACY_STATEMENT_TEXT

      private static final Text PRIVACY_STATEMENT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official k Lfho;k:Lvf;
      intermediary field_45567 Lnet/minecraft/class_7944;field_45567:Lnet/minecraft/class_2561;
      named PRIVACY_STATEMENT_TEXT Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;PRIVACY_STATEMENT_TEXT:Lnet/minecraft/text/Text;
    • GIVE_FEEDBACK_TEXT

      private static final Text GIVE_FEEDBACK_TEXT
      Mappings:
      Namespace Name Mixin selector
      official l Lfho;l:Lvf;
      intermediary field_41371 Lnet/minecraft/class_7944;field_41371:Lnet/minecraft/class_2561;
      named GIVE_FEEDBACK_TEXT Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;GIVE_FEEDBACK_TEXT:Lnet/minecraft/text/Text;
    • SHOW_DATA_TEXT

      private static final Text SHOW_DATA_TEXT
      Mappings:
      Namespace Name Mixin selector
      official m Lfho;m:Lvf;
      intermediary field_41372 Lnet/minecraft/class_7944;field_41372:Lnet/minecraft/class_2561;
      named SHOW_DATA_TEXT Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;SHOW_DATA_TEXT:Lnet/minecraft/text/Text;
    • OPT_IN_DESCRIPTION_TEXT

      private static final Text OPT_IN_DESCRIPTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official n Lfho;n:Lvf;
      intermediary field_47126 Lnet/minecraft/class_7944;field_47126:Lnet/minecraft/class_2561;
      named OPT_IN_DESCRIPTION_TEXT Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;OPT_IN_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official o Lfho;o:Lfdb;
      intermediary field_41373 Lnet/minecraft/class_7944;field_41373:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • options

      private final GameOptions options
      Mappings:
      Namespace Name Mixin selector
      official p Lfho;p:Levm;
      intermediary field_41374 Lnet/minecraft/class_7944;field_41374:Lnet/minecraft/class_315;
      named options Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;options:Lnet/minecraft/client/option/GameOptions;
    • telemetryEventWidget

      @Nullable private @Nullable TelemetryEventWidget telemetryEventWidget
      Mappings:
      Namespace Name Mixin selector
      official q Lfho;q:Lfhn;
      intermediary field_41375 Lnet/minecraft/class_7944;field_41375:Lnet/minecraft/class_7941;
      named telemetryEventWidget Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;telemetryEventWidget:Lnet/minecraft/client/gui/screen/option/TelemetryEventWidget;
    • scroll

      private double scroll
      Mappings:
      Namespace Name Mixin selector
      official r Lfho;r:D
      intermediary field_41376 Lnet/minecraft/class_7944;field_41376:D
      named scroll Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;scroll:D
  • Constructor Details

    • TelemetryInfoScreen

      public TelemetryInfoScreen(Screen parent, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfho;<init>(Lfdb;Levm;)V
      intermediary <init> Lnet/minecraft/class_7944;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      named <init> Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
  • Method Details

    • getNarratedTitle

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      official h Lfdb;h()Lvf;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      named getNarratedTitle Lnet/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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aN_ Lfdb;aN_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • getLayout

      private LayoutWidget getLayout()
      Mappings:
      Namespace Name Mixin selector
      official n Lfho;n()Lfar;
      intermediary method_54804 Lnet/minecraft/class_7944;method_54804()Lnet/minecraft/class_8133;
      named getLayout Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;getLayout()Lnet/minecraft/client/gui/widget/LayoutWidget;
    • createOptInCheckbox

      private ClickableWidget createOptInCheckbox()
      Mappings:
      Namespace Name Mixin selector
      official D Lfho;D()Lexe;
      intermediary method_54802 Lnet/minecraft/class_7944;method_54802()Lnet/minecraft/class_339;
      named createOptInCheckbox Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;createOptInCheckbox()Lnet/minecraft/client/gui/widget/ClickableWidget;
    • updateOptIn

      private void updateOptIn(ClickableWidget checkbox, boolean checked)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lexe;Z)V
      intermediary method_54803 Lnet/minecraft/class_7944;method_54803(Lnet/minecraft/class_339;Z)V
      named updateOptIn Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;updateOptIn(Lnet/minecraft/client/gui/widget/ClickableWidget;Z)V
    • goBack

      private void goBack(ButtonWidget button)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lexg;)V
      intermediary method_47648 Lnet/minecraft/class_7944;method_47648(Lnet/minecraft/class_4185;)V
      named goBack Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;goBack(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • openPrivacyStatementPage

      private void openPrivacyStatementPage(ButtonWidget button)
      Mappings:
      Namespace Name Mixin selector
      official b Lfho;b(Lexg;)V
      intermediary method_52765 Lnet/minecraft/class_7944;method_52765(Lnet/minecraft/class_4185;)V
      named openPrivacyStatementPage Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;openPrivacyStatementPage(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • openFeedbackPage

      private void openFeedbackPage(ButtonWidget button)
      Mappings:
      Namespace Name Mixin selector
      official c Lfho;c(Lexg;)V
      intermediary method_47650 Lnet/minecraft/class_7944;method_47650(Lnet/minecraft/class_4185;)V
      named openFeedbackPage Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;openFeedbackPage(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • openLogDirectory

      private void openLogDirectory(ButtonWidget button)
      Mappings:
      Namespace Name Mixin selector
      official d Lfho;d(Lexg;)V
      intermediary method_47651 Lnet/minecraft/class_7944;method_47651(Lnet/minecraft/class_4185;)V
      named openLogDirectory Lnet/minecraft/client/gui/screen/option/TelemetryInfoScreen;openLogDirectory(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aE_ Lfdb;aE_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lfdb;b(Lewu;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • createButtonRow

      private GridWidget createButtonRow(ClickableWidget left, ClickableWidget right)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lexe;Lexe;)Lfap;
      intermediary method_47647 Lnet/minecraft/class_7944;method_47647(Lnet/minecraft/class_339;Lnet/minecraft/class_339;)Lnet/minecraft/class_7845;
      named createButtonRow Lnet/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;