Class PackScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class PackScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/pack/PackScreen
intermediary net/minecraft/class_5375
official fyc
  • Field Details Link icon

    • LOGGER Link icon

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/gui/screen/pack/PackScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_25464 Lnet/minecraft/class_5375;field_25464:Lorg/slf4j/Logger;
      official a Lfyc;a:Lorg/slf4j/Logger;
    • AVAILABLE_TITLE Link icon

      private static final Text AVAILABLE_TITLE
      Mappings:
      Namespace Name Mixin selector
      named AVAILABLE_TITLE Lnet/minecraft/client/gui/screen/pack/PackScreen;AVAILABLE_TITLE:Lnet/minecraft/text/Text;
      intermediary field_49541 Lnet/minecraft/class_5375;field_49541:Lnet/minecraft/class_2561;
      official b Lfyc;b:Lwp;
    • SELECTED_TITLE Link icon

      private static final Text SELECTED_TITLE
      Mappings:
      Namespace Name Mixin selector
      named SELECTED_TITLE Lnet/minecraft/client/gui/screen/pack/PackScreen;SELECTED_TITLE:Lnet/minecraft/text/Text;
      intermediary field_49542 Lnet/minecraft/class_5375;field_49542:Lnet/minecraft/class_2561;
      official c Lfyc;c:Lwp;
    • OPEN_FOLDER Link icon

      private static final Text OPEN_FOLDER
      Mappings:
      Namespace Name Mixin selector
      named OPEN_FOLDER Lnet/minecraft/client/gui/screen/pack/PackScreen;OPEN_FOLDER:Lnet/minecraft/text/Text;
      intermediary field_49543 Lnet/minecraft/class_5375;field_49543:Lnet/minecraft/class_2561;
      official d Lfyc;d:Lwp;
    • field_32395 Link icon

      private static final int field_32395
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32395 Lnet/minecraft/client/gui/screen/pack/PackScreen;field_32395:I
      intermediary field_32395 Lnet/minecraft/class_5375;field_32395:I
      official s Lfyc;s:I
    • DROP_INFO Link icon

      private static final Text DROP_INFO
      Mappings:
      Namespace Name Mixin selector
      named DROP_INFO Lnet/minecraft/client/gui/screen/pack/PackScreen;DROP_INFO:Lnet/minecraft/text/Text;
      intermediary field_25465 Lnet/minecraft/class_5375;field_25465:Lnet/minecraft/class_2561;
      official u Lfyc;u:Lwp;
    • FOLDER_INFO Link icon

      private static final Text FOLDER_INFO
      Mappings:
      Namespace Name Mixin selector
      named FOLDER_INFO Lnet/minecraft/client/gui/screen/pack/PackScreen;FOLDER_INFO:Lnet/minecraft/text/Text;
      intermediary field_25466 Lnet/minecraft/class_5375;field_25466:Lnet/minecraft/class_2561;
      official v Lfyc;v:Lwp;
    • field_32396 Link icon

      private static final int field_32396
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32396 Lnet/minecraft/client/gui/screen/pack/PackScreen;field_32396:I
      intermediary field_32396 Lnet/minecraft/class_5375;field_32396:I
      official w Lfyc;w:I
    • UNKNOWN_PACK Link icon

      private static final Identifier UNKNOWN_PACK
      Mappings:
      Namespace Name Mixin selector
      named UNKNOWN_PACK Lnet/minecraft/client/gui/screen/pack/PackScreen;UNKNOWN_PACK:Lnet/minecraft/util/Identifier;
      intermediary field_25786 Lnet/minecraft/class_5375;field_25786:Lnet/minecraft/class_2960;
      official x Lfyc;x:Lakv;
    • layout Link icon

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/pack/PackScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49544 Lnet/minecraft/class_5375;field_49544:Lnet/minecraft/class_8132;
      official y Lfyc;y:Lfsi;
    • organizer Link icon

      private final ResourcePackOrganizer organizer
      Mappings:
      Namespace Name Mixin selector
      named organizer Lnet/minecraft/client/gui/screen/pack/PackScreen;organizer:Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;
      intermediary field_25468 Lnet/minecraft/class_5375;field_25468:Lnet/minecraft/class_5369;
      official z Lfyc;z:Lfyb;
    • directoryWatcher Link icon

      Mappings:
      Namespace Name Mixin selector
      named directoryWatcher Lnet/minecraft/client/gui/screen/pack/PackScreen;directoryWatcher:Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;
      intermediary field_25787 Lnet/minecraft/class_5375;field_25787:Lnet/minecraft/class_5375$class_5426;
      official A Lfyc;A:Lfyc$a;
    • refreshTimeout Link icon

      private long refreshTimeout
      Mappings:
      Namespace Name Mixin selector
      named refreshTimeout Lnet/minecraft/client/gui/screen/pack/PackScreen;refreshTimeout:J
      intermediary field_25788 Lnet/minecraft/class_5375;field_25788:J
      official B Lfyc;B:J
    • availablePackList Link icon

      private PackListWidget availablePackList
      Mappings:
      Namespace Name Mixin selector
      named availablePackList Lnet/minecraft/client/gui/screen/pack/PackScreen;availablePackList:Lnet/minecraft/client/gui/screen/pack/PackListWidget;
      intermediary field_25472 Lnet/minecraft/class_5375;field_25472:Lnet/minecraft/class_521;
      official C Lfyc;C:Lfyd;
    • selectedPackList Link icon

      private PackListWidget selectedPackList
      Mappings:
      Namespace Name Mixin selector
      named selectedPackList Lnet/minecraft/client/gui/screen/pack/PackScreen;selectedPackList:Lnet/minecraft/client/gui/screen/pack/PackListWidget;
      intermediary field_25473 Lnet/minecraft/class_5375;field_25473:Lnet/minecraft/class_521;
      official D Lfyc;D:Lfyd;
    • file Link icon

      private final Path file
      Mappings:
      Namespace Name Mixin selector
      named file Lnet/minecraft/client/gui/screen/pack/PackScreen;file:Ljava/nio/file/Path;
      intermediary field_25474 Lnet/minecraft/class_5375;field_25474:Ljava/nio/file/Path;
      official E Lfyc;E:Ljava/nio/file/Path;
    • doneButton Link icon

      private ButtonWidget doneButton
      Mappings:
      Namespace Name Mixin selector
      named doneButton Lnet/minecraft/client/gui/screen/pack/PackScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_25475 Lnet/minecraft/class_5375;field_25475:Lnet/minecraft/class_4185;
      official F Lfyc;F:Lfou;
    • iconTextures Link icon

      private final Map<String,Identifier> iconTextures
      Mappings:
      Namespace Name Mixin selector
      named iconTextures Lnet/minecraft/client/gui/screen/pack/PackScreen;iconTextures:Ljava/util/Map;
      intermediary field_25789 Lnet/minecraft/class_5375;field_25789:Ljava/util/Map;
      official G Lfyc;G:Ljava/util/Map;
  • Constructor Details Link icon

    • PackScreen Link icon

      public PackScreen(ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier, Path file, Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/pack/PackScreen;<init>(Lnet/minecraft/resource/ResourcePackManager;Ljava/util/function/Consumer;Ljava/nio/file/Path;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_5375;<init>(Lnet/minecraft/class_3283;Ljava/util/function/Consumer;Ljava/nio/file/Path;Lnet/minecraft/class_2561;)V
      official <init> Lfyc;<init>(Laua;Ljava/util/function/Consumer;Ljava/nio/file/Path;Lwp;)V
  • Method Details Link icon

    • close Link icon

      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 aO_ Lfum;aO_()V
    • closeDirectoryWatcher Link icon

      private void closeDirectoryWatcher()
      Mappings:
      Namespace Name Mixin selector
      named closeDirectoryWatcher Lnet/minecraft/client/gui/screen/pack/PackScreen;closeDirectoryWatcher()V
      intermediary method_30291 Lnet/minecraft/class_5375;method_30291()V
      official E Lfyc;E()V
    • init Link icon

      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 aR_ Lfum;aR_()V
    • refreshWidgetPositions Link icon

      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 Lfum;c()V
    • tick Link icon

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lfum;e()V
    • updatePackLists Link icon

      private void updatePackLists()
      Mappings:
      Namespace Name Mixin selector
      named updatePackLists Lnet/minecraft/client/gui/screen/pack/PackScreen;updatePackLists()V
      intermediary method_29678 Lnet/minecraft/class_5375;method_29678()V
      official F Lfyc;F()V
    • updatePackList Link icon

      private void updatePackList(PackListWidget widget, Stream<ResourcePackOrganizer.Pack> packs)
      Mappings:
      Namespace Name Mixin selector
      named updatePackList Lnet/minecraft/client/gui/screen/pack/PackScreen;updatePackList(Lnet/minecraft/client/gui/screen/pack/PackListWidget;Ljava/util/stream/Stream;)V
      intermediary method_29673 Lnet/minecraft/class_5375;method_29673(Lnet/minecraft/class_521;Ljava/util/stream/Stream;)V
      official a Lfyc;a(Lfyd;Ljava/util/stream/Stream;)V
    • switchFocusedList Link icon

      public void switchFocusedList(PackListWidget listWidget)
      Mappings:
      Namespace Name Mixin selector
      named switchFocusedList Lnet/minecraft/client/gui/screen/pack/PackScreen;switchFocusedList(Lnet/minecraft/client/gui/screen/pack/PackListWidget;)V
      intermediary method_48277 Lnet/minecraft/class_5375;method_48277(Lnet/minecraft/class_521;)V
      official a Lfyc;a(Lfyd;)V
    • clearSelection Link icon

      public void clearSelection()
      Mappings:
      Namespace Name Mixin selector
      named clearSelection Lnet/minecraft/client/gui/screen/pack/PackScreen;clearSelection()V
      intermediary method_48278 Lnet/minecraft/class_5375;method_48278()V
      official m Lfyc;m()V
    • refresh Link icon

      private void refresh()
      Mappings:
      Namespace Name Mixin selector
      named refresh Lnet/minecraft/client/gui/screen/pack/PackScreen;refresh()V
      intermediary method_29680 Lnet/minecraft/class_5375;method_29680()V
      official G Lfyc;G()V
    • copyPacks Link icon

      protected static void copyPacks(MinecraftClient client, List<Path> srcPaths, Path destPath)
      Mappings:
      Namespace Name Mixin selector
      named copyPacks Lnet/minecraft/client/gui/screen/pack/PackScreen;copyPacks(Lnet/minecraft/client/MinecraftClient;Ljava/util/List;Ljava/nio/file/Path;)V
      intermediary method_29669 Lnet/minecraft/class_5375;method_29669(Lnet/minecraft/class_310;Ljava/util/List;Ljava/nio/file/Path;)V
      official a Lfyc;a(Lflk;Ljava/util/List;Ljava/nio/file/Path;)V
    • onFilesDropped Link icon

      public void onFilesDropped(List<Path> paths)
      Overrides:
      onFilesDropped in class Screen
      Mappings:
      Namespace Name Mixin selector
      named onFilesDropped Lnet/minecraft/client/gui/screen/Screen;onFilesDropped(Ljava/util/List;)V
      intermediary method_29638 Lnet/minecraft/class_437;method_29638(Ljava/util/List;)V
      official a Lfum;a(Ljava/util/List;)V
    • streamFileNames Link icon

      private static Stream<String> streamFileNames(Collection<Path> paths)
      Mappings:
      Namespace Name Mixin selector
      named streamFileNames Lnet/minecraft/client/gui/screen/pack/PackScreen;streamFileNames(Ljava/util/Collection;)Ljava/util/stream/Stream;
      intermediary method_52760 Lnet/minecraft/class_5375;method_52760(Ljava/util/Collection;)Ljava/util/stream/Stream;
      official a Lfyc;a(Ljava/util/Collection;)Ljava/util/stream/Stream;
    • loadPackIcon Link icon

      private Identifier loadPackIcon(TextureManager textureManager, ResourcePackProfile resourcePackProfile)
      Mappings:
      Namespace Name Mixin selector
      named loadPackIcon Lnet/minecraft/client/gui/screen/pack/PackScreen;loadPackIcon(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/util/Identifier;
      intermediary method_30289 Lnet/minecraft/class_5375;method_30289(Lnet/minecraft/class_1060;Lnet/minecraft/class_3288;)Lnet/minecraft/class_2960;
      official a Lfyc;a(Lhev;Latx;)Lakv;
    • getPackIconTexture Link icon

      private Identifier getPackIconTexture(ResourcePackProfile resourcePackProfile)
      Mappings:
      Namespace Name Mixin selector
      named getPackIconTexture Lnet/minecraft/client/gui/screen/pack/PackScreen;getPackIconTexture(Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/util/Identifier;
      intermediary method_30287 Lnet/minecraft/class_5375;method_30287(Lnet/minecraft/class_3288;)Lnet/minecraft/class_2960;
      official a Lfyc;a(Latx;)Lakv;