Class ServerPacksSource
java.lang.Object
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.server.packs.repository.ServerPacksSource
- All Implemented Interfaces:
RepositorySource
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final BuiltInMetadata
private static final FeatureFlagsMetadataSection
private static final ResourceLocation
private static final Component
private static final PackMetadataSection
Fields inherited from class net.minecraft.server.packs.repository.BuiltInPackSource
VANILLA_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Pack
createBuiltinPack
(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) static PackRepository
createPackRepository
(Path p_251569_) static PackRepository
protected Pack
createVanillaPack
(PackResources p_250283_) static VanillaPackResources
protected Component
getPackTitle
(String p_249692_) Methods inherited from class net.minecraft.server.packs.repository.BuiltInPackSource
discoverPacksInPath, getVanillaPack, loadPacks, populatePackList
-
Field Details
-
VERSION_METADATA_SECTION
-
FEATURE_FLAGS_METADATA_SECTION
-
BUILT_IN_METADATA
-
VANILLA_NAME
-
PACKS_DIR
-
-
Constructor Details
-
ServerPacksSource
public ServerPacksSource()
-
-
Method Details
-
createVanillaPackSource
-
getPackTitle
- Specified by:
getPackTitle
in classBuiltInPackSource
-
createVanillaPack
- Specified by:
createVanillaPack
in classBuiltInPackSource
-
createBuiltinPack
@Nullable protected Pack createBuiltinPack(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) - Specified by:
createBuiltinPack
in classBuiltInPackSource
-
createPackRepository
-
createPackRepository
-