net.minecraft.client.resource.pack

public class ResourcePacks

cad
net.minecraft.class_1657
net.minecraft.client.resource.pack.ResourcePacks
net.minecraft.client.resources.ResourcePackRepository

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
field_11262
LOGGER
LOGGER
private static final FileFilter
d
field_6617
FILE_FILTER
RESOURCE_PACK_FILTER
private static final Pattern
e
field_14991
SHA1
SHA1
private static final Identifier
f
field_15325
UNKNOWN_PACK_ICON_LOCATION
UNKNOWN_PACK_TEXTURE
private final File
g
field_6620
directory
dirResourcepacks
public final ResourcePack
a
field_6618
defaultPack
rprDefaultResourcePack
private final File
h
field_8109
serverPackDirectory
dirServerResourcepacks
public final ResourceMetadataSerializers
b
field_6619
metadataSerializers
rprMetadataSerializer
private ResourcePack
i
field_8110
serverPack
serverResourcePack
private final ReentrantLock
j
field_11263
lock
lock
private com.google.common.util.concurrent.ListenableFuture<Object>
k
field_11264
serverPackFuture
downloadingPacks
private List<ResourcePacks$UnopenedPack>
l
field_6621
availablePacks
repositoryEntriesAll
private final List<ResourcePacks$UnopenedPack>
m
field_6622
selectedPacks
repositoryEntries

Constructor summary

ModifierConstructor
public (File dir, File serverPackDir, ResourcePack defaultPack, ResourceMetadataSerializers metadataSerializers, GameOptions options)

Method summary

Modifier and TypeMethod
public static Map<String, String>
a()
method_13464()
getDownloadHeaders()
getDownloadHeaders()
private void
k()
method_5908()
mkdirs()
fixDirResourcepacks()
private List<File>
l()
method_5909()
discoverAvailablePacks()
getResourcePackFiles()
private ResourcePack
b(File arg0)
method_13889(File arg0)
constructPack(File file)
getResourcePack(File arg0)
public void
b()
method_5902()
reload()
updateRepositoryEntriesAll()
public ResourcePacks$UnopenedPack
c()
method_12499()
getServerPack()
getResourcePackEntry()
public List<ResourcePacks$UnopenedPack>
d()
method_5904()
getAvailablePacks()
getRepositoryEntriesAll()
public List<ResourcePacks$UnopenedPack>
e()
method_5905()
getSelectedPacks()
getRepositoryEntries()
public void
a(List<cad$a> arg0)
method_7038(List<class_1657$class_1659> arg0)
setSelectedPacks(List<ResourcePacks$UnopenedPack> packs)
setRepositories(List<ResourcePackRepository$Entry> repositories)
public File
f()
method_5907()
getDirectory()
getDirResourcepacks()
public com.google.common.util.concurrent.ListenableFuture<Object>
a(String arg0, String arg1)
method_10367(String arg0, String arg1)
downloadServerPack(String url, String hash)
downloadResourcePack(String url, String hash)
private boolean
a(String arg0, File arg1)
method_13466(String arg0, File arg1)
checkHash(String hash, File file)
checkHash(String arg0, File arg1)
private boolean
c(File arg0)
method_13467(File arg0)
loadServerPack(File file)
validatePack(File arg0)
private void
m()
method_10368()
clearOldDownloads()
deleteOldServerResourcesPacks()
public com.google.common.util.concurrent.ListenableFuture<Object>
a(File arg0)
method_10366(File arg0)
applyServerPack(File file)
setServerResourcePack(File resourceFile)
public ResourcePack
g()
method_7039()
getServerResourcePack()
getServerResourcePack()
public void
h()
method_7040()
removeServerPack()
clearResourcePack()