net.minecraft.server.packs.repository

public class FolderRepositorySource

implements RepositorySource

aui
net.minecraft.server.packs.repository.FolderRepositorySource
net.minecraft.class_3279
net.minecraft.unmapped.C_sxnlbpmz
net.minecraft.resource.FileResourcePackProvider
net.minecraft.resource.pack.FilePackProvider

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_40044
f_wywjqkme
LOGGER
LOGGER
private static final PackSelectionConfig
b
DISCOVERED_PACK_SELECTION_CONFIG
field_49034
f_fbunubbz
POSITION
DEFAULT_PACK_POSITION
private final Path
c
folder
field_14218
f_ctlvxjmk
packsDir
packsFolder
private final PackType
d
packType
field_40045
f_rvvxkazi
type
type
private final PackSource
e
packSource
field_25345
f_rzlwntbb
source
source
private final DirectoryValidator
f
validator
field_45054
f_fbuwalab
symlinkFinder
linkValidator

Constructor summary

ModifierConstructor
public (Path packsDir, PackType type, PackSource source, DirectoryValidator symlinkFinder)

Method summary

Modifier and TypeMethod
private static String
a(Path arg0)
nameFromPath(Path arg0)
method_45273(Path arg0)
m_vdlrrjjc(Path arg0)
getFileName(Path path)
getResourcePackNameFromFile(Path packPath)
public void
loadPacks(Consumer<auk> arg0)
loadPacks(Consumer<Pack> arg0)
method_14453(Consumer<class_3288> arg0)
register(Consumer<ResourcePackProfile> arg0)
private PackLocationInfo
b(Path arg0)
createDiscoveredFilePackInfo(Path arg0)
method_56930(Path arg0)
m_flmlibdg(Path arg0)
createPackInfo(Path path)
getResourcePackLocation(Path packPath)
public static void
a(Path arg0, feg arg1, BiConsumer<Path, auk$c> arg2)
discoverPacks(Path arg0, DirectoryValidator arg1, BiConsumer<Path, Pack$ResourcesSupplier> arg2)
method_45271(Path arg0, class_8580 arg1, BiConsumer<Path, class_3288$class_7680> arg2)
m_rdcoaisk(Path arg0, C_jgxjjhjn arg1, BiConsumer<Path, C_lvnjxuwi$C_dwhnbqlk> arg2)
forEachProfile(Path path, SymlinkFinder symlinkFinder, BiConsumer<Path, ResourcePackProfile$PackFactory> callback)
searchResourcePacks(Path packsFolder, SymlinkValidator linkValidator, BiConsumer<Path, PackProfile$PackFactory> packConsumer)