Class ResourcePackOrganizer

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

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

    • resourcePackManager

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

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

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

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

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

      private final Consumer<ResourcePackManager> applier
      Mappings:
      Namespace Name Mixin selector
      named applier Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;applier:Ljava/util/function/Consumer;
      intermediary field_25459 Lnet/minecraft/class_5369;field_25459:Ljava/util/function/Consumer;
      official f Lfxm;f: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
      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
      intermediary <init> Lnet/minecraft/class_5369;<init>(Ljava/lang/Runnable;Ljava/util/function/Function;Lnet/minecraft/class_3283;Ljava/util/function/Consumer;)V
      official <init> Lfxm;<init>(Ljava/lang/Runnable;Ljava/util/function/Function;Lavg;Ljava/util/function/Consumer;)V
  • Method Details

    • getDisabledPacks

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

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

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

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

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