net.minecraft.client.resources.server

public class ServerPackManager

gtg
net.minecraft.client.resources.server.ServerPackManager
net.minecraft.class_9044
net.minecraft.client.resource.server.ServerResourcePackManager
net.minecraft.src.C_302187_

Field summary

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

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()
m_307110_()
private void
b(UUID arg0)
markExistingPacksAsRemoved(UUID arg0)
method_55562(UUID arg0)
markReplaced(UUID id)
m_307975_(UUID arg0)
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)
m_307356_(UUID p_312710_, URL p_312316_, com.google.common.hash.HashCode arg2)
public void
a(UUID arg0, Path arg1)
pushLocalPack(UUID arg0, Path arg1)
method_55559(UUID arg0, Path arg1)
addResourcePack(UUID id, Path path)
m_306969_(UUID p_312014_, Path arg1)
private void
a(UUID arg0, gtg$e arg1)
pushNewPack(UUID arg0, ServerPackManager$ServerPackData arg1)
method_55557(UUID arg0, class_9044$class_9049 arg1)
onAdd(UUID id, ServerResourcePackManager$PackEntry pack)
m_305562_(UUID p_310310_, C_302187_$C_302181_ arg1)
private void
a(gtg$e arg0)
acceptPack(ServerPackManager$ServerPackData arg0)
method_55553(class_9044$class_9049 arg0)
accept(ServerResourcePackManager$PackEntry pack)
m_305809_(C_302187_$C_302181_ arg0)
private ServerPackManager$ServerPackData
c(UUID arg0)
findPackInfo(UUID arg0)
method_55564(UUID arg0)
get(UUID id)
m_307563_(UUID arg0)
public void
a(UUID arg0)
popPack(UUID arg0)
method_55556(UUID arg0)
remove(UUID id)
m_307735_(UUID arg0)
public void
a()
popAll()
method_55552()
removeAll()
m_304731_()
public void
b()
allowServerPacks()
method_55560()
acceptAll()
m_306539_()
public void
c()
rejectServerPacks()
method_55563()
declineAll()
m_305870_()
public void
d()
resetPromptStatus()
method_55565()
resetAcceptanceStatus()
m_305384_()
public void
e()
tick()
method_55566()
update()
m_307766_()
private void
g()
cleanupRemovedPacks()
method_55568()
removeInactivePacks()
m_307551_()
private void
a(Collection<gtg$e> arg0, asl$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)
m_307666_(Collection<C_302187_$C_302181_> p_312404_, C_302050_$C_302164_ arg1)
private boolean
h()
updateDownloads()
method_55569()
enqueueDownloads()
m_305887_()
private void
i()
triggerReloadIfNeeded()
method_55570()
applyDownloadedPacks()
m_307425_()