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 gru
  • 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 Lgru;a:Lgrr;
    • 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 Lgru;b:Lgrs;
    • 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 Lgru;c:Lgrt;
    • 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 Lgru;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 Lgru;e:Lgru$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 Lgru;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> Lgru;<init>(Lgrr;Lgrs;Lgrt;Ljava/lang/Runnable;Lgru$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 Lgru;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 Lgru;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 Lgru;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 Lgru;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 Lgru;a(Ljava/util/UUID;Lgru$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 Lgru;a(Lgru$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 Lgru;c(Ljava/util/UUID;)Lgru$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 Lgru;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 Lgru;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 Lgru;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 Lgru;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 Lgru;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 Lgru;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 Lgru;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 Lgru;a(Ljava/util/Collection;Lasw$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 Lgru;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 Lgru;i()V