类 ClientPackSource
java.lang.Object
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.client.resources.ClientPackSource
- 所有已实现的接口:
RepositorySource
-
字段概要
字段修饰符和类型字段说明private static final BuiltInMetadata
private final Path
static final String
private static final ResourceLocation
private static final Component
private static final PackMetadataSection
从类继承的字段 net.minecraft.server.packs.repository.BuiltInPackSource
VANILLA_ID
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected Pack
createBuiltinPack
(String p_250992_, Pack.ResourcesSupplier pResources, Component pTitle) protected Pack
createVanillaPack
(PackResources pResources) static VanillaPackResources
createVanillaPackSource
(Path p_250749_) private Path
findExplodedAssetPacks
(Path p_251339_) protected Component
getPackTitle
(String pId) protected void
populatePackList
(BiConsumer<String, Function<String, Pack>> p_249851_) 从类继承的方法 net.minecraft.server.packs.repository.BuiltInPackSource
discoverPacksInPath, getVanillaPack, loadPacks
-
字段详细资料
-
VERSION_METADATA_SECTION
-
BUILT_IN_METADATA
-
VANILLA_NAME
-
HIGH_CONTRAST_PACK
- 另请参阅:
-
SPECIAL_PACK_NAMES
-
PACKS_DIR
-
externalAssetDir
-
-
构造器详细资料
-
ClientPackSource
-
-
方法详细资料
-
findExplodedAssetPacks
-
createVanillaPackSource
-
getPackTitle
- 指定者:
getPackTitle
在类中BuiltInPackSource
-
createVanillaPack
- 指定者:
createVanillaPack
在类中BuiltInPackSource
-
createBuiltinPack
@Nullable protected Pack createBuiltinPack(String p_250992_, Pack.ResourcesSupplier pResources, Component pTitle) - 指定者:
createBuiltinPack
在类中BuiltInPackSource
-
populatePackList
- 覆盖:
populatePackList
在类中BuiltInPackSource
-