Class ExperimentsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class ExperimentsScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/ExperimentsScreen
intermediary net/minecraft/class_8134
official gsh
  • Field Details

    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      named TITLE Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;TITLE:Lnet/minecraft/text/Text;
      intermediary field_49562 Lnet/minecraft/class_8134;field_49562:Lnet/minecraft/class_2561;
      official a Lgsh;a:Lxx;
    • INFO_TEXT

      private static final Text INFO_TEXT
      Mappings:
      Namespace Name Mixin selector
      named INFO_TEXT Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;INFO_TEXT:Lnet/minecraft/text/Text;
      intermediary field_50043 Lnet/minecraft/class_8134;field_50043:Lnet/minecraft/class_2561;
      official b Lgsh;b:Lxx;
    • EXPERIMENTS_LIST_WIDTH

      private static final int EXPERIMENTS_LIST_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EXPERIMENTS_LIST_WIDTH Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;EXPERIMENTS_LIST_WIDTH:I
      intermediary field_42503 Lnet/minecraft/class_8134;field_42503:I
      official c Lgsh;c:I
    • EXPERIMENTS_LIST_HEIGHT

      private static final int EXPERIMENTS_LIST_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EXPERIMENTS_LIST_HEIGHT Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;EXPERIMENTS_LIST_HEIGHT:I
      intermediary field_55262 Lnet/minecraft/class_8134;field_55262:I
      official d Lgsh;d:I
    • experimentToggleList

      private final ThreePartsLayoutWidget experimentToggleList
      Mappings:
      Namespace Name Mixin selector
      named experimentToggleList Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;experimentToggleList:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_42504 Lnet/minecraft/class_8134;field_42504:Lnet/minecraft/class_8132;
      official e Lgsh;e:Lgjc;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_42505 Lnet/minecraft/class_8134;field_42505:Lnet/minecraft/class_437;
      official f Lgsh;f:Lgmj;
    • resourcePackManager

      private final ResourcePackManager resourcePackManager
      Mappings:
      Namespace Name Mixin selector
      named resourcePackManager Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;resourcePackManager:Lnet/minecraft/resource/ResourcePackManager;
      intermediary field_42506 Lnet/minecraft/class_8134;field_42506:Lnet/minecraft/class_3283;
      official t Lgsh;t:Lbaa;
    • applier

      private final Consumer<ResourcePackManager> applier
      Mappings:
      Namespace Name Mixin selector
      named applier Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;applier:Ljava/util/function/Consumer;
      intermediary field_42507 Lnet/minecraft/class_8134;field_42507:Ljava/util/function/Consumer;
      official u Lgsh;u:Ljava/util/function/Consumer;
    • experiments

      private final Object2BooleanMap<ResourcePackProfile> experiments
      Mappings:
      Namespace Name Mixin selector
      named experiments Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;experiments:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      intermediary field_42508 Lnet/minecraft/class_8134;field_42508:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      official v Lgsh;v:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
    • experimentsList

      @Nullable private @Nullable ScrollableLayoutWidget experimentsList
      Mappings:
      Namespace Name Mixin selector
      named experimentsList Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;experimentsList:Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget;
      intermediary field_55263 Lnet/minecraft/class_8134;field_55263:Lnet/minecraft/class_11467;
      official w Lgsh;w:Lgeu;
  • Constructor Details

    • ExperimentsScreen

      public ExperimentsScreen(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/resource/ResourcePackManager;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_8134;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3283;Ljava/util/function/Consumer;)V
      official <init> Lgsh;<init>(Lgmj;Lbaa;Ljava/util/function/Consumer;)V
  • Method Details

    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      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 bg_ Lgmj;bg_()V
    • getDataPackName

      private static Text getDataPackName(ResourcePackProfile packProfile)
      Mappings:
      Namespace Name Mixin selector
      named getDataPackName Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;getDataPackName(Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/text/Text;
      intermediary method_49016 Lnet/minecraft/class_8134;method_49016(Lnet/minecraft/class_3288;)Lnet/minecraft/class_2561;
      official a Lgsh;a(Lazx;)Lxx;
    • refreshWidgetPositions

      protected void refreshWidgetPositions()
      Overrides:
      refreshWidgetPositions in class Screen
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lgmj;c()V
    • 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 Lgmj;i()Lxx;
    • 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 aX_ Lgmj;aX_()V
    • applyAndClose

      private void applyAndClose()
      Mappings:
      Namespace Name Mixin selector
      named applyAndClose Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;applyAndClose()V
      intermediary method_49024 Lnet/minecraft/class_8134;method_49024()V
      official o Lgsh;o()V