Class ServerResourcePackManager

java.lang.Object
net.minecraft.client.resource.server.ServerResourcePackManager

@Environment(CLIENT) public class ServerResourcePackManager extends Object
Mappings:
Namespace Name
named net/minecraft/client/resource/server/ServerResourcePackManager
intermediary net/minecraft/class_9044
official hen
  • Field Details

    • queuer

      private final DownloadQueuer queuer
      Mappings:
      Namespace Name Mixin selector
      named queuer Lnet/minecraft/client/resource/server/ServerResourcePackManager;queuer:Lnet/minecraft/client/resource/server/DownloadQueuer;
      intermediary field_47629 Lnet/minecraft/class_9044;field_47629:Lnet/minecraft/class_9038;
      official a Lhen;a:Lhek;
    • stateChangeCallback

      final PackStateChangeCallback stateChangeCallback
      Mappings:
      Namespace Name Mixin selector
      named stateChangeCallback Lnet/minecraft/client/resource/server/ServerResourcePackManager;stateChangeCallback:Lnet/minecraft/client/resource/server/PackStateChangeCallback;
      intermediary field_47630 Lnet/minecraft/class_9044;field_47630:Lnet/minecraft/class_9039;
      official b Lhen;b:Lhel;
    • reloadScheduler

      private final ReloadScheduler reloadScheduler
      Mappings:
      Namespace Name Mixin selector
      named reloadScheduler Lnet/minecraft/client/resource/server/ServerResourcePackManager;reloadScheduler:Lnet/minecraft/client/resource/server/ReloadScheduler;
      intermediary field_47631 Lnet/minecraft/class_9044;field_47631:Lnet/minecraft/class_9041;
      official c Lhen;c:Lhem;
    • packChangeCallback

      private final Runnable packChangeCallback
      Mappings:
      Namespace Name Mixin selector
      named packChangeCallback Lnet/minecraft/client/resource/server/ServerResourcePackManager;packChangeCallback:Ljava/lang/Runnable;
      intermediary field_47632 Lnet/minecraft/class_9044;field_47632:Ljava/lang/Runnable;
      official d Lhen;d:Ljava/lang/Runnable;
    • acceptanceStatus

      Mappings:
      Namespace Name Mixin selector
      named acceptanceStatus Lnet/minecraft/client/resource/server/ServerResourcePackManager;acceptanceStatus:Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;
      intermediary field_47633 Lnet/minecraft/class_9044;field_47633:Lnet/minecraft/class_9044$class_9047;
      official e Lhen;e:Lhen$c;
    • packs

      Mappings:
      Namespace Name Mixin selector
      named packs Lnet/minecraft/client/resource/server/ServerResourcePackManager;packs:Ljava/util/List;
      intermediary field_47634 Lnet/minecraft/class_9044;field_47634:Ljava/util/List;
      official f Lhen;f:Ljava/util/List;
  • Constructor Details

    • ServerResourcePackManager

      public ServerResourcePackManager(DownloadQueuer queuer, PackStateChangeCallback stateChangeCallback, ReloadScheduler reloadScheduler, Runnable packChangeCallback, ServerResourcePackManager.AcceptanceStatus acceptanceStatus)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/resource/server/ServerResourcePackManager;<init>(Lnet/minecraft/client/resource/server/DownloadQueuer;Lnet/minecraft/client/resource/server/PackStateChangeCallback;Lnet/minecraft/client/resource/server/ReloadScheduler;Ljava/lang/Runnable;Lnet/minecraft/client/resource/server/ServerResourcePackManager$AcceptanceStatus;)V
      intermediary <init> Lnet/minecraft/class_9044;<init>(Lnet/minecraft/class_9038;Lnet/minecraft/class_9039;Lnet/minecraft/class_9041;Ljava/lang/Runnable;Lnet/minecraft/class_9044$class_9047;)V
      official <init> Lhen;<init>(Lhek;Lhel;Lhem;Ljava/lang/Runnable;Lhen$c;)V
  • Method Details

    • onPackChanged

      void onPackChanged()
      Mappings:
      Namespace Name Mixin selector
      named onPackChanged Lnet/minecraft/client/resource/server/ServerResourcePackManager;onPackChanged()V
      intermediary method_55567 Lnet/minecraft/class_9044;method_55567()V
      official f Lhen;f()V
    • markReplaced

      private void markReplaced(UUID id)
      Mappings:
      Namespace Name Mixin selector
      named markReplaced Lnet/minecraft/client/resource/server/ServerResourcePackManager;markReplaced(Ljava/util/UUID;)V
      intermediary method_55562 Lnet/minecraft/class_9044;method_55562(Ljava/util/UUID;)V
      official b Lhen;b(Ljava/util/UUID;)V
    • addResourcePack

      public void addResourcePack(UUID id, URL url, @Nullable @Nullable HashCode hashCode)
      Mappings:
      Namespace Name Mixin selector
      named addResourcePack Lnet/minecraft/client/resource/server/ServerResourcePackManager;addResourcePack(Ljava/util/UUID;Ljava/net/URL;Lcom/google/common/hash/HashCode;)V
      intermediary method_55558 Lnet/minecraft/class_9044;method_55558(Ljava/util/UUID;Ljava/net/URL;Lcom/google/common/hash/HashCode;)V
      official a Lhen;a(Ljava/util/UUID;Ljava/net/URL;Lcom/google/common/hash/HashCode;)V
    • addResourcePack

      public void addResourcePack(UUID id, Path path)
      Mappings:
      Namespace Name Mixin selector
      named addResourcePack Lnet/minecraft/client/resource/server/ServerResourcePackManager;addResourcePack(Ljava/util/UUID;Ljava/nio/file/Path;)V
      intermediary method_55559 Lnet/minecraft/class_9044;method_55559(Ljava/util/UUID;Ljava/nio/file/Path;)V
      official a Lhen;a(Ljava/util/UUID;Ljava/nio/file/Path;)V
    • onAdd

      private void onAdd(UUID id, ServerResourcePackManager.PackEntry pack)
      Mappings:
      Namespace Name Mixin selector
      named onAdd Lnet/minecraft/client/resource/server/ServerResourcePackManager;onAdd(Ljava/util/UUID;Lnet/minecraft/client/resource/server/ServerResourcePackManager$PackEntry;)V
      intermediary method_55557 Lnet/minecraft/class_9044;method_55557(Ljava/util/UUID;Lnet/minecraft/class_9044$class_9049;)V
      official a Lhen;a(Ljava/util/UUID;Lhen$e;)V
    • accept

      private void accept(ServerResourcePackManager.PackEntry pack)
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/client/resource/server/ServerResourcePackManager;accept(Lnet/minecraft/client/resource/server/ServerResourcePackManager$PackEntry;)V
      intermediary method_55553 Lnet/minecraft/class_9044;method_55553(Lnet/minecraft/class_9044$class_9049;)V
      official a Lhen;a(Lhen$e;)V
    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/resource/server/ServerResourcePackManager;get(Ljava/util/UUID;)Lnet/minecraft/client/resource/server/ServerResourcePackManager$PackEntry;
      intermediary method_55564 Lnet/minecraft/class_9044;method_55564(Ljava/util/UUID;)Lnet/minecraft/class_9044$class_9049;
      official c Lhen;c(Ljava/util/UUID;)Lhen$e;
    • remove

      public void remove(UUID id)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/client/resource/server/ServerResourcePackManager;remove(Ljava/util/UUID;)V
      intermediary method_55556 Lnet/minecraft/class_9044;method_55556(Ljava/util/UUID;)V
      official a Lhen;a(Ljava/util/UUID;)V
    • removeAll

      public void removeAll()
      Mappings:
      Namespace Name Mixin selector
      named removeAll Lnet/minecraft/client/resource/server/ServerResourcePackManager;removeAll()V
      intermediary method_55552 Lnet/minecraft/class_9044;method_55552()V
      official a Lhen;a()V
    • acceptAll

      public void acceptAll()
      Mappings:
      Namespace Name Mixin selector
      named acceptAll Lnet/minecraft/client/resource/server/ServerResourcePackManager;acceptAll()V
      intermediary method_55560 Lnet/minecraft/class_9044;method_55560()V
      official b Lhen;b()V
    • declineAll

      public void declineAll()
      Mappings:
      Namespace Name Mixin selector
      named declineAll Lnet/minecraft/client/resource/server/ServerResourcePackManager;declineAll()V
      intermediary method_55563 Lnet/minecraft/class_9044;method_55563()V
      official c Lhen;c()V
    • resetAcceptanceStatus

      public void resetAcceptanceStatus()
      Mappings:
      Namespace Name Mixin selector
      named resetAcceptanceStatus Lnet/minecraft/client/resource/server/ServerResourcePackManager;resetAcceptanceStatus()V
      intermediary method_55565 Lnet/minecraft/class_9044;method_55565()V
      official d Lhen;d()V
    • update

      public void update()
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/resource/server/ServerResourcePackManager;update()V
      intermediary method_55566 Lnet/minecraft/class_9044;method_55566()V
      official e Lhen;e()V
    • removeInactivePacks

      private void removeInactivePacks()
      Mappings:
      Namespace Name Mixin selector
      named removeInactivePacks Lnet/minecraft/client/resource/server/ServerResourcePackManager;removeInactivePacks()V
      intermediary method_55568 Lnet/minecraft/class_9044;method_55568()V
      official g Lhen;g()V
    • onDownload

      Mappings:
      Namespace Name Mixin selector
      named onDownload Lnet/minecraft/client/resource/server/ServerResourcePackManager;onDownload(Ljava/util/Collection;Lnet/minecraft/util/Downloader$DownloadResult;)V
      intermediary method_55554 Lnet/minecraft/class_9044;method_55554(Ljava/util/Collection;Lnet/minecraft/class_9028$class_9030;)V
      official a Lhen;a(Ljava/util/Collection;Laub$b;)V
    • enqueueDownloads

      private boolean enqueueDownloads()
      Mappings:
      Namespace Name Mixin selector
      named enqueueDownloads Lnet/minecraft/client/resource/server/ServerResourcePackManager;enqueueDownloads()Z
      intermediary method_55569 Lnet/minecraft/class_9044;method_55569()Z
      official h Lhen;h()Z
    • applyDownloadedPacks

      private void applyDownloadedPacks()
      Mappings:
      Namespace Name Mixin selector
      named applyDownloadedPacks Lnet/minecraft/client/resource/server/ServerResourcePackManager;applyDownloadedPacks()V
      intermediary method_55570 Lnet/minecraft/class_9044;method_55570()V
      official i Lhen;i()V