net.minecraft.server.packs.repository

public class ServerPacksSource

extends BuiltInPackSource

All mapped superinterfaces:

RepositorySource

avj
net.minecraft.server.packs.repository.ServerPacksSource
net.minecraft.class_3286
net.minecraft.resource.VanillaDataPackProvider
net.minecraft.server.packs.repository.ResourcePackSourceVanilla

Field summary

Modifier and TypeField
private static final PackMetadataSection
c
VERSION_METADATA_SECTION
field_40051
METADATA
private static final FeatureFlagsMetadataSection
d
FEATURE_FLAGS_METADATA_SECTION
field_40052
FEATURE_FLAGS
private static final BuiltInMetadata
e
BUILT_IN_METADATA
field_26939
METADATA_MAP
private static final PackLocationInfo
f
VANILLA_PACK_INFO
field_49040
INFO
private static final PackSelectionConfig
g
VANILLA_SELECTION_CONFIG
field_49041
BOTTOM_POSITION
private static final PackSelectionConfig
h
FEATURE_SELECTION_CONFIG
field_49042
TOP_POSITION
private static final ResourceLocation
i
PACKS_DIR
field_40053
ID

Constructor summary

ModifierConstructor
public (DirectoryValidator symlinkFinder)

Method summary

Modifier and TypeMethod
private static PackLocationInfo
a(String arg0, xv arg1)
createBuiltInPackLocation(String arg0, Component arg1)
method_56935(String arg0, class_2561 arg1)
createInfo(String id, Text title)
public static VanillaPackResources
b()
createVanillaPackSource()
method_45287()
createDefaultPack()
protected Component
a(String arg0)
getPackTitle(String arg0)
method_45259(String arg0)
getDisplayName(String arg0)
protected Pack
a(aug arg0)
createVanillaPack(PackResources arg0)
method_45257(class_3262 arg0)
createDefault(ResourcePack arg0)
protected Pack
a(String arg0, avd$c arg1, xv arg2)
createBuiltinPack(String arg0, Pack$ResourcesSupplier arg1, Component arg2)
method_45260(String arg0, class_3288$class_7680 arg1, class_2561 arg2)
create(String arg0, ResourcePackProfile$PackFactory arg1, Text arg2)
public static PackRepository
a(Path arg0, fbo arg1)
createPackRepository(Path arg0, DirectoryValidator arg1)
method_45286(Path arg0, class_8580 arg1)
createManager(Path dataPacksPath, SymlinkFinder symlinkFinder)
public static PackRepository
c()
createVanillaTrustedRepository()
method_52443()
createClientManager()
public static PackRepository
a(ewd$c arg0)
createPackRepository(LevelStorageSource$LevelStorageAccess arg0)
method_45285(class_32$class_5143 arg0)
createManager(LevelStorage$Session session)