类 ServerPacksSource
java.lang.Object
net.minecraft.server.packs.repository.BuiltInPackSource
net.minecraft.server.packs.repository.ServerPacksSource
- 所有已实现的接口:
RepositorySource
-
字段概要
字段修饰符和类型字段说明private static final BuiltInMetadata
private static final FeatureFlagsMetadataSection
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_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_) 从类继承的方法 net.minecraft.server.packs.repository.BuiltInPackSource
discoverPacksInPath, getVanillaPack, loadPacks, populatePackList
-
字段详细资料
-
VERSION_METADATA_SECTION
-
FEATURE_FLAGS_METADATA_SECTION
-
BUILT_IN_METADATA
-
VANILLA_NAME
-
PACKS_DIR
-
-
构造器详细资料
-
ServerPacksSource
public ServerPacksSource()
-
-
方法详细资料
-
createVanillaPackSource
-
getPackTitle
- 指定者:
getPackTitle
在类中BuiltInPackSource
-
createVanillaPack
- 指定者:
createVanillaPack
在类中BuiltInPackSource
-
createBuiltinPack
@Nullable protected Pack createBuiltinPack(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) - 指定者:
createBuiltinPack
在类中BuiltInPackSource
-
createPackRepository
-
createPackRepository
-