Package net.minecraft.client.resources
Class ClientPackSource
java.lang.Object
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.client.resources.ClientPackSource
- All Implemented Interfaces:
RepositorySource
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final BuiltInMetadata
private static final PackSelectionConfig
private final Path
static final String
private static final ResourceLocation
private static final PackLocationInfo
private static final PackSelectionConfig
private static final PackMetadataSection
Fields inherited from class net.minecraft.server.packs.repository.BuiltInPackSource
CORE_PACK_INFO, VANILLA_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Pack
createBuiltinPack
(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) private static PackLocationInfo
createBuiltInPackLocation
(String p_326492_, Component p_326472_) protected Pack
createVanillaPack
(PackResources p_250048_) static VanillaPackResources
createVanillaPackSource
(Path p_250749_) private Path
findExplodedAssetPacks
(Path p_251339_) protected Component
getPackTitle
(String p_250421_) protected void
populatePackList
(BiConsumer<String, Function<String, Pack>> p_249851_) Methods inherited from class net.minecraft.server.packs.repository.BuiltInPackSource
discoverPacksInPath, fixedResources, fromName, getVanillaPack, loadPacks
-
Field Details
-
VERSION_METADATA_SECTION
-
BUILT_IN_METADATA
-
HIGH_CONTRAST_PACK
- See Also:
-
SPECIAL_PACK_NAMES
-
VANILLA_PACK_INFO
-
VANILLA_SELECTION_CONFIG
-
BUILT_IN_SELECTION_CONFIG
-
PACKS_DIR
-
externalAssetDir
-
-
Constructor Details
-
ClientPackSource
-
-
Method Details
-
createBuiltInPackLocation
-
findExplodedAssetPacks
-
createVanillaPackSource
-
getPackTitle
- Specified by:
getPackTitle
in classBuiltInPackSource
-
createVanillaPack
- Specified by:
createVanillaPack
in classBuiltInPackSource
-
createBuiltinPack
@Nullable protected Pack createBuiltinPack(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) - Specified by:
createBuiltinPack
in classBuiltInPackSource
-
populatePackList
- Overrides:
populatePackList
in classBuiltInPackSource
-