类 PackScreen

    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Lebx;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_25464 Lnet/minecraft/class_5375;field_25464:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/client/gui/screen/pack/PackScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
      • field_32395

        private static final int field_32395
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lebx;b:I
        intermediary field_32395 Lnet/minecraft/class_5375;field_32395:I
        named field_32395 Lnet/minecraft/client/gui/screen/pack/PackScreen;field_32395:I
      • DROP_INFO

        private static final Text DROP_INFO
        Mappings:
        Namespace Name Mixin selector
        official c Lebx;c:Lon;
        intermediary field_25465 Lnet/minecraft/class_5375;field_25465:Lnet/minecraft/class_2561;
        named DROP_INFO Lnet/minecraft/client/gui/screen/pack/PackScreen;DROP_INFO:Lnet/minecraft/text/Text;
      • FOLDER_INFO

        private static final Text FOLDER_INFO
        Mappings:
        Namespace Name Mixin selector
        official p Lebx;p:Lon;
        intermediary field_25466 Lnet/minecraft/class_5375;field_25466:Lnet/minecraft/class_2561;
        named FOLDER_INFO Lnet/minecraft/client/gui/screen/pack/PackScreen;FOLDER_INFO:Lnet/minecraft/text/Text;
      • field_32396

        private static final int field_32396
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official q Lebx;q:I
        intermediary field_32396 Lnet/minecraft/class_5375;field_32396:I
        named field_32396 Lnet/minecraft/client/gui/screen/pack/PackScreen;field_32396:I
      • UNKNOWN_PACK

        private static final Identifier UNKNOWN_PACK
        Mappings:
        Namespace Name Mixin selector
        official r Lebx;r:Lwp;
        intermediary field_25786 Lnet/minecraft/class_5375;field_25786:Lnet/minecraft/class_2960;
        named UNKNOWN_PACK Lnet/minecraft/client/gui/screen/pack/PackScreen;UNKNOWN_PACK:Lnet/minecraft/util/Identifier;
      • organizer

        private final ResourcePackOrganizer organizer
        Mappings:
        Namespace Name Mixin selector
        official s Lebx;s:Lebw;
        intermediary field_25468 Lnet/minecraft/class_5375;field_25468:Lnet/minecraft/class_5369;
        named organizer Lnet/minecraft/client/gui/screen/pack/PackScreen;organizer:Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;
      • parent

        private final Screen parent
        Mappings:
        Namespace Name Mixin selector
        official t Lebx;t:Ldzg;
        intermediary field_25469 Lnet/minecraft/class_5375;field_25469:Lnet/minecraft/class_437;
        named parent Lnet/minecraft/client/gui/screen/pack/PackScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      • directoryWatcher

        @Nullable
        private @Nullable PackScreen.DirectoryWatcher directoryWatcher
        Mappings:
        Namespace Name Mixin selector
        official u Lebx;u:Lebx$a;
        intermediary field_25787 Lnet/minecraft/class_5375;field_25787:Lnet/minecraft/class_5375$class_5426;
        named directoryWatcher Lnet/minecraft/client/gui/screen/pack/PackScreen;directoryWatcher:Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;
      • field_25788

        private long field_25788
        Mappings:
        Namespace Name Mixin selector
        official v Lebx;v:J
        intermediary field_25788 Lnet/minecraft/class_5375;field_25788:J
        named field_25788 Lnet/minecraft/client/gui/screen/pack/PackScreen;field_25788:J
      • availablePackList

        private PackListWidget availablePackList
        Mappings:
        Namespace Name Mixin selector
        official w Lebx;w:Leby;
        intermediary field_25472 Lnet/minecraft/class_5375;field_25472:Lnet/minecraft/class_521;
        named availablePackList Lnet/minecraft/client/gui/screen/pack/PackScreen;availablePackList:Lnet/minecraft/client/gui/screen/pack/PackListWidget;
      • selectedPackList

        private PackListWidget selectedPackList
        Mappings:
        Namespace Name Mixin selector
        official x Lebx;x:Leby;
        intermediary field_25473 Lnet/minecraft/class_5375;field_25473:Lnet/minecraft/class_521;
        named selectedPackList Lnet/minecraft/client/gui/screen/pack/PackScreen;selectedPackList:Lnet/minecraft/client/gui/screen/pack/PackListWidget;
      • file

        private final File file
        Mappings:
        Namespace Name Mixin selector
        official y Lebx;y:Ljava/io/File;
        intermediary field_25474 Lnet/minecraft/class_5375;field_25474:Ljava/io/File;
        named file Lnet/minecraft/client/gui/screen/pack/PackScreen;file:Ljava/io/File;
      • doneButton

        private ButtonWidget doneButton
        Mappings:
        Namespace Name Mixin selector
        official z Lebx;z:Ldvw;
        intermediary field_25475 Lnet/minecraft/class_5375;field_25475:Lnet/minecraft/class_4185;
        named doneButton Lnet/minecraft/client/gui/screen/pack/PackScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      • iconTextures

        private final Map<String,​Identifier> iconTextures
        Mappings:
        Namespace Name Mixin selector
        official A Lebx;A:Ljava/util/Map;
        intermediary field_25789 Lnet/minecraft/class_5375;field_25789:Ljava/util/Map;
        named iconTextures Lnet/minecraft/client/gui/screen/pack/PackScreen;iconTextures:Ljava/util/Map;
    • 构造器详细资料

      • PackScreen

        public PackScreen​(Screen parent,
                          ResourcePackManager packManager,
                          Consumer<ResourcePackManager> consumer,
                          File file,
                          Text title)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lebx;<init>(Ldzg;Lada;Ljava/util/function/Consumer;Ljava/io/File;Lon;)V
        intermediary <init> Lnet/minecraft/class_5375;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3283;Ljava/util/function/Consumer;Ljava/io/File;Lnet/minecraft/class_2561;)V
        named <init> Lnet/minecraft/client/gui/screen/pack/PackScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/resource/ResourcePackManager;Ljava/util/function/Consumer;Ljava/io/File;Lnet/minecraft/text/Text;)V
    • 方法详细资料

      • onClose

        public void onClose()
        覆盖:
        onClose 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official aA_ Ldzg;aA_()V
        intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
        named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()V
      • closeDirectoryWatcher

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

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

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

        覆盖:
        init 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official b Ldzg;b()V
        intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
        named init Lnet/minecraft/client/gui/screen/Screen;init()V
      • tick

        public void tick()
        指定者:
        tick 在接口中 TickableElement
        覆盖:
        tick 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official d Ldwp;d()V
        intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
        named tick Lnet/minecraft/client/gui/screen/TickableElement;tick()V
      • updatePackLists

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

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

        private void refresh()
        Mappings:
        Namespace Name Mixin selector
        official l Lebx;l()V
        intermediary method_29680 Lnet/minecraft/class_5375;method_29680()V
        named refresh Lnet/minecraft/client/gui/screen/pack/PackScreen;refresh()V
      • render

        public void render​(MatrixStack matrices,
                           int mouseX,
                           int mouseY,
                           float delta)
        指定者:
        render 在接口中 Drawable
        覆盖:
        render 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldws;a(Ldpi;IIF)V
        intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
        named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
      • copyPacks

        protected static void copyPacks​(MinecraftClient client,
                                        List<Path> srcPaths,
                                        Path destPath)
        Mappings:
        Namespace Name Mixin selector
        official a Lebx;a(Ldum;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
        named copyPacks Lnet/minecraft/client/gui/screen/pack/PackScreen;copyPacks(Lnet/minecraft/client/MinecraftClient;Ljava/util/List;Ljava/nio/file/Path;)V
      • filesDragged

        public void filesDragged​(List<Path> paths)
        覆盖:
        filesDragged 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldzg;a(Ljava/util/List;)V
        intermediary method_29638 Lnet/minecraft/class_437;method_29638(Ljava/util/List;)V
        named filesDragged Lnet/minecraft/client/gui/screen/Screen;filesDragged(Ljava/util/List;)V
      • loadPackIcon

        private Identifier loadPackIcon​(TextureManager textureManager,
                                        ResourcePackProfile resourcePackProfile)
        Mappings:
        Namespace Name Mixin selector
        official a Lebx;a(Lewe;Lacy;)Lwp;
        intermediary method_30289 Lnet/minecraft/class_5375;method_30289(Lnet/minecraft/class_1060;Lnet/minecraft/class_3288;)Lnet/minecraft/class_2960;
        named loadPackIcon Lnet/minecraft/client/gui/screen/pack/PackScreen;loadPackIcon(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/util/Identifier;
      • getPackIconTexture

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