net.minecraft.client.resource

public class ClientBuiltinResourcePackProvider

implements ResourcePackProvider

eao
net.minecraft.client.resources.ClientPackSource
net.minecraft.class_1066
net.minecraft.client.resource.ClientBuiltinResourcePackProvider
net.minecraft.unmapped.C_tbwfpyke
net.minecraft.client.resources.DownloadingPackFinder
net.minecraft.client.resources.DownloadingPackFinder

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_5298
LOGGER
f_xefvxxmp
field_195751_a
LOGGER
private static final Pattern
b
SHA1
field_5296
ALPHANUMERAL
f_llzfgyuz
field_195752_b
PATTERN_SHA1
private final DefaultResourcePack
c
vanillaPack
field_5293
pack
f_xktfafjm
field_195753_c
vanillaPack
private final File
d
serverPackDir
field_5292
serverPacksRoot
f_taldbotw
field_195754_d
serverPackDir
private final ReentrantLock
e
downloadLock
field_5297
lock
f_cgacdfur
field_195755_e
lockDownload
private final ResourceIndex
f
assetIndex
field_16263
index
f_xqyieanu
field_217819_f
resourceIndex
private CompletableFuture<?>
g
currentDownload
field_5294
downloadTask
f_ixqxyidw
field_195756_f
currentDownload
private ClientResourcePackProfile
h
serverPack
field_5295
serverContainer
f_edxlrvwm
field_195757_g
serverPack

Constructor summary

ModifierConstructor
public (File serverPacksRoot, ResourceIndex index)

Method summary

Modifier and TypeMethod
public <T extends ResourcePackProfile> void
a(Map<String, T> arg0, yt$b<T> arg1)
loadPacks(Map<String, T> arg0, UnopenedPack$UnopenedPackConstructor<T> arg1)
method_14453(Map<String, T> arg0, class_3288$class_3290<T> arg1)
register(Map<String, T> arg0, ResourcePackProfile$Factory<T> arg1)
m_omcvqvop(Map<String, T> arg0, C_cseilypo$C_jqbontax<T> arg1)
func_195730_a(Map<String, T> arg0, ResourcePackInfo$IFactory<T> arg1)
addPackInfosToMap(Map<String, T> arg0, ResourcePackInfo$IFactory<T> arg1)
public DefaultResourcePack
a()
getVanillaPack()
method_4633()
getPack()
m_fcfmrgtp()
func_195746_a()
getVanillaPack()
public static Map<String, String>
b()
getDownloadHeaders()
method_4636()
getDownloadHeaders()
m_jqlytend()
func_195742_b()
getPackDownloadRequestProperties()
public CompletableFuture<?>
a(String arg0, String arg1)
downloadAndSelectResourcePack(String arg0, String arg1)
method_4640(String arg0, String arg1)
download(String arg0, String arg1)
m_xbfhudfd(String arg0, String arg1)
func_217818_a(String arg0, String arg1)
downloadResourcePack(String url, String hash)
private static void
b(File arg0)
deleteQuietly(File arg0)
method_19437(File arg0)
delete(File file)
m_mnmwpxqo(File arg0)
func_217811_b(File arg0)
deleteQuiet(File fileIn)
public void
c()
clearServerPack()
method_4642()
clear()
m_vihzxrtc()
func_195749_c()
clearResourcePack()
private boolean
a(String arg0, File arg1)
checkHash(String arg0, File arg1)
method_4641(String arg0, File arg1)
verifyFile(String expectedSha1, File rfile)
m_gwfoeezz(String arg0, File arg1)
func_195745_a(String arg0, File arg1)
checkHash(String expectedHash, File fileIn)
private void
d()
clearOldDownloads()
method_4643()
deleteOldServerPack()
m_wpurnuxi()
func_195747_e()
clearDownloads()
public CompletableFuture<Void>
a(File arg0)
setServerPack(File arg0)
method_4638(File arg0)
loadServerPack(File packZip)
m_zfuproyk(File arg0)
func_217816_a(File arg0)
setServerPack(File fileIn)