net.minecraft.client.resources.server

public class ServerPackManager

hhw
net.minecraft.client.resources.server.ServerPackManager
net.minecraft.class_9044
net.minecraft.client.resource.server.ServerResourcePackManager

Field summary

Modifier and TypeField
private final PackDownloader
a
downloader
field_47629
queuer
final PackLoadFeedback
b
packLoadFeedback
field_47630
stateChangeCallback
private final PackReloadConfig
c
reloadConfig
field_47631
reloadScheduler
private final Runnable
d
updateRequest
field_47632
packChangeCallback
private ServerPackManager$PackPromptStatus
e
packPromptStatus
field_47633
acceptanceStatus
final List<ServerPackManager$ServerPackData>
f
packs
field_47634
packs

Constructor summary

ModifierConstructor
public (PackDownloader queuer, PackLoadFeedback stateChangeCallback, PackReloadConfig reloadScheduler, Runnable packChangeCallback, ServerPackManager$PackPromptStatus acceptanceStatus)

Method summary

Modifier and TypeMethod
void
f()
registerForUpdate()
method_55567()
onPackChanged()
private void
b(UUID arg0)
markExistingPacksAsRemoved(UUID arg0)
method_55562(UUID arg0)
markReplaced(UUID id)
public void
a(UUID arg0, URL arg1, com.google.common.hash.HashCode arg2)
pushPack(UUID arg0, URL arg1, com.google.common.hash.HashCode arg2)
method_55558(UUID arg0, URL arg1, com.google.common.hash.HashCode arg2)
addResourcePack(UUID id, URL url, com.google.common.hash.HashCode hashCode)
public void
a(UUID arg0, Path arg1)
pushLocalPack(UUID arg0, Path arg1)
method_55559(UUID arg0, Path arg1)
addResourcePack(UUID id, Path path)
private void
a(UUID arg0, hhw$e arg1)
pushNewPack(UUID arg0, ServerPackManager$ServerPackData arg1)
method_55557(UUID arg0, class_9044$class_9049 arg1)
onAdd(UUID id, ServerResourcePackManager$PackEntry pack)
private void
a(hhw$e arg0)
acceptPack(ServerPackManager$ServerPackData arg0)
method_55553(class_9044$class_9049 arg0)
accept(ServerResourcePackManager$PackEntry pack)
private ServerPackManager$ServerPackData
c(UUID arg0)
findPackInfo(UUID arg0)
method_55564(UUID arg0)
get(UUID id)
public void
a(UUID arg0)
popPack(UUID arg0)
method_55556(UUID arg0)
remove(UUID id)
public void
a()
popAll()
method_55552()
removeAll()
public void
b()
allowServerPacks()
method_55560()
acceptAll()
public void
c()
rejectServerPacks()
method_55563()
declineAll()
public void
d()
resetPromptStatus()
method_55565()
resetAcceptanceStatus()
public void
e()
tick()
method_55566()
update()
private void
g()
cleanupRemovedPacks()
method_55568()
removeInactivePacks()
private void
a(Collection<hhw$e> arg0, asx$b arg1)
onDownload(Collection<ServerPackManager$ServerPackData> arg0, DownloadQueue$BatchResult arg1)
method_55554(Collection<class_9044$class_9049> arg0, class_9028$class_9030 arg1)
onDownload(Collection<ServerResourcePackManager$PackEntry> packs, Downloader$DownloadResult result)
private boolean
h()
updateDownloads()
method_55569()
enqueueDownloads()
private void
i()
triggerReloadIfNeeded()
method_55570()
applyDownloadedPacks()