Class ExperimentalWarningScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class ExperimentalWarningScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/pack/ExperimentalWarningScreen
intermediary net/minecraft/class_7745
official frt
  • Field Details

    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      named TITLE Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;TITLE:Lnet/minecraft/text/Text;
      intermediary field_40443 Lnet/minecraft/class_7745;field_40443:Lnet/minecraft/class_2561;
      official a Lfrt;a:Lxp;
    • MESSAGE

      private static final Text MESSAGE
      Mappings:
      Namespace Name Mixin selector
      named MESSAGE Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;MESSAGE:Lnet/minecraft/text/Text;
      intermediary field_40444 Lnet/minecraft/class_7745;field_40444:Lnet/minecraft/class_2561;
      official b Lfrt;b:Lxp;
    • DETAILS

      private static final Text DETAILS
      Mappings:
      Namespace Name Mixin selector
      named DETAILS Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;DETAILS:Lnet/minecraft/text/Text;
      intermediary field_40445 Lnet/minecraft/class_7745;field_40445:Lnet/minecraft/class_2561;
      official c Lfrt;c:Lxp;
    • field_42498

      private static final int field_42498
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42498 Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;field_42498:I
      intermediary field_42498 Lnet/minecraft/class_7745;field_42498:I
      official d Lfrt;d:I
    • field_42499

      private static final int field_42499
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42499 Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;field_42499:I
      intermediary field_42499 Lnet/minecraft/class_7745;field_42499:I
      official r Lfrt;r:I
    • callback

      private final BooleanConsumer callback
      Mappings:
      Namespace Name Mixin selector
      named callback Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      intermediary field_40447 Lnet/minecraft/class_7745;field_40447:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      official s Lfrt;s:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
    • enabledProfiles

      final Collection<ResourcePackProfile> enabledProfiles
      Mappings:
      Namespace Name Mixin selector
      named enabledProfiles Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;enabledProfiles:Ljava/util/Collection;
      intermediary field_40448 Lnet/minecraft/class_7745;field_40448:Ljava/util/Collection;
      official u Lfrt;u:Ljava/util/Collection;
    • grid

      private final GridWidget grid
      Mappings:
      Namespace Name Mixin selector
      named grid Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;grid:Lnet/minecraft/client/gui/widget/GridWidget;
      intermediary field_42500 Lnet/minecraft/class_7745;field_42500:Lnet/minecraft/class_7845;
      official v Lfrt;v:Lfks;
  • Constructor Details

    • ExperimentalWarningScreen

      public ExperimentalWarningScreen(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
      intermediary <init> Lnet/minecraft/class_7745;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
      official <init> Lfrt;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
  • Method Details

    • getNarratedTitle

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      named getNarratedTitle Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      official i Lfnf;i()Lxp;
    • 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() to set the element that is initially focused.

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

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lfnf;c()V
    • close

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