Class FolderRepositorySource
java.lang.Object
net.minecraft.server.packs.repository.FolderRepositorySource
- All Implemented Interfaces:
RepositorySource
-
Field Summary
Modifier and TypeFieldDescriptionprivate final File
private final PackSource
private static final FileFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Supplier<PackResources>
createSupplier
(File p_10389_) void
loadPacks
(Consumer<Pack> p_10391_, Pack.PackConstructor p_10392_)
-
Field Details
-
RESOURCEPACK_FILTER
-
folder
-
packSource
-
-
Constructor Details
-
FolderRepositorySource
-
-
Method Details
-
loadPacks
- Specified by:
loadPacks
in interfaceRepositorySource
-
createSupplier
-