net.minecraft.server.packs.repository

public class FolderRepositorySource

implements RepositorySource

akf
net.minecraft.server.packs.repository.FolderRepositorySource
net.minecraft.class_3279
net.minecraft.unmapped.C_sxnlbpmz
net.minecraft.resource.FileResourcePackProvider
net.minecraft.resource.pack.FileResourcePackProvider
net.minecraft.src.C_57_
net.minecraft.server.packs.repository.ResourcePackSourceFolder

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_40044
f_wywjqkme
LOGGER
LOGGER
f_244616_
private final Path
b
folder
field_14218
f_ctlvxjmk
packsDir
packsFolder
f_10382_
private final PackType
c
packType
field_40045
f_rvvxkazi
type
type
f_243749_
private final PackSource
d
packSource
field_25345
f_rzlwntbb
source
source
f_10383_

Constructor summary

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

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)
m_246927_(Path p_248745_)
public void
a(Consumer<akg> arg0)
loadPacks(Consumer<Pack> arg0)
method_14453(Consumer<class_3288> arg0)
m_omcvqvop(Consumer<C_lvnjxuwi> arg0)
register(Consumer<ResourcePackProfile> arg0)
register(Consumer<ResourcePackProfile> arg0)
m_7686_(Consumer<C_58_> arg0)
public static void
a(Path arg0, boolean arg1, BiConsumer<Path, akg$c> arg2)
discoverPacks(Path arg0, boolean arg1, BiConsumer<Path, Pack$ResourcesSupplier> arg2)
method_45271(Path arg0, boolean arg1, BiConsumer<Path, class_3288$class_7680> arg2)
m_rdcoaisk(Path arg0, boolean arg1, BiConsumer<Path, C_lvnjxuwi$C_dwhnbqlk> arg2)
forEachProfile(Path packsDir, boolean alwaysStable, BiConsumer<Path, ResourcePackProfile$PackFactory> consumer)
searchResourcePacks(Path packsFolder, boolean builtin, BiConsumer<Path, ResourcePackProfile$ResourcePackFactory> packConsumer)
m_247293_(Path p_248794_, boolean p_255987_, BiConsumer<Path, C_58_$C_243513_> p_248580_)
public static Pack$ResourcesSupplier
a(Path arg0, boolean arg1)
detectPackResources(Path arg0, boolean arg1)
method_45269(Path arg0, boolean arg1)
m_pilfkmov(Path arg0, boolean arg1)
getFactory(Path path, boolean alwaysStable)
createPackFactory(Path packPath, boolean builtin)
m_254985_(Path p_255665_, boolean p_255971_)