net.minecraft.server.packs.repository

public class FolderRepositorySource

implements RepositorySource

ana
net.minecraft.server.packs.repository.FolderRepositorySource
net.minecraft.class_3279
net.minecraft.resource.FileResourcePackProvider
net.minecraft.src.C_57_
net.minecraft.server.packs.repository.ResourcePackSourceFolder

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_40044
LOGGER
f_244616_
private final Path
b
folder
field_14218
packsDir
f_10382_
private final PackType
c
packType
field_40045
type
f_243749_
private final PackSource
d
packSource
field_25345
source
f_10383_
private final DirectoryValidator
e
validator
field_45054
symlinkFinder
f_290579_

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)
getFileName(Path path)
m_246927_(Path p_248745_)
public void
a(Consumer<anb> arg0)
loadPacks(Consumer<Pack> arg0)
method_14453(Consumer<class_3288> arg0)
register(Consumer<ResourcePackProfile> arg0)
m_7686_(Consumer<C_58_> arg0)
public static void
a(Path arg0, ehd arg1, boolean arg2, BiConsumer<Path, anb$c> arg3)
discoverPacks(Path arg0, DirectoryValidator arg1, boolean arg2, BiConsumer<Path, Pack$ResourcesSupplier> arg3)
method_45271(Path arg0, class_8580 arg1, boolean arg2, BiConsumer<Path, class_3288$class_7680> arg3)
forEachProfile(Path path, SymlinkFinder symlinkFinder, boolean alwaysStable, BiConsumer<Path, ResourcePackProfile$PackFactory> consumer)
m_247293_(Path p_248794_, C_289814_ p_299329_, boolean p_255987_, BiConsumer<Path, C_58_$C_243513_> p_248580_)