net.minecraft.client.resources

public class ClientPackSource

extends BuiltInPackSource

All mapped superinterfaces:

RepositorySource

gfe
net.minecraft.client.resources.ClientPackSource
net.minecraft.class_1065
net.minecraft.client.resource.DefaultClientResourcePackProvider
net.minecraft.src.C_4493_

Field summary

Modifier and TypeField
private static final PackMetadataSection
c
VERSION_METADATA_SECTION
field_40556
METADATA
f_244347_
private static final BuiltInMetadata
d
BUILT_IN_METADATA
field_40557
METADATA_MAP
f_244333_
private static final Component
e
VANILLA_NAME
field_40558
VANILLA_NAME_TEXT
f_243857_
public static final String
b
HIGH_CONTRAST_PACK
field_43088
HIGH_CONTRAST_NAME
f_273850_
private static final Map<String, Component>
f
SPECIAL_PACK_NAMES
field_40559
PROFILE_NAME_TEXTS
f_244581_
private static final ResourceLocation
g
PACKS_DIR
field_40560
ID
f_244290_
private final Path
h
externalAssetDir
field_40561
resourcePacksPath
f_244267_

Constructor summary

ModifierConstructor
public (Path assetsPath, DirectoryValidator symlinkFinder)

Method summary

Modifier and TypeMethod
private Path
a(Path arg0)
findExplodedAssetPacks(Path arg0)
method_45856(Path arg0)
getResourcePacksPath(Path path)
m_247002_(Path arg0)
private static VanillaPackResources
b(Path arg0)
createVanillaPackSource(Path arg0)
method_45857(Path arg0)
createDefaultPack(Path assetsPath)
m_246691_(Path p_250749_)
protected Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
getProfileName(String arg0)
m_245328_(String arg0)
protected Pack
a(aow arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
createDefault(ResourcePack arg0)
m_245806_(C_50_ arg0)
protected Pack
a(String arg0, apq$c arg1, vf arg2)
createBuiltinPack(String arg0, Pack$ResourcesSupplier arg1, Component arg2)
method_45260(String arg0, class_3288$class_7680 arg1, class_2561 arg2)
create(String arg0, ResourcePackProfile$PackFactory arg1, Text arg2)
m_246091_(String p_250814_, C_58_$C_243513_ p_249835_, C_4996_ arg2)
protected void
a(BiConsumer<String, Function<String, apq>> arg0)
populatePackList(BiConsumer<String, Function<String, Pack>> arg0)
method_45263(BiConsumer<String, Function<String, class_3288>> arg0)
forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> arg0)
m_245382_(BiConsumer<String, Function<String, C_58_>> arg0)