Class ServerResourcePackManager

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

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

    • queuer

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

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

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

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

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

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

    • ServerResourcePackManager

      public ServerResourcePackManager(DownloadQueuer queuer, PackStateChangeCallback stateChangeCallback, ReloadScheduler reloadScheduler, Runnable packChangeCallback, ServerResourcePackManager.AcceptanceStatus acceptanceStatus)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lghg;<init>(Lghd;Lghe;Lghf;Ljava/lang/Runnable;Lghg$c;)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
      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
  • Method Details

    • onPackChanged

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

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

      public void addResourcePack(UUID id, URL url, @Nullable @Nullable HashCode hashCode)
      Mappings:
      Namespace Name Mixin selector
      official a Lghg;a(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
      named addResourcePack Lnet/minecraft/client/resource/server/ServerResourcePackManager;addResourcePack(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
      official a Lghg;a(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
      named addResourcePack Lnet/minecraft/client/resource/server/ServerResourcePackManager;addResourcePack(Ljava/util/UUID;Ljava/nio/file/Path;)V
    • onAdd

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

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

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

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

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

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

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

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

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

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

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

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

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