net.minecraft.client.resources.server

public class DownloadedPackSource

implements AutoCloseable

gtc
net.minecraft.client.resources.server.DownloadedPackSource
net.minecraft.class_1066
net.minecraft.unmapped.C_aqwrwsxs
net.minecraft.client.resource.server.ServerResourcePackLoader
net.minecraft.client.resource.remote.RemoteResourcePackProvider
net.minecraft.src.C_302037_

Field summary

Modifier and TypeField
private static final Component
a
SERVER_NAME
field_40562
f_yicgvnrh
SERVER_NAME_TEXT
SERVER_RESOURCE_PACK_DESCRIPTION
f_303751_
private static final Pattern
b
SHA1
field_5296
f_amjzhjsb
SHA1_PATTERN
SHA1_PATTERN
f_303252_
static final org.slf4j.Logger
c
LOGGER
field_5298
f_mptjkbaj
LOGGER
LOGGER
f_302532_
private static final RepositorySource
d
EMPTY_SOURCE
field_47593
f_kbeypyri
NOOP_PROVIDER
EMPTY_PROVIDER
f_302583_
private static final PackSelectionConfig
e
DOWNLOADED_PACK_SELECTION
field_49134
f_toxcbfeq
POSITION
REMOTE_PACK_POSITION
f_314007_
private static final PackLoadFeedback
f
LOG_ONLY_FEEDBACK
field_47594
f_ylqgdhkx
DEBUG_PACK_STATE_CHANGE_CALLBACK
DEFAULT_FEEDBACK
f_303352_
final Minecraft
g
minecraft
field_47595
f_mqkoghac
client
client
f_302229_
private RepositorySource
h
packSource
field_47596
f_qleaebmu
packProvider
provider
f_302893_
private PackReloadConfig$Callbacks
i
pendingReload
field_47597
f_egouhokf
reloadContext
reloadCallback
f_302526_
final ServerPackManager
j
manager
field_47598
f_zgnnkpmh
manager
manager
f_302848_
private final DownloadQueue
k
downloadQueue
field_47599
f_piafedhd
downloader
downloadQueue
f_303020_
private PackSource
l
packType
field_47600
f_hujhcick
packSource
source
f_303185_
PackLoadFeedback
m
packFeedback
field_47601
f_xpbgeoqj
packStateChangeCallback
feedback
f_303843_
private int
n
packIdSerialNumber
field_47690
f_rhyfckxd
packIndex
createdProfiles
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)
m_ssxsctgx(int arg0)
createListener(int entryCount)
createDownloadListener(int packs)
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)
m_eeemykbc(C_bnlklfes arg0, Executor arg1, C_cwfizcnb arg2, Proxy arg3)
createDownloadQueuer(Downloader downloader, Executor executor, Session session, Proxy proxy)
createDownloader(DownloadQueue queue, 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)
m_xltnjuoo(Executor arg0)
createPackChangeCallback(Executor executor)
createUpdater(Executor executor)
m_305401_(Executor arg0)
private PackReloadConfig
j()
createReloadConfig()
method_55542()
m_cdtbbkyz()
getReloadScheduler()
onReload()
m_307112_()
private List<Pack>
a(List<gtf$b> arg0)
loadRequestedPacks(List<PackReloadConfig$IdAndPath> arg0)
method_55519(List<class_9041$class_9043> arg0)
m_bxgvtflp(List<C_mjfziaze$C_dcfbmdob> arg0)
toProfiles(List<ReloadScheduler$PackInfo> packs)
createProfiles(List<Reloader$PackInfo> list)
m_305771_(List<C_302168_$C_302084_> arg0)
public RepositorySource
a()
createRepositorySource()
method_55514()
m_xoqyphjf()
getPassthroughPackProvider()
createProvider()
m_307233_()
private static RepositorySource
b(List<atm> arg0)
configureSource(List<Pack> arg0)
method_55531(List<class_3288> arg0)
m_ahgmerhz(List<C_lvnjxuwi> arg0)
getPackProvider(List<ResourcePackProfile> serverPacks)
createProvider(List<PackProfile> obj)
m_305020_(List<C_58_> p_310649_)
private void
a(gtf$a arg0)
startReload(PackReloadConfig$Callbacks arg0)
method_55517(class_9041$class_9042 arg0)
m_lvunqimi(C_mjfziaze$C_waclobzb arg0)
reload(ReloadScheduler$ReloadContext context)
startReload(Reloader$ReloadCallback callback)
m_304661_(C_302168_$C_301893_ arg0)
public void
b()
onRecovery()
method_55530()
m_czvbqirs()
onReloadFailure()
reloadFailure()
m_306800_()
public void
c()
onRecoveryFailure()
method_55535()
m_gccxopjz()
onForcedReloadFailure()
reloadFromFailure()
m_307354_()
public void
d()
onReloadSuccess()
method_55536()
m_kneyvfit()
onReloadSuccess()
success()
m_306059_()
private static com.google.common.hash.HashCode
a(String arg0)
tryParseSha1Hash(String arg0)
method_55518(String arg0)
m_hzevtjal(String arg0)
toHashCode(String hash)
getSha1Hash(String input)
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)
m_iatgkirl(UUID arg0, URL arg1, String arg2)
addResourcePack(UUID id, URL url, String hash)
addPack(UUID uuid, URL url, String input)
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)
m_knzlaroh(UUID arg0, Path arg1)
addResourcePack(UUID id, Path path)
addLocalPack(UUID uuid, Path path)
m_306353_(UUID p_312255_, Path arg1)
public void
a(UUID arg0)
popPack(UUID arg0)
method_55520(UUID arg0)
m_soqkhjpf(UUID arg0)
remove(UUID id)
removePack(UUID uuid)
m_306043_(UUID arg0)
public void
e()
popAll()
method_55537()
m_rzyzxtfp()
removeAll()
removeAllPacks()
m_304654_()
private static PackLoadFeedback
a(vt arg0)
createPackResponseSender(Connection arg0)
method_55527(class_2535 arg0)
m_sgtcfimr(C_oasmcckk arg0)
getStateChangeCallback(ClientConnection connection)
createConnectionFeedback(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)
m_zmzqdgbf(C_oasmcckk arg0, C_wbxficvd$C_bdltmbkr arg1)
init(ClientConnection connection, ServerResourcePackManager$AcceptanceStatus acceptanceStatus)
initRemote(ClientConnection connection, RemotePackManager$PromptStatus status)
m_305368_(C_4961_ p_309566_, C_302187_$C_301896_ arg1)
public void
f()
configureForLocalWorld()
method_55538()
m_tnvfrmac()
initWorldPack()
initWorld()
m_306738_()
public void
g()
allowServerPacks()
method_55539()
m_scqhjkyv()
acceptAll()
acceptAll()
m_307345_()
public void
h()
rejectServerPacks()
method_55540()
m_whrfzbbp()
declineAll()
declineAll()
m_306322_()
public CompletableFuture<Void>
b(UUID arg0)
waitForPackFeedback(UUID arg0)
method_55532(UUID arg0)
m_jdpengrg(UUID arg0)
getPackLoadFuture(UUID id)
createDownloadedFuture(UUID uuid)
m_305490_(UUID arg0)
public void
i()
cleanupAfterDisconnect()
method_55541()
m_akhfcswe()
clear()
clear()
m_306775_()
public void
close()
close()
close()