Class ResourcePackOrganizer

java.lang.Object
net.minecraft.client.gui.screen.pack.ResourcePackOrganizer

@Environment(CLIENT) public class ResourcePackOrganizer extends Object
Mappings:
Namespace Name
official exd
intermediary net/minecraft/class_5369
named net/minecraft/client/gui/screen/pack/ResourcePackOrganizer
  • Field Details

    • resourcePackManager

      private final ResourcePackManager resourcePackManager
      Mappings:
      Namespace Name Mixin selector
      official a Lexd;a:Lakg;
      intermediary field_25626 Lnet/minecraft/class_5369;field_25626:Lnet/minecraft/class_3283;
      named resourcePackManager Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;resourcePackManager:Lnet/minecraft/resource/ResourcePackManager;
    • enabledPacks

      final List<ResourcePackProfile> enabledPacks
      Mappings:
      Namespace Name Mixin selector
      official b Lexd;b:Ljava/util/List;
      intermediary field_25455 Lnet/minecraft/class_5369;field_25455:Ljava/util/List;
      named enabledPacks Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;enabledPacks:Ljava/util/List;
    • disabledPacks

      final List<ResourcePackProfile> disabledPacks
      Mappings:
      Namespace Name Mixin selector
      official c Lexd;c:Ljava/util/List;
      intermediary field_25456 Lnet/minecraft/class_5369;field_25456:Ljava/util/List;
      named disabledPacks Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;disabledPacks:Ljava/util/List;
    • iconIdSupplier

      final Function<ResourcePackProfile,Identifier> iconIdSupplier
      Mappings:
      Namespace Name Mixin selector
      official d Lexd;d:Ljava/util/function/Function;
      intermediary field_25785 Lnet/minecraft/class_5369;field_25785:Ljava/util/function/Function;
      named iconIdSupplier Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;iconIdSupplier:Ljava/util/function/Function;
    • updateCallback

      final Runnable updateCallback
      Mappings:
      Namespace Name Mixin selector
      official e Lexd;e:Ljava/lang/Runnable;
      intermediary field_25458 Lnet/minecraft/class_5369;field_25458:Ljava/lang/Runnable;
      named updateCallback Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;updateCallback:Ljava/lang/Runnable;
    • applier

      private final Consumer<ResourcePackManager> applier
      Mappings:
      Namespace Name Mixin selector
      official f Lexd;f:Ljava/util/function/Consumer;
      intermediary field_25459 Lnet/minecraft/class_5369;field_25459:Ljava/util/function/Consumer;
      named applier Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;applier:Ljava/util/function/Consumer;
  • Constructor Details

    • ResourcePackOrganizer

      public ResourcePackOrganizer(Runnable updateCallback, Function<ResourcePackProfile,Identifier> iconIdSupplier, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexd;<init>(Ljava/lang/Runnable;Ljava/util/function/Function;Lakg;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_5369;<init>(Ljava/lang/Runnable;Ljava/util/function/Function;Lnet/minecraft/class_3283;Ljava/util/function/Consumer;)V
      named <init> Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;<init>(Ljava/lang/Runnable;Ljava/util/function/Function;Lnet/minecraft/resource/ResourcePackManager;Ljava/util/function/Consumer;)V
  • Method Details

    • getDisabledPacks

      public Stream<ResourcePackOrganizer.Pack> getDisabledPacks()
      Mappings:
      Namespace Name Mixin selector
      official a Lexd;a()Ljava/util/stream/Stream;
      intermediary method_29639 Lnet/minecraft/class_5369;method_29639()Ljava/util/stream/Stream;
      named getDisabledPacks Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;getDisabledPacks()Ljava/util/stream/Stream;
    • getEnabledPacks

      public Stream<ResourcePackOrganizer.Pack> getEnabledPacks()
      Mappings:
      Namespace Name Mixin selector
      official b Lexd;b()Ljava/util/stream/Stream;
      intermediary method_29643 Lnet/minecraft/class_5369;method_29643()Ljava/util/stream/Stream;
      named getEnabledPacks Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;getEnabledPacks()Ljava/util/stream/Stream;
    • refreshEnabledProfiles

      void refreshEnabledProfiles()
      Mappings:
      Namespace Name Mixin selector
      official e Lexd;e()V
      intermediary method_49627 Lnet/minecraft/class_5369;method_49627()V
      named refreshEnabledProfiles Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;refreshEnabledProfiles()V
    • apply

      public void apply()
      Mappings:
      Namespace Name Mixin selector
      official c Lexd;c()V
      intermediary method_29642 Lnet/minecraft/class_5369;method_29642()V
      named apply Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;apply()V
    • refresh

      public void refresh()
      Mappings:
      Namespace Name Mixin selector
      official d Lexd;d()V
      intermediary method_29981 Lnet/minecraft/class_5369;method_29981()V
      named refresh Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;refresh()V