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
FieldsModifier and TypeFieldDescriptionprivate static final BuiltInMetadataprivate final Pathstatic final Stringprivate static final ResourceLocationprivate static final Componentprivate static final PackMetadataSectionFields inherited from class net.minecraft.server.packs.repository.BuiltInPackSource
VANILLA_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PackcreateBuiltinPack(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) protected PackcreateVanillaPack(PackResources p_250048_) static VanillaPackResourcescreateVanillaPackSource(Path p_250749_) private PathfindExplodedAssetPacks(Path p_251339_) protected ComponentgetPackTitle(String p_250421_) protected voidpopulatePackList(BiConsumer<String, Function<String, Pack>> p_249851_) Methods inherited from class net.minecraft.server.packs.repository.BuiltInPackSource
discoverPacksInPath, fixedResources, getVanillaPack, loadPacks
-
Field Details
-
VERSION_METADATA_SECTION
-
BUILT_IN_METADATA
-
VANILLA_NAME
-
HIGH_CONTRAST_PACK
- See Also:
-
SPECIAL_PACK_NAMES
-
PACKS_DIR
-
externalAssetDir
-
-
Constructor Details
-
ClientPackSource
-
-
Method Details
-
findExplodedAssetPacks
-
createVanillaPackSource
-
getPackTitle
- Specified by:
getPackTitlein classBuiltInPackSource
-
createVanillaPack
- Specified by:
createVanillaPackin classBuiltInPackSource
-
createBuiltinPack
@Nullable protected Pack createBuiltinPack(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) - Specified by:
createBuiltinPackin classBuiltInPackSource
-
populatePackList
- Overrides:
populatePackListin classBuiltInPackSource
-