net.minecraft.resource

public class VanillaDataPackProvider

extends VanillaResourcePackProvider

All mapped superinterfaces:

ResourcePackProvider

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

Field summary

Modifier and TypeField
private static final PackResourceMetadata
VERSION_METADATA_SECTION
field_40051
METADATA
private static final PackFeatureSetMetadata
FEATURE_FLAGS_METADATA_SECTION
field_40052
FEATURE_FLAGS
private static final ResourceMetadata
BUILT_IN_METADATA
field_26939
METADATA_MAP
private static final ResourcePackInfo
VANILLA_PACK_INFO
field_49040
INFO
private static final ResourcePackPosition
VANILLA_SELECTION_CONFIG
field_49041
BOTTOM_POSITION
private static final ResourcePackPosition
FEATURE_SELECTION_CONFIG
field_49042
TOP_POSITION
private static final Identifier
PACKS_DIR
field_40053
ID

Constructor summary

ModifierConstructor
public (SymlinkFinder symlinkFinder)

Method summary

Modifier and TypeMethod
private static ResourcePackInfo
createBuiltInPackLocation(String id, Component title)
method_56935(String arg0, class_2561 arg1)
createInfo(String id, Text title)
public static RootResourcePack
createVanillaPackSource()
method_45287()
createDefaultPack()
protected Text
getPackTitle(String id)
method_45259(String arg0)
getDisplayName(String arg0)
protected ResourcePackProfile
createVanillaPack(Pack$ResourcesSupplier resources)
method_45257(class_3288$class_7680 arg0)
createDefault(ResourcePackProfile$PackFactory arg0)
protected ResourcePackProfile
createBuiltinPack(String id, Pack$ResourcesSupplier resources, Component name)
method_45260(String arg0, class_3288$class_7680 arg1, class_2561 arg2)
create(String arg0, ResourcePackProfile$PackFactory arg1, Text arg2)
public static ResourcePackManager
createPackRepository(Path datapackDir, DirectoryValidator validator)
method_45286(Path arg0, class_8580 arg1)
createManager(Path dataPacksPath, SymlinkFinder symlinkFinder)
public static ResourcePackManager
createVanillaTrustedRepository()
method_52443()
createClientManager()
public static ResourcePackManager
createPackRepository(LevelStorageSource$LevelStorageAccess levelSourceAccess)
method_45285(class_32$class_5143 arg0)
createManager(LevelStorage$Session session)
private static boolean
lambda$createVanillaTrustedRepository$0(Path arg0)
method_52442(Path arg0)
method_52442(Path path)