Class ExperimentalWarningScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TITLE

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

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

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

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

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

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

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

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

    • ExperimentalWarningScreen

      public ExperimentalWarningScreen(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyz;<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
      named <init> Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;<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
      official au_ Leuq;au_()Lsw;
      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 b Leuq;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • initTabNavigation

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

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leqh;a(Leox;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • close

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