net.minecraft.client.resource

public class DefaultClientResourcePackProvider

extends VanillaResourcePackProvider

All mapped superinterfaces:

ResourcePackProvider

net.minecraft.client.resources.ClientPackSource
net.minecraft.class_1065
net.minecraft.client.resource.DefaultClientResourcePackProvider

Field summary

Modifier and TypeField
private static final PackResourceMetadata
VERSION_METADATA_SECTION
field_40556
METADATA
private static final ResourceMetadata
BUILT_IN_METADATA
field_40557
METADATA_MAP
public static final String
HIGH_CONTRAST_PACK
field_43088
HIGH_CONTRAST_ID
private static final Map<String, Text>
SPECIAL_PACK_NAMES
field_40559
PROFILE_NAME_TEXTS
private static final ResourcePackInfo
VANILLA_PACK_INFO
field_49131
INFO
private static final ResourcePackPosition
VANILLA_SELECTION_CONFIG
field_49132
REQUIRED_POSITION
private static final ResourcePackPosition
BUILT_IN_SELECTION_CONFIG
field_49133
OPTIONAL_POSITION
private static final Identifier
PACKS_DIR
field_40560
ID
private final Path
externalAssetDir
field_40561
resourcePacksPath

Constructor summary

ModifierConstructor
public (Path assetsPath, SymlinkFinder symlinkFinder)

Method summary

Modifier and TypeMethod
private static ResourcePackInfo
createBuiltInPackLocation(String id, Component title)
method_57056(String arg0, class_2561 arg1)
createInfo(String id, Text title)
private Path
findExplodedAssetPacks(Path externalAssetSource)
method_45856(Path arg0)
getResourcePacksPath(Path path)
private static RootResourcePack
createVanillaPackSource(Path externalAssetRoot)
method_45857(Path arg0)
createDefaultPack(Path assetsPath)
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)
protected void
populatePackList(BiConsumer<String, Function<String, Pack>> discoveredPacks)
method_45263(BiConsumer<String, Function<String, class_3288>> arg0)
forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> arg0)