net.minecraft.client.resources

public class ClientPackSource

implements RepositorySource

fkj
net.minecraft.client.resources.ClientPackSource
net.minecraft.class_1066
net.minecraft.unmapped.C_tbwfpyke
net.minecraft.client.resource.ClientBuiltinResourcePackProvider
net.minecraft.client.resource.ClientBuiltinResourcePackProvider
net.minecraft.src.C_4493_

Field summary

Modifier and TypeField
private static final PackMetadataSection
a
BUILT_IN
field_27772
f_ukrtwoee
DEFAULT_PACK_METADATA
DEFAULT_PACK_METADATA
f_174791_
private static final org.slf4j.Logger
b
LOGGER
field_5298
f_xefvxxmp
LOGGER
LOGGER
f_118543_
private static final Pattern
c
SHA1
field_5296
f_llzfgyuz
SHA1_PATTERN
SHA1_PATTERN
f_118544_
private static final int
d
MAX_PACK_SIZE_BYTES
field_32958
f_zyqxeegb
MAX_FILE_SIZE
f_200482_
private static final int
e
MAX_KEPT_PACKS
field_32959
f_colhmuka
MAX_SAVED_PACKS
MAX_SAVED_PACKS
f_174793_
private static final String
f
VANILLA_ID
field_32960
f_rbgkryxf
VANILLA
VANILLA
f_174794_
private static final String
g
SERVER_ID
field_32961
f_brxpuyca
SERVER
SERVER
f_174795_
private static final String
h
PROGRAMMER_ART_ID
field_32962
f_ipvdpfyk
PROGRAMER_ART_ID
PROGRAMER_ART_ID
f_174796_
private static final String
i
PROGRAMMER_ART_NAME
field_32963
f_ttdvauvh
PROGRAMMER_ART_NAME
PROGRAMMER_ART_NAME
f_174797_
private static final Component
j
APPLYING_PACK_TEXT
field_33633
f_cykplvpz
APPLYING_PACK_TEXT
APPLYING_PACK_TEXT
f_174798_
private final VanillaPackResources
k
vanillaPack
field_5293
f_xktfafjm
pack
pack
f_118545_
private final File
l
serverPackDir
field_5292
f_taldbotw
serverPacksRoot
serverPacksRoot
f_118546_
private final ReentrantLock
m
downloadLock
field_5297
f_cgacdfur
lock
lock
f_118547_
private final AssetIndex
n
assetIndex
field_16263
f_xqyieanu
index
index
f_118548_
private CompletableFuture<?>
o
currentDownload
field_5294
f_ixqxyidw
downloadTask
downloadTask
f_118549_
private Pack
p
serverPack
field_5295
f_edxlrvwm
serverContainer
serverContainer
f_118550_

Constructor summary

ModifierConstructor
public (File serverPacksRoot, AssetIndex index)

Method summary

Modifier and TypeMethod
public void
a(Consumer<ahw> arg0, ahw$a arg1)
loadPacks(Consumer<Pack> arg0, Pack$PackConstructor arg1)
method_14453(Consumer<class_3288> arg0, class_3288$class_5351 arg1)
m_omcvqvop(Consumer<C_lvnjxuwi> arg0, C_lvnjxuwi$C_xtimkgms arg1)
register(Consumer<ResourcePackProfile> arg0, ResourcePackProfile$Factory arg1)
register(Consumer<ResourcePackProfile> arg0, ResourcePackProfile$Factory arg1)
m_7686_(Consumer<C_58_> p_118585_, C_58_$C_59_ arg1)
public VanillaPackResources
a()
getVanillaPack()
method_4633()
m_fcfmrgtp()
getPack()
getPack()
m_118555_()
private static Map<String, String>
c()
getDownloadHeaders()
method_4636()
m_jqlytend()
getDownloadHeaders()
getDownloadHeaders()
m_118589_()
public CompletableFuture<?>
a(URL arg0, String arg1, boolean arg2)
downloadAndSelectResourcePack(URL arg0, String arg1, boolean arg2)
method_4640(URL arg0, String arg1, boolean arg2)
m_xbfhudfd(URL arg0, String arg1, boolean arg2)
download(URL url, String packSha1, boolean closeAfterDownload)
download(URL arg0, String url, boolean closeAfterDownload)
m_235005_(URL p_235007_, String p_235008_, boolean arg2)
private static void
a(File arg0)
deleteQuietly(File arg0)
method_19437(File arg0)
m_mnmwpxqo(File arg0)
delete(File file)
delete(File file)
m_118564_(File p_118565_)
public CompletableFuture<Void>
b()
clearServerPack()
method_4642()
m_vihzxrtc()
clear()
clear()
m_235009_()
private boolean
a(String arg0, File arg1)
checkHash(String arg0, File arg1)
method_4641(String arg0, File arg1)
m_gwfoeezz(String arg0, File arg1)
verifyFile(String expectedSha1, File file)
verifyFile(String expectedSha1, File file)
m_118573_(String p_118575_, File arg1)
private void
d()
clearOldDownloads()
method_4643()
m_wpurnuxi()
deleteOldServerPack()
deleteOldServerPack()
m_118592_()
public CompletableFuture<Void>
a(drq$c arg0)
loadBundledResourcePack(LevelStorageSource$LevelStorageAccess arg0)
method_43339(class_32$class_5143 arg0)
m_lnotusao(C_bpwagnit$C_unecclfw arg0)
loadServerPack(LevelStorage$Session session)
loadServerPack(LevelStorage$Session storageSession)
m_235003_(C_2785_$C_2786_ arg0)
public CompletableFuture<Void>
a(File arg0, ahz arg1)
setServerPack(File arg0, PackSource arg1)
method_4638(File arg0, class_5352 arg1)
m_zfuproyk(File arg0, C_evnnymfu arg1)
loadServerPack(File packZip, ResourcePackSource packSource)
loadServerPack(File packZip, ResourcePackSource packSource)
m_118566_(File p_118568_, C_63_ arg1)
private Pack
a(ahw$a arg0)
createProgrammerArtPack(Pack$PackConstructor arg0)
method_25454(class_3288$class_5351 arg0)
m_kcttthwo(C_lvnjxuwi$C_xtimkgms arg0)
getProgrammerArtResourcePackProfile(ResourcePackProfile$Factory factory)
getProgrammerArtResourcePackProfile(ResourcePackProfile$Factory factory)
m_118556_(C_58_$C_59_ arg0)
private static Pack
a(ahw$a arg0, Supplier<ahl> arg1)
createProgrammerArtPack(Pack$PackConstructor arg0, Supplier<PackResources> arg1)
method_25453(class_3288$class_5351 arg0, Supplier<class_3262> arg1)
m_ktbnxegx(C_lvnjxuwi$C_xtimkgms arg0, Supplier<C_tguinuvn> arg1)
getProgrammerArtResourcePackProfile(ResourcePackProfile$Factory factory, Supplier<ResourcePack> packSupplier)
getProgrammerArtResourcePackProfile(ResourcePackProfile$Factory factory, Supplier<ResourcePack> packSupplier)
m_118558_(C_58_$C_59_ p_118559_, Supplier<C_50_> p_118560_)
private static FolderPackResources
b(File arg0)
createProgrammerArtDirPack(File arg0)
method_25455(File arg0)
m_eiwmzmew(File arg0)
getProgrammerArtResourcePackFromDirectory(File packDirectory)
getProgrammerArtResourcePackFromDirectory(File packDirectory)
m_118587_(File p_118588_)
private static PackResources
c(File arg0)
createProgrammerArtZipPack(File arg0)
method_16048(File arg0)
m_dfhjxgja(File arg0)
getProgrammerArtResourcePackFromZipFile(File zipFile)
getProgrammerArtResourcePackFromZipFile(File zipFile)
m_118590_(File p_118591_)