Class ServerResourcePackManager
java.lang.Object
net.minecraft.client.resource.server.ServerResourcePackManager
- Mappings:
Namespace Name named net/minecraft/client/resource/server/ServerResourcePackManager
intermediary net/minecraft/class_9044
official gsz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
private static enum
private static enum
private static class
private static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Runnable
(package private) final List
<ServerResourcePackManager.PackEntry> private final DownloadQueuer
private final ReloadScheduler
(package private) final PackStateChangeCallback
-
Constructor Summary
ConstructorDescriptionServerResourcePackManager
(DownloadQueuer queuer, PackStateChangeCallback stateChangeCallback, ReloadScheduler reloadScheduler, Runnable packChangeCallback, ServerResourcePackManager.AcceptanceStatus acceptanceStatus) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
void
addResourcePack
(UUID id, URL url, @Nullable HashCode hashCode) void
addResourcePack
(UUID id, Path path) private void
void
private boolean
private void
markReplaced
(UUID id) private void
onAdd
(UUID id, ServerResourcePackManager.PackEntry pack) private void
(package private) void
void
void
private void
void
void
update()
-
Field Details
-
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
Lgsz;a:Lgsw;
-
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
Lgsz;b:Lgsx;
-
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
Lgsz;c:Lgsy;
-
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
Lgsz;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
Lgsz;e:Lgsz$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
Lgsz;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>
Lgsz;<init>(Lgsw;Lgsx;Lgsy;Ljava/lang/Runnable;Lgsz$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
Lgsz;f()V
-
markReplaced
- 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
Lgsz;b(Ljava/util/UUID;)V
-
addResourcePack
- 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
Lgsz;a(Ljava/util/UUID;Ljava/net/URL;Lcom/google/common/hash/HashCode;)V
-
addResourcePack
- 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
Lgsz;a(Ljava/util/UUID;Ljava/nio/file/Path;)V
-
onAdd
- 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
Lgsz;a(Ljava/util/UUID;Lgsz$e;)V
-
accept
- 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
Lgsz;a(Lgsz$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
Lgsz;c(Ljava/util/UUID;)Lgsz$e;
-
remove
- 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
Lgsz;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
Lgsz;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
Lgsz;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
Lgsz;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
Lgsz;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
Lgsz;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
Lgsz;g()V
-
onDownload
private void onDownload(Collection<ServerResourcePackManager.PackEntry> packs, Downloader.DownloadResult result) - 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
Lgsz;a(Ljava/util/Collection;Lask$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
Lgsz;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
Lgsz;i()V
-