Class FolderRepositorySource
java.lang.Object
net.minecraft.server.packs.repository.FolderRepositorySource
- All Implemented Interfaces:
 RepositorySource
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Pathprivate static final org.slf4j.Loggerprivate final PackSourceprivate final PackType - 
Constructor Summary
ConstructorsConstructorDescriptionFolderRepositorySource(Path p_251796_, PackType p_251664_, PackSource p_250854_)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic Pack.ResourcesSupplierdetectPackResources(Path p_255665_, boolean p_255971_) static voiddiscoverPacks(Path p_248794_, boolean p_255987_, BiConsumer<Path, Pack.ResourcesSupplier> p_248580_) voidprivate static StringnameFromPath(Path p_248745_)  
- 
Field Details
- 
LOGGER
private static final org.slf4j.Logger LOGGER - 
folder
 - 
packType
 - 
packSource
 
 - 
 - 
Constructor Details
- 
FolderRepositorySource
 
 - 
 - 
Method Details
- 
nameFromPath
 - 
loadPacks
- Specified by:
 loadPacksin interfaceRepositorySource
 - 
discoverPacks
public static void discoverPacks(Path p_248794_, boolean p_255987_, BiConsumer<Path, Pack.ResourcesSupplier> p_248580_) throws IOException- Throws:
 IOException
 - 
detectPackResources
@Nullable public static Pack.ResourcesSupplier detectPackResources(Path p_255665_, boolean p_255971_)  
 -