net.minecraft.client.resources.server

public class DownloadedPackSource

implements AutoCloseable

hhs
net.minecraft.client.resources.server.DownloadedPackSource
net.minecraft.class_1066
net.minecraft.client.resource.server.ServerResourcePackLoader

Field summary

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

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)
private PackDownloader
a(asx arg0, Executor arg1, flw 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)
private Runnable
a(Executor arg0)
createUpdateScheduler(Executor arg0)
method_55525(Executor arg0)
createPackChangeCallback(Executor executor)
private PackReloadConfig
j()
createReloadConfig()
method_55542()
getReloadScheduler()
private List<Pack>
a(List<hhv$b> arg0)
loadRequestedPacks(List<PackReloadConfig$IdAndPath> arg0)
method_55519(List<class_9041$class_9043> arg0)
toProfiles(List<ReloadScheduler$PackInfo> packs)
public RepositorySource
a()
createRepositorySource()
method_55514()
getPassthroughPackProvider()
private static RepositorySource
b(List<atx> arg0)
configureSource(List<Pack> arg0)
method_55531(List<class_3288> arg0)
getPackProvider(List<ResourcePackProfile> serverPacks)
private void
a(hhv$a arg0)
startReload(PackReloadConfig$Callbacks arg0)
method_55517(class_9041$class_9042 arg0)
reload(ReloadScheduler$ReloadContext context)
public void
b()
onRecovery()
method_55530()
onReloadFailure()
public void
c()
onRecoveryFailure()
method_55535()
onForcedReloadFailure()
public void
d()
onReloadSuccess()
method_55536()
onReloadSuccess()
private static com.google.common.hash.HashCode
a(String arg0)
tryParseSha1Hash(String arg0)
method_55518(String arg0)
toHashCode(String hash)
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)
public void
a(UUID arg0, Path arg1)
pushLocalPack(UUID arg0, Path arg1)
method_55524(UUID arg0, Path arg1)
addResourcePack(UUID id, Path path)
public void
a(UUID arg0)
popPack(UUID arg0)
method_55520(UUID arg0)
remove(UUID id)
public void
e()
popAll()
method_55537()
removeAll()
private static PackLoadFeedback
a(vi arg0)
createPackResponseSender(Connection arg0)
method_55527(class_2535 arg0)
getStateChangeCallback(ClientConnection connection)
public void
a(vi arg0, hhw$c arg1)
configureForServerControl(Connection arg0, ServerPackManager$PackPromptStatus arg1)
method_55528(class_2535 arg0, class_9044$class_9047 arg1)
init(ClientConnection connection, ServerResourcePackManager$AcceptanceStatus acceptanceStatus)
public void
f()
configureForLocalWorld()
method_55538()
initWorldPack()
public void
g()
allowServerPacks()
method_55539()
acceptAll()
public void
h()
rejectServerPacks()
method_55540()
declineAll()
public CompletableFuture<Void>
b(UUID arg0)
waitForPackFeedback(UUID arg0)
method_55532(UUID arg0)
getPackLoadFuture(UUID id)
public void
i()
cleanupAfterDisconnect()
method_55541()
clear()
public void
close()
close()