net.minecraft.client.resources

public class ClientPackSource

extends BuiltInPackSource

All mapped superinterfaces:

RepositorySource

hiq
net.minecraft.client.resources.ClientPackSource
net.minecraft.class_1065
net.minecraft.client.resource.DefaultClientResourcePackProvider

Field summary

Modifier and TypeField
private static final PackMetadataSection
e
VERSION_METADATA_SECTION
field_40556
METADATA
private static final BuiltInMetadata
f
BUILT_IN_METADATA
field_40557
METADATA_MAP
public static final String
d
HIGH_CONTRAST_PACK
field_43088
HIGH_CONTRAST_ID
private static final Map<String, Component>
g
SPECIAL_PACK_NAMES
field_40559
PROFILE_NAME_TEXTS
private static final PackLocationInfo
h
VANILLA_PACK_INFO
field_49131
INFO
private static final PackSelectionConfig
i
VANILLA_SELECTION_CONFIG
field_49132
REQUIRED_POSITION
private static final PackSelectionConfig
j
BUILT_IN_SELECTION_CONFIG
field_49133
OPTIONAL_POSITION
private static final ResourceLocation
k
PACKS_DIR
field_40560
ID
private final Path
l
externalAssetDir
field_40561
resourcePacksPath

Constructor summary

ModifierConstructor
public (Path assetsPath, DirectoryValidator symlinkFinder)

Method summary

Modifier and TypeMethod
private static PackLocationInfo
a(String arg0, ww arg1)
createBuiltInPackLocation(String arg0, Component arg1)
method_57056(String arg0, class_2561 arg1)
createInfo(String id, Text title)
private Path
a(Path arg0)
findExplodedAssetPacks(Path arg0)
method_45856(Path arg0)
getResourcePacksPath(Path path)
private static VanillaPackResources
b(Path arg0)
createVanillaPackSource(Path arg0)
method_45857(Path arg0)
createDefaultPack(Path assetsPath)
protected Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
getDisplayName(String arg0)
protected Pack
a(atn arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
createDefault(ResourcePack arg0)
protected Pack
a(String arg0, aui$c arg1, ww 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)
protected void
a(BiConsumer<String, Function<String, aui>> arg0)
populatePackList(BiConsumer<String, Function<String, Pack>> arg0)
method_45263(BiConsumer<String, Function<String, class_3288>> arg0)
forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> arg0)