Class TelemetryInfoScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class TelemetryInfoScreen extends Screen
  • Field Details

    • PADDING

      private static final int PADDING
      See Also:
    • TITLE

      private static final Component TITLE
    • DESCRIPTION

      private static final Component DESCRIPTION
    • BUTTON_PRIVACY_STATEMENT

      private static final Component BUTTON_PRIVACY_STATEMENT
    • BUTTON_GIVE_FEEDBACK

      private static final Component BUTTON_GIVE_FEEDBACK
    • BUTTON_SHOW_DATA

      private static final Component BUTTON_SHOW_DATA
    • CHECKBOX_OPT_IN

      private static final Component CHECKBOX_OPT_IN
    • lastScreen

      private final Screen lastScreen
    • options

      private final Options options
    • telemetryEventWidget

      @Nullable private TelemetryEventWidget telemetryEventWidget
    • savedScroll

      private double savedScroll
  • Constructor Details

    • TelemetryInfoScreen

      public TelemetryInfoScreen(Screen p_261720_, Options p_262019_)
  • Method Details

    • getNarrationMessage

      public Component getNarrationMessage()
      Overrides:
      getNarrationMessage in class Screen
    • init

      protected void init()
      Overrides:
      init in class Screen
    • createLowerSection

      private Layout createLowerSection()
    • createTelemetryCheckbox

      private AbstractWidget createTelemetryCheckbox()
    • onOptInChanged

      private void onOptInChanged(AbstractWidget p_312236_, boolean p_309488_)
    • openLastScreen

      private void openLastScreen(Button p_261672_)
    • openPrivacyStatementLink

      private void openPrivacyStatementLink(Button p_297730_)
    • openFeedbackLink

      private void openFeedbackLink(Button p_261531_)
    • openDataFolder

      private void openDataFolder(Button p_261840_)
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • renderBackground

      public void renderBackground(GuiGraphics p_300267_, int p_300830_, int p_300478_, float p_297280_)
      Overrides:
      renderBackground in class Screen
    • twoButtonContainer

      private GridLayout twoButtonContainer(AbstractWidget p_265763_, AbstractWidget p_265710_)