Class ServerPacksSource
java.lang.Object
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.server.packs.repository.ServerPacksSource
- All Implemented Interfaces:
- RepositorySource
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final BuiltInMetadataprivate static final FeatureFlagsMetadataSectionprivate static final ResourceLocationprivate static final Componentprivate static final PackMetadataSectionFields inherited from class net.minecraft.server.packs.repository.BuiltInPackSourceVANILLA_ID
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected PackcreateBuiltinPack(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) static PackRepositorycreatePackRepository(Path p_251569_, DirectoryValidator p_300268_) static PackRepositoryprotected PackcreateVanillaPack(PackResources p_250283_) static VanillaPackResourcesstatic PackRepositoryprotected ComponentgetPackTitle(String p_249692_) Methods inherited from class net.minecraft.server.packs.repository.BuiltInPackSourcediscoverPacksInPath, fixedResources, getVanillaPack, loadPacks, populatePackList
- 
Field Details- 
VERSION_METADATA_SECTION
- 
FEATURE_FLAGS_METADATA_SECTION
- 
BUILT_IN_METADATA
- 
VANILLA_NAME
- 
PACKS_DIR
 
- 
- 
Constructor Details- 
ServerPacksSource
 
- 
- 
Method Details- 
createVanillaPackSource
- 
getPackTitle- Specified by:
- getPackTitlein class- BuiltInPackSource
 
- 
createVanillaPack- Specified by:
- createVanillaPackin class- BuiltInPackSource
 
- 
createBuiltinPack@Nullable protected Pack createBuiltinPack(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) - Specified by:
- createBuiltinPackin class- BuiltInPackSource
 
- 
createPackRepository
- 
createVanillaTrustedRepository
- 
createPackRepository
 
-