net.minecraft.client.resources

public class ClientPackSource

extends BuiltInPackSource

All mapped superinterfaces:

RepositorySource

gps
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
d
VERSION_METADATA_SECTION
field_40556
METADATA
f_244347_
private static final BuiltInMetadata
e
BUILT_IN_METADATA
field_40557
METADATA_MAP
f_244333_
public static final String
c
HIGH_CONTRAST_PACK
field_43088
HIGH_CONTRAST_ID
f_273850_
private static final Map<String, Component>
f
SPECIAL_PACK_NAMES
field_40559
PROFILE_NAME_TEXTS
f_244581_
private static final PackLocationInfo
g
VANILLA_PACK_INFO
field_49131
INFO
f_315949_
private static final PackSelectionConfig
h
VANILLA_SELECTION_CONFIG
field_49132
REQUIRED_POSITION
f_316211_
private static final PackSelectionConfig
i
BUILT_IN_SELECTION_CONFIG
field_49133
OPTIONAL_POSITION
f_314704_
private static final ResourceLocation
j
PACKS_DIR
field_40560
ID
f_244290_
private final Path
k
externalAssetDir
field_40561
resourcePacksPath
f_244267_

Constructor summary

ModifierConstructor
public (Path assetsPath, DirectoryValidator symlinkFinder)

Method summary

Modifier and TypeMethod
private static PackLocationInfo
a(String arg0, xp arg1)
createBuiltInPackLocation(String arg0, Component arg1)
method_57056(String arg0, class_2561 arg1)
createInfo(String id, Text title)
m_322194_(String p_331520_, C_4996_ p_335955_)
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)
getDisplayName(String arg0)
m_245328_(String arg0)
protected Pack
a(atb arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
createDefault(ResourcePack arg0)
m_245806_(C_50_ arg0)
protected Pack
a(String arg0, atx$c arg1, xp 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, atx>> 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)