net.minecraft.client.resource

public class ClientResourcePackCreator

implements ResourcePackCreator

duv
net.minecraft.class_1066
net.minecraft.client.resource.ClientResourcePackCreator
net.minecraft.client.resource.pack.repository.ClientPackSource
net.minecraft.client.resources.DownloadingPackFinder
net.minecraft.client.resources.DownloadingPackFinder

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
field_5298
LOGGER
LOGGER
field_195751_a
LOGGER
private static final Pattern
b
field_5296
ALPHANUMERAL
SHA1
field_195752_b
field_195752_b
private final DefaultResourcePack
c
field_5293
pack
defaultPack
field_195753_c
vanillaPack
private final File
d
field_5292
serverPacksRoot
serverPackDirectory
field_195754_d
field_195754_d
private final ReentrantLock
e
field_5297
lock
lock
field_195755_e
field_195755_e
private final ResourceIndex
f
field_16263
index
f_83040479
field_217819_f
field_217819_f
private CompletableFuture<?>
g
field_5294
downloadTask
serverPackFuture
field_195756_f
field_195756_f
private ClientResourcePackContainer
h
field_5295
serverContainer
serverPack
field_195757_g
field_195757_g

Constructor summary

ModifierConstructor
public (File serverPackDir, ResourceIndex assets)

Method summary

Modifier and TypeMethod
public <T extends ResourcePackContainer> void
a(Map<String, T> arg0, wy$b<T> arg1)
method_14453(Map<String, T> arg0, class_3288$class_3290<T> arg1)
registerContainer(Map<String, T> arg0, ResourcePackContainer$Factory<T> arg1)
loadPacks(Map<String, T> arg0, UnopenedPack$Factory<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()
method_4633()
getPack()
getDefaultPack()
func_195746_a()
getVanillaPack()
public static Map<String, String>
b()
method_4636()
getDownloadHeaders()
getDownloadHeaders()
func_195742_b()
func_195742_b()
public CompletableFuture<?>
a(String arg0, String arg1)
method_4640(String arg0, String arg1)
download(String arg0, String arg1)
downloadServerPack(String arg0, String arg1)
func_217818_a(String arg0, String arg1)
func_217818_a(String arg0, String arg1)
private static void
b(File arg0)
method_19437(File arg0)
method_19437(File arg0)
m_11649395(File arg0)
func_217811_b(File arg0)
func_217811_b(File arg0)
public void
c()
method_4642()
clear()
removeServerPack()
func_195749_c()
clearResourcePack()
private boolean
a(String arg0, File arg1)
method_4641(String arg0, File arg1)
verifyFile(String arg0, File arg1)
checkHash(String hash, File file)
func_195745_a(String arg0, File arg1)
func_195745_a(String arg0, File arg1)
private void
d()
method_4643()
deleteOldServerPack()
clearOldDownloads()
func_195747_e()
func_195747_e()
public CompletableFuture<Void>
a(File arg0)
method_4638(File arg0)
loadServerPack(File arg0)
applyServerPack(File arg0)
func_217816_a(File arg0)
func_217816_a(File arg0)