net.minecraft.client.resources.server

public class DownloadedPackSource

implements AutoCloseable

gtc
net.minecraft.client.resources.server.DownloadedPackSource
net.minecraft.class_1066
net.minecraft.client.resource.server.ServerResourcePackLoader
net.minecraft.src.C_302037_

Field summary

Modifier and TypeField
private static final Component
a
SERVER_NAME
field_40562
SERVER_NAME_TEXT
f_303751_
private static final Pattern
b
SHA1
field_5296
SHA1_PATTERN
f_303252_
static final org.slf4j.Logger
c
LOGGER
field_5298
LOGGER
f_302532_
private static final RepositorySource
d
EMPTY_SOURCE
field_47593
NOOP_PROVIDER
f_302583_
private static final PackSelectionConfig
e
DOWNLOADED_PACK_SELECTION
field_49134
POSITION
f_314007_
private static final PackLoadFeedback
f
LOG_ONLY_FEEDBACK
field_47594
DEBUG_PACK_STATE_CHANGE_CALLBACK
f_303352_
final Minecraft
g
minecraft
field_47595
client
f_302229_
private RepositorySource
h
packSource
field_47596
packProvider
f_302893_
private PackReloadConfig$Callbacks
i
pendingReload
field_47597
reloadContext
f_302526_
final ServerPackManager
j
manager
field_47598
manager
f_302848_
private final DownloadQueue
k
downloadQueue
field_47599
downloader
f_303020_
private PackSource
l
packType
field_47600
packSource
f_303185_
PackLoadFeedback
m
packFeedback
field_47601
packStateChangeCallback
f_303843_
private int
n
packIdSerialNumber
field_47690
packIndex
f_303014_

Constructor summary

ModifierConstructor
public (Minecraft client, Path downloadsDirectory, GameConfig$UserData runArgs)

Method summary

Modifier and TypeMethod
HttpUtil$DownloadProgressListener
a(int arg0)
createDownloadNotifier(int arg0)
method_55515(int arg0)
createListener(int entryCount)
m_305402_(int arg0)
private PackDownloader
a(asl arg0, Executor arg1, fhb arg2, Proxy arg3)
createDownloader(DownloadQueue arg0, Executor arg1, User arg2, Proxy arg3)
method_55516(class_9028 arg0, Executor arg1, class_320 arg2, Proxy arg3)
createDownloadQueuer(Downloader downloader, Executor executor, Session session, Proxy proxy)
m_304744_(C_302050_ p_312902_, Executor p_312845_, C_3420_ p_312022_, Proxy arg3)
private Runnable
a(Executor arg0)
createUpdateScheduler(Executor arg0)
method_55525(Executor arg0)
createPackChangeCallback(Executor executor)
m_305401_(Executor arg0)
private PackReloadConfig
j()
createReloadConfig()
method_55542()
getReloadScheduler()
m_307112_()
private List<Pack>
a(List<gtf$b> arg0)
loadRequestedPacks(List<PackReloadConfig$IdAndPath> arg0)
method_55519(List<class_9041$class_9043> arg0)
toProfiles(List<ReloadScheduler$PackInfo> packs)
m_305771_(List<C_302168_$C_302084_> arg0)
public RepositorySource
a()
createRepositorySource()
method_55514()
getPassthroughPackProvider()
m_307233_()
private static RepositorySource
b(List<atm> arg0)
configureSource(List<Pack> arg0)
method_55531(List<class_3288> arg0)
getPackProvider(List<ResourcePackProfile> serverPacks)
m_305020_(List<C_58_> p_310649_)
private void
a(gtf$a arg0)
startReload(PackReloadConfig$Callbacks arg0)
method_55517(class_9041$class_9042 arg0)
reload(ReloadScheduler$ReloadContext context)
m_304661_(C_302168_$C_301893_ arg0)
public void
b()
onRecovery()
method_55530()
onReloadFailure()
m_306800_()
public void
c()
onRecoveryFailure()
method_55535()
onForcedReloadFailure()
m_307354_()
public void
d()
onReloadSuccess()
method_55536()
onReloadSuccess()
m_306059_()
private static com.google.common.hash.HashCode
a(String arg0)
tryParseSha1Hash(String arg0)
method_55518(String arg0)
toHashCode(String hash)
m_305140_(String p_312783_)
public void
a(UUID arg0, URL arg1, String arg2)
pushPack(UUID arg0, URL arg1, String arg2)
method_55523(UUID arg0, URL arg1, String arg2)
addResourcePack(UUID id, URL url, String hash)
m_304637_(UUID p_312716_, URL p_312757_, String arg2)
public void
a(UUID arg0, Path arg1)
pushLocalPack(UUID arg0, Path arg1)
method_55524(UUID arg0, Path arg1)
addResourcePack(UUID id, Path path)
m_306353_(UUID p_312255_, Path arg1)
public void
a(UUID arg0)
popPack(UUID arg0)
method_55520(UUID arg0)
remove(UUID id)
m_306043_(UUID arg0)
public void
e()
popAll()
method_55537()
removeAll()
m_304654_()
private static PackLoadFeedback
a(vt arg0)
createPackResponseSender(Connection arg0)
method_55527(class_2535 arg0)
getStateChangeCallback(ClientConnection connection)
m_307197_(C_4961_ p_312565_)
public void
a(vt arg0, gtg$c arg1)
configureForServerControl(Connection arg0, ServerPackManager$PackPromptStatus arg1)
method_55528(class_2535 arg0, class_9044$class_9047 arg1)
init(ClientConnection connection, ServerResourcePackManager$AcceptanceStatus acceptanceStatus)
m_305368_(C_4961_ p_309566_, C_302187_$C_301896_ arg1)
public void
f()
configureForLocalWorld()
method_55538()
initWorldPack()
m_306738_()
public void
g()
allowServerPacks()
method_55539()
acceptAll()
m_307345_()
public void
h()
rejectServerPacks()
method_55540()
declineAll()
m_306322_()
public CompletableFuture<Void>
b(UUID arg0)
waitForPackFeedback(UUID arg0)
method_55532(UUID arg0)
getPackLoadFuture(UUID id)
m_305490_(UUID arg0)
public void
i()
cleanupAfterDisconnect()
method_55541()
clear()
m_306775_()
public void
close()
close()
close()